I am creating my PC desktop application installer using Wix. first I am creating MSI package and then using Wix bootstrapper to create exe file. Everything is working fine except Uninstall option in the start menu shortcut. There is an option is coming to uninstall the product , but it is not completely uninstall my product from control panel. Even when i uninstall using uninstall shortcut, the product is still available in the control panel. I think the problem is with bootstrapper project.
For the setting the uninstaller, I have done the below settings in the MSI bundle creation project.
<DirectoryRef Id="ApplicationProgramsFolder">
<Component Id="ApplicationShortcut" Guid="539ec72a-d8fa-455a-9e2c-4586c05b3dfb">
<Shortcut Id="ApplicationStartMenuShortcut"
Name="WBidMax5"
Description="Wbid Client App"
Target="[#WBid.WBidClient.Main.exe]"
WorkingDirectory="APPLICATIONROOTDIRECTORY"/>
<Shortcut Id="Shortcut1" Name="Uninstall Wbid" Description="Uninstall WBid" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]" WorkingDirectory="APPLICATIONROOTDIRECTORY" />
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
<RegistryValue Root="HKCU" Key="Software\WBidMax5" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
</Component>
</DirectoryRef>
Doing so creating the uninstall short cut in start menu. But how can I completely remove the application from control panel also using Wix bootstrapper project? I know some old topics are there , but there were no correct answer.