PDA

View Full Version : Logging



ankurm
05-04-2017, 02:23 AM
Hi,

I need to generate the log file at custom location. It might be possible the path does not already exist. Then how could I achieve this.

chad.petersen
05-04-2017, 03:41 PM
That's not really particular to InstallShield. It is, however, particular to MSIEXEC.EXE a.k.a. Windows Installer. If the path does not exist where you specify the log file to be written to it will not create the path for you, it will instead give the message "Error opening installation log file. Verify that the specified log file location exists and is writable"

You will either need to create the folder ahead of time for it to use or you will need to use a well-defined folder location like %TEMP%.

Chad