I'm trying to add an optional "Create Desktop Shortcut" checkmark box to the user interface of my bundle.wxs file. This file is part of my Wix v4 bundle project in Visual Studio 2022. How can I get this checkmark box added? This is my XML so far:
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
<Bundle Name="My Application" Manufacturer="Company Name" Version="1.0.0.0" UpgradeCode="[INSERT-GUID-HERE]" IconSourceFile="logo_installed.ico">
<BootstrapperApplication>
<bal:WixStandardBootstrapperApplication
Theme="rtfLargeLicense"
LogoFile="logo_installer.ico"
LicenseFile="LicenseAgreement_en.rtf"
LaunchTarget="C:\Program Files\My Application\myapplication.exe"/>
</BootstrapperApplication>
<Chain>
<PackageGroupRef Id="NetFx64" />
<MsiPackage SourceFile="myapplication.msi" DisplayName="My Application"/>
</Chain>
</Bundle>
<Fragment>
<PackageGroup Id="NetFx64">
<ExePackage
Id="NetFx64"
DisplayName="Microsoft .NET Desktop Runtime 6.0.16 (64-bit)"
Compressed="yes"
PerMachine="yes"
Permanent="yes"
Vital="yes"
SourceFile="windowsdesktop-runtime-6.0.16-win-x64.exe"
InstallArguments="/q /norestart"
DetectCondition="Netfx64FullVersion >= v6.0.16.0">
<ExitCode Behavior="success" />
</ExePackage>
</PackageGroup>
</Fragment>
</Wix>
I have searched for child elements in WixStandardBootstrapperApplication in hopes of finding an element like I did for LaunchTarget, but none of the elements point to what I am looking for. I have also checked this website for related documentation, but have not found any:
https://wixtoolset.org/docs/intro/
Thank you!