With the launch checkbox
MODIFY
WalletWasabi.WindowsInstaller/Components.wxs
WalletWasabi.WindowsInstaller/Components.wxs
<RemoveFolder Id="RemoveDesktop" Directory="DesktopFolder" On="uninstall" />
</Component>
</DirectoryRef>
-
- <CustomAction Id="EXECUTE_AFTER_FINALIZE"
- Execute="immediate"
- Impersonate="no"
- Return="asyncNoWait"
- Directory="INSTALLFOLDER"
- ExeCommand="[INSTALLFOLDER]wassabee.exe" />
-
- <InstallExecuteSequence>
- <Custom Action="EXECUTE_AFTER_FINALIZE" After="InstallFinalize">NOT Installed</Custom>
- </InstallExecuteSequence>
</Fragment>
</Wix>

MODIFY
WalletWasabi.WindowsInstaller/Product.wxs
WalletWasabi.WindowsInstaller/Product.wxs
Event="NewDialog"
Value="WelcomeDlg"
Order="99">1</Publish>
+ <Publish Dialog="ExitDialog"
+ Control="Finish"
+ Event="DoAction"
+ Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>
</UI>
- <!-- Define components, shortcuts, files, etc... for instealler. -->
+ <Property Id="WIXUI_EXITDIALOGOPTIONALTEXT" Value="Thank you for helping the world staying private." />
+ <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch Wasabi Wallet" />
+ <Property Id="WixShellExecTarget" Value="[INSTALLFOLDER]wassabee.exe" />
+
+ <CustomAction Id="LaunchApplication"
+ BinaryKey="WixCA"
+ DllEntry="WixShellExec"
+ Impersonate="yes" />
+
+ <!-- Define components, shortcuts, files, etc... for installer. -->
<Feature Id="ProductFeature" Title="Wasabi" Level="1">
<ComponentGroupRef Id="ProductComponents" />
<ComponentGroupRef Id="PublishedComponents" />

With the launch checkbox