Logging Fails

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

Logging Fails

Postby Zudokan » Wed Aug 14, 2024 4:16 pm

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: 115
Joined: Mon Feb 05, 2024 6:15 pm

Re: Logging Fails

Postby JohnGaver » Thu Aug 15, 2024 4:29 pm

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/installaware-multi-platform.htm

Zudokan
Posts: 3
Joined: Wed Aug 14, 2024 4:10 pm

Re: Logging Fails

Postby Zudokan » Thu Aug 15, 2024 5:15 pm

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.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 30 guests