diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-12-27 19:50:34 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-12-27 19:51:50 +0100 |
commit | 7fcd4bce715ea3618b6971a454e88eaad1a72298 (patch) | |
tree | f0f7335c6f1af9316ed04f0dbea65d5d2d067d17 /src/Release/Setup Files | |
parent | 68131ac91b4a5cab1cd080af823f4ba33fbbdbdd (diff) | |
download | VeraCrypt-7fcd4bce715ea3618b6971a454e88eaad1a72298.tar.gz VeraCrypt-7fcd4bce715ea3618b6971a454e88eaad1a72298.zip |
Windows (MSI install only): Fix double-clicking .hc file inserting %1 instead of volume name in UI path field when
Diffstat (limited to 'src/Release/Setup Files')
-rw-r--r-- | src/Release/Setup Files/Product64.wxs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Release/Setup Files/Product64.wxs b/src/Release/Setup Files/Product64.wxs index 15c846aa..2958bdea 100644 --- a/src/Release/Setup Files/Product64.wxs +++ b/src/Release/Setup Files/Product64.wxs @@ -1083,82 +1083,82 @@ Name="VCWebsiteStartMenuShortcutInstalled" Type="integer" Value="1" KeyPath="yes"/> </Component> </DirectoryRef> <!-- Registry Keys --> <!-- When Name is not provided the default value for the registry key will be set instead. --> <!-- We use " for when a " is needed in a Value --> <DirectoryRef Id="TARGETDIR"> <!-- Win64="no" means the RegKey / RegValue will be created in the 32-bit node of HKLM (HKLM32) --> <!-- By default, on 64-bit, Win64 is set to "yes" ; On 32-bit, there are no 64-bit regkeys / regvalues --> <Component Id="VeraCryptVolume_Main_64" Guid="{C0C6A818-7D7B-483C-98B5-D2BDFF35A84D}" Win64="yes"> <!-- Create only if user checks "Associate .hc to VC" --> <Condition>REGISTERVCFILEEXT</Condition> <!-- MSI already removes all values and subkeys that it creates : no need to set Action="createAndRemoveOnUninstall" --> <RegistryKey Root="HKLM" Key="SOFTWARE\Classes\VeraCryptVolume" > <RegistryValue Type="string" Value="VeraCrypt Volume" KeyPath="yes" /> <RegistryValue Type="string" Name="AppUserModelID" Value="IDRIX.VeraCrypt" KeyPath="no" /> </RegistryKey> </Component> <Component Id="VeraCryptVolume_DefaultIcon_64" Guid="{4A30C85F-935B-4EE6-98BC-5FAE89621C54}" Win64="yes"> <!-- Create only if user checks "Associate .hc to VC" --> <Condition>REGISTERVCFILEEXT</Condition> <!-- MSI already removes all values and subkeys that it creates : no need to set Action="createAndRemoveOnUninstall" --> <RegistryKey Root="HKLM" Key="SOFTWARE\Classes\VeraCryptVolume\DefaultIcon" > - <RegistryValue Type="string" Value="[APPLICATIONROOTFOLDER]\VeraCrypt.exe,1" KeyPath="yes" /> + <RegistryValue Type="string" Value="[APPLICATIONROOTFOLDER]VeraCrypt.exe,1" KeyPath="yes" /> </RegistryKey> </Component> <Component Id="VeraCryptVolume_Open_64" Guid="{99300DB4-5A81-44C1-B358-3CA356169BAB}" Win64="yes"> <!-- Create only if user checks "Associate .hc to VC" --> <Condition>REGISTERVCFILEEXT</Condition> <!-- MSI already removes all values and subkeys that it creates : no need to set Action="createAndRemoveOnUninstall" --> <RegistryKey Root="HKLM" Key="SOFTWARE\Classes\VeraCryptVolume\Shell\open\command" > - <RegistryValue Type="string" Value=""[APPLICATIONROOTFOLDER]\VeraCrypt.exe" /v "%%1"" KeyPath="yes" /> + <RegistryValue Type="string" Value=""[APPLICATIONROOTFOLDER]VeraCrypt.exe" /v "%1"" KeyPath="yes" /> </RegistryKey> </Component> <Component Id="VeraCryptVolume_Extension_64" Guid="{89EC023F-4BB3-446E-A2A6-FD7BFC5B4962}" Win64="yes"> <!-- Create only if user checks "Associate .hc to VC" --> <Condition>REGISTERVCFILEEXT</Condition> <!-- MSI already removes all values and subkeys that it creates : no need to set Action="createAndRemoveOnUninstall" --> <RegistryKey Root="HKLM" Key="SOFTWARE\Classes\.hc" > <RegistryValue Type="string" Value="VeraCryptVolume" KeyPath="yes" /> </RegistryKey> </Component> <Component Id="VeraCrypt_ProductGUID" Guid="{C8F09E5D-47CE-4FCE-BF4D-853C56AA20C6}" Win64="yes"> <!-- MSI already removes all values and subkeys that it creates : no need to set Action="createAndRemoveOnUninstall" --> <RegistryKey Root="HKLM" Key="SOFTWARE\VeraCrypt_MSI" > <RegistryValue Type="string" Name="ProductGuid" Value="$(var.ProductGuid)" KeyPath="yes" /> </RegistryKey> </Component> </DirectoryRef> <!-- Smallest installable units ; Regroups Components to be installed in the same unit into one Feature --> <!-- Tell Windows Installer to install --> <Feature Id="Install_System" Absent="disallow" Level="1"> <!-- C:\Windows\System32\Drivers --> <ComponentRef Id="veracryptDriverSys" /> </Feature> |