Skip to content

Commit

Permalink
EasyRSA: add EasyRSA (Non-Admin) shortcut
Browse files Browse the repository at this point in the history
Fixes #560

Signed-off-by: Lev Stipakov <[email protected]>
  • Loading branch information
lstipakov committed Feb 2, 2024
1 parent c107ffd commit 8c71d86
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions windows-msi/msi.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,16 @@
<RemoveFolder Id="shortcut.easyrsa.easyrsa_start.bat" On="uninstall"/>
<RegistryValue Root="HKCU" Key="Software\$(var.PRODUCT_NAME)\Shortcuts" Name="easyrsa.easyrsa_start.bat" Type="integer" Value="1"/>
</Component>
<Component Id="shortcut.easyrsa.easyrsa_start.bat.na" Guid="{4DC29C05-2541-4E70-A05D-CF9D940A4428}">
<Shortcut
Id="shortcut.easyrsa.easyrsa_start.bat.na"
Name="Start EasyRSA shell (Non-Admin)"
Target="[EASYRSADIR]EasyRSA-Start.bat"
Arguments="/na"
WorkingDirectory="EASYRSADIR"/>
<RemoveFolder Id="shortcut.easyrsa.easyrsa_start.bat.na" On="uninstall"/>
<RegistryValue Root="HKCU" Key="Software\$(var.PRODUCT_NAME)\Shortcuts" Name="easyrsa.easyrsa_start.bat.na" Type="integer" Value="1"/>
</Component>
</Directory>
</Directory>

Expand Down Expand Up @@ -1816,6 +1826,7 @@
<ComponentRef Id="easyrsa.x509types.serverclient"/>

<ComponentRef Id="shortcut.easyrsa.easyrsa_start.bat"/>
<ComponentRef Id="shortcut.easyrsa.easyrsa_start.bat.na"/>
</Feature>
</Feature>

Expand Down

0 comments on commit 8c71d86

Please sign in to comment.