Save the install location to Windows Registry

See issue #2328.
This commit is contained in:
Karim ElDeeb
2020-07-12 11:57:17 +02:00
parent 651c19990d
commit ebd8977210

View File

@@ -49,6 +49,11 @@
<Merge Id="VCRedist" SourceFile="$(var.VCRedistPath)\$(var.VCRedistFile)" DiskId="1" Language="0" />
<Directory Id="$(var.ProgramFilesFolder)">
<Directory Id="INSTALLDIR" Name="$(var.Name)">
<!-- Save the install location to the Registry -->
<Component Id="RegistryInstallLocation">
<RegistryValue Root="HKLM" Key="Software\$(var.Name)" Name="InstallLocation" Value="[INSTALLDIR]" Type="string" />
</Component>
<Directory Id="styles" Name="styles">
<Component><File Source="$(var.QtPath)\plugins\styles\qwindowsvistastyle.dll" /></Component>
</Directory>
@@ -148,6 +153,9 @@
</Feature>
</Feature>
<!-- Registry -->
<ComponentRef Id="RegistryInstallLocation" />
<!-- Shortcuts -->
<ComponentRef Id="SQLiteDesktopShortcut" />
<ComponentRef Id="SQLiteProgramMenuShortcut" />