Wix installer issue for uninstalling windows prodict
?Hi,We have old applictaion in windows and new applictaion in WPF. Requirement is to uninstall the windows product and install the WPF one.
I am using custom action to call the batch file which calls the uninstall command.
wmic product where name="ClientDiagnostics" call uninstall /nointeractive
exit /B
<CustomAction Id="UninstallOldExe"
ExeCommand="[INSTALLFOLDER]Resources\Uninstaller.bat"
Directory="INSTALLFOLDER"
Execute='deferred'
Impersonate='no'
Return="asyncNoWait"/>
<Custom Action="UninstallOldExe" After="InstallFiles"><![CDATA[$FilesComponent>2]]></Custom>?
Everything is working fine but the Desktop shortcut and application menu is not getting removed.
If i just run the command every works as expected. Only through wix setup i have an issue.
Can you please help.
Thanks,