danc81
Posts: 18
Joined: Tue Oct 09, 2007 8:46 am

Silent uninstall in XP SP1

I have an update application which silently uninstalls the current version of our software and then silently installs the new version. I am using the command line:

msiexec.exe /x <our product code> /quiet

And to re-install:

<our bootstrapper.exe> /quiet /UPGRADING="YES"

These operations fail when running on XP SP1 (msiexec 2600 I believe), I am trying to find out which switches are causing the problem and if there are alternatives we can use for the older MSIEXEC

Thanks
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Re: Silent uninstall in XP SP1

Hi,

Note that the "/quiet" command-line option (among others) is available starting with Windows Installer 3.0. Windows XP SP1 comes with Windows Installer version 2.0 (you can check the version of "msi.dll" from the "system32" folder).

You should use the "/qn" command-line option instead to ensure compatibility will all versions of Windows Installer. See this page for more details.

Hope this helps.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”