I've created WPF of setup file and got a checkbox to user decide show "desktop shortcut". But i got a problem to sending it to MSI File.
This is creating desktop shortcut. But I wanna add a condition in here. If WPF checkbox is checked "i wanna add it to desktop" if not nothing happens.
<Component Id="DesktopShortcutComponent" Guid="*">
<RegistryValue Id="RegShortcutDesktop" Root="HKCU" Key="SOFTWARE\MyProject\1.0\settings" Name="DesktopSC" Value="1" Type="integer" KeyPath="yes" />
<Shortcut Id="desktopSc" Target="[MYINSTALLFOLDER]\MyApplication.exe" Directory="DesktopFolder" Name="MyApplication" Icon="MyProductIcon" IconIndex="0" WorkingDirectory="MYINSTALLFOLDER" Advertise="no" />
<RemoveFolder Id="RemoveShortcutFolder" On="uninstall" />
</Component>
How to passing values between custom created wpf to msi file?
Do i have to use "string values of bootstrapper"?
BootstrapperApplication.Engine.Plan["checkBoxValues"]