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

Verbose log not saved without path to file

Wed Oct 18, 2017 2:23 pm

For verbose output, I am executing my setup created with advanced installer from command line like this:

Code: Select all

C:\Users\Administrator\Documents>mysetup.exe /L*V verbose.log
But no verbose log is generated in the directory, neither if I use:

Code: Select all

C:\Users\Administrator\Documents>mysetup.exe /L*V .\verbose.log
If I call it with a fully qualified path to the log file:

Code: Select all

C:\Users\Administrator\Documents>mysetup.exe /L*V C:\Users\Administrator\Documents\verbose.log
a verbose log is generated.

Is there a possibility to give a relative path for the log file, that works no matter what directory the installer is extracted into? Just like in your example:

Code: Select all

"C:\MyPackage\Setup.exe" /L*V "example.log"

Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Verbose log not saved without path to file

Wed Oct 18, 2017 2:46 pm

Hello,

We couldn't reproduce this behavior.

If you want the log to be created next to the MSI, you can specify only the name of the log, so the first command line you've mentioned should work, if you are using our latest version.

Can you let us know what version of Advanced Installer do you use?

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

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

Re: Verbose log not saved without path to file

Wed Oct 18, 2017 4:01 pm

AI 14.3, sorry I forgot to mention that.

Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Verbose log not saved without path to file

Thu Oct 19, 2017 6:53 am

Hello,

Could you send us a download link for your setup, or for a small sample setup that reproduces this issue to support at advancedinstaller dot com so we could further investigate it?

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

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

Re: Verbose log not saved without path to file

Wed Apr 25, 2018 4:48 pm

Sorry I didn't answer earlier, but I forgot the issue. I had the issue again this evening. I searched for the verbose.log file on the whole hard drive and found it in the extract location of the archive, [AppDataFolder][|Manufacturer]\[|ProductName] [|ProductVersion]\install

in the "F0CF4AD" subfolder, next to the MSI.

I think the combination of build settings could be at fault, which are fairly non-standard for our setup.

The build is a single EXE setup (resources inside) with the following settings:

Image

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Verbose log not saved without path to file

Thu Apr 26, 2018 2:20 pm

Hi,

It seems that my colleague Sorin made a confusion here, sorry for that.

The behavior you encounter is normal. If a full path is not specified for the log file in the command line, it will always be created next to the MSI package (in the folder it is extracted from the EXE bootstrapper).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”