Antarctica
Posts: 110
Joined: Tue Jul 08, 2014 9:24 am

"Overwrite same version if found" and Command Line Uninstall

I have an installer built with AI 14.5.2 where "Overwrite same version if found" is enabled (and using LZMA single-file build, if that matters).

I am executing the following command in cmd (as per documentation):

C:\users\administrator\Desktop\MyInstaller /x // /L*V C:\users\administrator\Desktop\verbose.log

The installer is for the same version of the product that is already installed.

The cmd command then uninstalls the installed version of the program on startup, and then fails with error 1605 (ERROR_UNKNOWN_PRODUCT), which seems to be caused by advanced installer trying uninstall twice.

Is this a known issue?
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: "Overwrite same version if found" and Command Line Uninstall

Hi,

I tested the scenario and, indeed, I reproduced the problem. This seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: "Overwrite same version if found" and Command Line Uninstall

Hello,

This was fixed in version 15.2 of Advanced Installer released on August 13th, 2018.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”