How to uninstall from the bootstripper (command line) - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

imaginedvl
Posts: 7
Joined: Tue Jun 03, 2008 2:48 pm

How to uninstall from the bootstripper (command line)

Hi,

We are trying all the different option of the Bootstripper.

MySetup.exe /uninstall /quiet (even without the quiet) does not seems to work. We got an error message while trying to execute it.
Maybe we are doing the wrong thing. How can we uninstall using the bootstripper (command line) ?

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to uninstall from the bootstripper (command line)

Hi,

Please note that a MSI package can be uninstalled only in two ways:
1) by using the MSIEXEC command line
2) by using the "Add or Remove Programs" applet in Control Panel

The MSIEXEC command line which uninstalls a package looks like this:

Code: Select all

msiexec /x {6564A366-9843-4ADD-B1BA-CE4A29F08898}
where you replace "{6564A366-9843-4ADD-B1BA-CE4A29F08898}" with the Product Code of the installation package. Since this command line is supported only by MSIEXEC, it cannot be used by the EXE bootstrapper.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davidsmith
Posts: 59
Joined: Sun Jul 12, 2009 8:33 pm

Re: How to uninstall from the bootstripper (command line)

My QA department wants to automate uninstalling my product using the command line. They want to do it with both our .msi file and our bootstrapper .exe file because we give our customers both installers to use directly.

For the bootstrapper .exe file, we can't get the uninstall to work. I thought it would pass the parameters to the msiexec, but that does not appear to be working. I am trying

mysetup.exe /x
or
mysetup.exe /uninstall
or
mysetup.exe /uninstall /qn

All of the above do not work.

Based on this discussion thread, will this simply not work?

Meaning, the only way my QA department can use automation to uninstall my product is for them to directly call

msiexec /qn /x "mypackage.msi"
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: How to uninstall from the bootstripper (command line)

Hi,

If the EXE package will be executed again after it has ben installed, it will automatically start the Maintenance phase. This will allow you to perform an uninstall. However, we added on our TODO list an improvement which will allow the bootstrapper to receive an uninstall command line. Currently this is not supported.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
svitta
Posts: 4
Joined: Mon Dec 10, 2012 8:39 am

Re: How to uninstall from the bootstripper (command line)

Hi,

Is there any update on this feature, I.e. uninstalling the product using the bootstripper (command line)?

I am using 9.7 Version of AI (Enterprise). It seems this feature is not yet implemented.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How to uninstall from the bootstripper (command line)

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Yes, this feature has been implemented. In order to achieve what you want you can take a look on our "EXE setup file" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”