sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Documented Command Line Uninstall Fails With AI Bootstrapper

We tried using the format:

C:\Setup.exe /x // /l*v uninstall.log

and get an invalid file format, directory error from Advanced Installer (see included jpg):
Command_Line_Uninstall.jpg
Command_Line_Uninstall.jpg (59.93 KiB) Viewed 8689 times
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Documented Command Line Uninstall Fails With AI Bootstra

Hello,

Unfortunately, this behavior is caused by a recent bug in Advanced Installer. It reproduces when the "Enhanced User Interface" feature is enabled. We are aware of it and it will be fixed very soon. Until then, as a workaround you can disable the Enhanced UI feature.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Documented Command Line Uninstall Fails With AI Bootstra

Daniel,

Do any command line parameters work in relation to this bug? Is there a way to extract the MSI via command line and then run the /x using MSIEXEC?
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Documented Command Line Uninstall Fails With AI Bootstra

Hello,

Yes, you can use the /extract command line parameter to extract the MSI file from EXE and, then run the related MSI file with uninstall command line parameters.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Documented Command Line Uninstall Fails With AI Bootstra

Daniel,

Reporting back.

Okay this work, treat it as a 2 phased approach for now:

I ran these from the folder where my original EXE is in a Command Prompt on Windows XP:

XMUnitedDesktop.exe /extract
msiexec /uninstall C:\XMUnitedDesktopV3.0.0.4074\XMUnitedDesktop.msi /l*v uninstall.log

NOTE: “/l*v uninstall.log” assumes you even want a log file.

Thanks,
Scott

P.S. Let us know when the real fix is in.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Documented Command Line Uninstall Fails With AI Bootstra

Probably need a /q after the msi name otherwise one dialog pops up..
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Michel de Wit
Posts: 3
Joined: Wed Jan 23, 2013 5:23 pm

Re: Documented Command Line Uninstall Fails With AI Bootstra

Hi Daniel,

We are experiencing the same problem. However, if I add a command line option before /x, the uninstall does work.
In our case we added /exebasicui, which we would need anyway : "AppInstaller.exe /exebasicui /x // /qb", (where Appinstaller.exe would be the name of the installer exe).

The application gets uninstalled now. However, if we reinstall the application again, using the commandline : "AppInstaller.exe APPDIR=C:\ApplicationDir ALLUSERS=1 /qb", the icon files for the directory for the shortcuts is not created in %SystemRoot%\Installer\.
The application is installes ok, but all the shortcut Icons remain empty.

This happens only for the above situation. If the application is either installed or uninstalled by doubleclicking the exe or using Uninstall from the Control Panel, there is no problem with the shortcut icons.

Is this in any way related to the problem where "AppInstaller.exe /x // /qb" does not work (and us using "AppInstaller.exe /exebasicui /x // /qb" to overcome this) ?

Thanks,
Michel
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Documented Command Line Uninstall Fails With AI Bootstra

Hello,

You can see my response from "Empty shortcut items for command line install of .exe" thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Documented Command Line Uninstall Fails With AI Bootstra

Hello,

This was fixed in version 10.0 of Advanced Installer released on March 21, 2013.

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

Return to “Common Problems”