Page 1 of 1

Logging Fails

Posted: Wed Aug 14, 2024 4:16 pm
by Zudokan
I have setup a batch file to launch an installer and log the results.

"setup.exe" /l="C:\Temp\log.txt"

I have tried both with and without quotes.

No results??

TIA

Re: Logging Fails

Posted: Thu Aug 15, 2024 4:29 pm
by JohnGaver
This topic applies to InstallAware Multi Platform as well.

You don't need to use any quotes, since there's no spaces in your path.

If there were, you'd have to quote as follows:

Code: Select all

setup.exe "/l=c:\some path\some file.txt"

Re: Logging Fails

Posted: Thu Aug 15, 2024 5:15 pm
by Zudokan
John,

Thanks, so after walking through every single combination as shown below,
I finally got it to work by enclosing the exe file path in quotes, but not the
log file path.

"D:\Installaware\ProjectName\Test File\Installer v1.0.0.0.exe" /l=c:\temp\log.txt

While this didn't seem to work before, it did today... :oops:

??

Issue Resolved.