Windows (MSI install only): Fix double-clicking .hc file inserting %1 instead of volume name in UI path field when

This commit is contained in:
Mounir IDRASSI 2021-12-27 19:50:34 +01:00
parent 68131ac91b
commit 7fcd4bce71
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F

View File

@ -1115,7 +1115,7 @@
<!-- MSI already removes all values and subkeys that it creates : no need to set Action="createAndRemoveOnUninstall" --> <!-- MSI already removes all values and subkeys that it creates : no need to set Action="createAndRemoveOnUninstall" -->
<RegistryKey Root="HKLM" Key="SOFTWARE\Classes\VeraCryptVolume\DefaultIcon" > <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> </RegistryKey>
</Component> </Component>
@ -1126,7 +1126,7 @@
<!-- MSI already removes all values and subkeys that it creates : no need to set Action="createAndRemoveOnUninstall" --> <!-- 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" > <RegistryKey Root="HKLM" Key="SOFTWARE\Classes\VeraCryptVolume\Shell\open\command" >
<RegistryValue Type="string" Value="&quot;[APPLICATIONROOTFOLDER]\VeraCrypt.exe&quot; /v &quot;%%1&quot;" KeyPath="yes" /> <RegistryValue Type="string" Value="&quot;[APPLICATIONROOTFOLDER]VeraCrypt.exe&quot; /v &quot;%1&quot;" KeyPath="yes" />
</RegistryKey> </RegistryKey>
</Component> </Component>