Hi,
I'm trying to uninstall an existing application using uninstallapplication function but its not working may be cause im not passing correct parameters, here is some of my trials:
szInstalledVersionGuid = "{41C6757F-36D9-4E1D-9D2E-A64BB27BF141}";
szParams = "/x /qn /s";
2- UninstallApplication("{41C6757F-36D9-4E1D-9D2E-A64BB27BF141}","/passive;/uninstall",LAAW_OPTION_WAIT);
3- added the option |LAAW_OPTION_HIDDEN
could anyone who have used it please let me know how to use it.
Thanks in advance
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Uninstallapplication function
Started by
haggag87
, Sep 19 2011 13:48
1 reply to this topic
Posted 20 September 2011 - 10:34
Do I understand correctly that in your Basic MSI project you have a InstallScript custom action where you call UninstallApplication in order to remove another setup which was a pure InstallScript setup?
I don't think that "/x /qn /s" are valid for InstallScript setups, and they shouldn't be necessary if the uninstall registry key already includes parameters to uninstall. Could you please post the contents of HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{41C6757F-36D9-4E1D-9D2E-A64BB27BF141}
And how is it not working? Do you get an error message?
P.S. I have closed your other duplicated questions to avoid confusion.
I don't think that "/x /qn /s" are valid for InstallScript setups, and they shouldn't be necessary if the uninstall registry key already includes parameters to uninstall. Could you please post the contents of HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{41C6757F-36D9-4E1D-9D2E-A64BB27BF141}
And how is it not working? Do you get an error message?
P.S. I have closed your other duplicated questions to avoid confusion.
Stefan Krüger
InstallSite.org twitter facebook