I add UI let user choose default SSH client like:
<RadioButtonGroup Property="SSHRadio">
<RadioButton Text="{\DlgFont8}TortoisePLink, coming from
Putty, which is better integrate with windows" Value="Plink" X="5"
Y="0" Width="300" Height="30" />
<RadioButton Text="{\DlgFont8}OpenSSH, Git default SSH Client"
Value="OpenSSH" X="5" Y="60" Width="300" Height="30" />
</RadioButtonGroup>
I define protery "SSHRadio"
<Property Id="SSHRadio">Plink</Property>
Component Id="C__SSHCLIENT_PLINK" Guid="$(var.RegSSHPLINK)"
Win64="$(var.Win64YesNo)">
<Condition>SSHRadio = "Plink"</Condition>
<Registry Root="HKCU" Key="Software\[Manufacturer]"
Name="SSH1"
Value="[INSTALLDIR]bin\TortoisePLink.exe" Type="string" />
</Component>
<Component Id="C__SSHCLIENT_OPENSSH" Guid="$(var.RegSSHOpen)"
Win64="$(var.Win64YesNo)">
<Condition>SSHRadio = "OpenSSH"</Condition>
<Registry Root="HKCU" Key="Software\[Manufacturer]"
Name="SSH"
Value="ssh.exe" Type="string" />
</Component>
wix always install C__SSHCLIENT_PLINK. Seem SSHRadio always is Plink
althongh I choose OpenSSH at radio group.
I use msiexec /i MyApplication.msi /l*v MyLogFile.txt to create log.
I see SSHRadio changed to OpenSSH
Who can help this?
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users