arossert
Posts: 1
Joined: Wed Mar 24, 2021 10:14 am

Upgrade using cmd on non default folder

Hello,

I have an issue with my installer built using Advanced Installer 14.5.2.
When I install the program on a different drive (like F:) the upgrade is working perfectly if the "exe" is executed with UI (double click on the "exe" file) but when I try to run it from a command line like so:

Code: Select all

START "" "installer.exe" /quiet /l*v "installer.log"
The installation is ignoring the fact that it is installed in F drive and install again on C drive.
I have looked at the log output in both cases and can see that when the installer executed in "quiet mode" does not set the TARGETDIR to the the current volume

Log from the UI installer that is missing in quite mode:

Code: Select all

MSI (s) (7C:48) [11:46:37:203]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\'. Its new value: 'F:\Program Files\****'.
Any reason for that to happen? I do have the "Use original installation path when upgrading" set.
How can I fix that?
Catalin
Posts: 6585
Joined: Wed Jun 13, 2018 7:49 am

Re: Upgrade using cmd on non default folder

Hello and welcome to our forums,

Unfortunately, I can not say for sure why this is happening.

In order for me to further investigate this, could you please forward me the following resources:

- a copy of the .AIP file

- a download link for the older version

- a download link for the newer version

- the full log

by e-mail at support at advancedinstaller dot com?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”