Mitch
Posts: 10
Joined: Thu Mar 06, 2008 11:35 pm
Location: Golden, CO USA
Contact: Website

Installation Log Location

I want to automatically create an installation log when using the bootsrtapper but it seems to require a hardwired file path which could cause problems on some of the more restrictive installations.

Using a macro works when specified on the Cmd window's command line:

install.exe /L*V %temp%install.log

but doesn't worked when entered on the AI Pro 6.2's MSI Command Line.

So what should I do?

Mitch
RockWare, Inc.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please note that you need to use a "\" character in the command line of the package. Therefore, the correct command is:

Code: Select all

install.exe /L*V %temp%\install.log
Also, I'm afraid that you cannot use environment variables in the "MSI Command Line" field in the "Bootstrapper" tab of the "Media" page to always create a log for the installation.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Mitch
Posts: 10
Joined: Thu Mar 06, 2008 11:35 pm
Location: Golden, CO USA
Contact: Website

Thanks for the correction. So where is a safe place to put the log that can be hard coded in the bootstrapper?

Mitch
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I have added on our TODO list a feature which will allow you to use environment variables in this field. Until then you can use the "C:\Documents and Settings\All Users\Application Data" folder for the location of the log file.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”