I have been searching for a solution and I have seen similar topic but the answer was not relevant in my case. Can I force MSI to log to a certain file during uninstall so when a user choose to uninstall from the control panel MSI uses the specified log file?
I modified UninstallString under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{MyAppGuid} but it did not work. Even after I delete UninstallString value MSI appears to know how to remove my app.
As I type in cmd msiexec /lv path_to_log /x {MyAppGuid} it works just as I want.
Regards
Emmett
FOLLOW US
Get the latest news in Application Packaging