using log file when running from CD - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

yoramkr
Posts: 6
Joined: Mon Feb 07, 2011 3:00 pm

using log file when running from CD

Hi

I use the Bootstrap MSI command line to create a LOG file when the installer runs.
The command is: /L*V setup.log.

Now that we started deploying our software in a CD we can't run the installer directly from the CD because the installer can't create the log file on the CD itself (of course).

How can I use a property to set the log file path?
I want to be able to set the log file path in a different folder (e.g C:\temp) but only if the installer runs from a location I can't create the log file.

Thanks,
Yoram
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: using log file when running from CD

Hi Yoram,

You can try to create your own .BAT or .EXE that creates the log in the desired hard-drive location from the command line :
http://www.advancedinstaller.com/user-guide/qa-log.html

You can then use this .BAT or .EXE to execute as part of a custom autorun:
http://www.advancedinstaller.com/user-g ... ialog.html

This way if the installation runs from the CD/DVD and cannot create the log using the relative path from the Media page -> Bootstrapper tab, it will create it in the location mentioned in the .BAT or .EXE.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”