Logging Fails

Got a problem you cannot solve? Try here.
Post Reply
Zudokan
Posts: 3
Joined: Wed Aug 14, 2024 4:10 pm

Logging Fails

Post 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
JohnGaver
Posts: 265
Joined: Mon Feb 05, 2024 6:15 pm

Re: Logging Fails

Post 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"
John Gaver
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installawa ... atform.htm
Zudokan
Posts: 3
Joined: Wed Aug 14, 2024 4:10 pm

Re: Logging Fails

Post 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.
Post Reply