uninstall from command line

Got a problem you cannot solve? Try here.
dec
Posts: 5
Joined: Fri Aug 24, 2012 4:33 pm

uninstall from command line

Postby dec » Tue Sep 17, 2013 1:36 pm

My customer is having a lot of difficulty uninstalling one of our programs. We'd like to turn on logging to see what's happening, but we can't get the program to uninstall from the command line. From a command shell, I run:

msiexec /x c:\ProgramData\...\myproduct

Windows eventually pops up a dialog that says, "This action is only valid for products that are currently installed". Using the product GUID rather than the install project name gives the same result.

How can we uninstall the program from the command line?

Thanks!

-Dean

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: uninstall from command line

Postby FrancescoT » Wed Sep 18, 2013 6:18 pm

Dear Dean,

if you installed your package from a Compressed EXE build, the simplest way it is to run the installer itself once again from CMD line (...it goes in maintenance mode automatically if the same package is found installed).

To log the process use; <setup.exe> /l=<path to logfile>

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

dec
Posts: 5
Joined: Fri Aug 24, 2012 4:33 pm

Re: uninstall from command line

Postby dec » Thu Sep 19, 2013 1:31 pm

Thanks! I get a browse dialog that says locate the original setup sources to continue, but just canceling the dialog seems to complete anyway. Is the dialog something to be concerned about?

-Dean

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: uninstall from command line

Postby FrancescoT » Fri Sep 20, 2013 10:27 am

Dear Dean,

When setup sources are not cached, no disk space is wasted on the target system for a copy of the installation files. However, running setup in maintenance mode (other than uninstalling the application) will require access to original setup sources, as will patching setup.

Please have a look to "Always Cache Setup Sources (enables easy patching)" settings in IA documentation.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 138 guests