Logged install

Got a problem you cannot solve? Try here.
zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Logged install

Postby zchris » Mon Sep 05, 2005 8:54 am

I want InstallAware to create a log file of the installation. The commandline switch from the manual does not appear to work.

Code: Select all

setup.exe /l=c:\\setup.log

(compressed single self installing setup)

What could be the problem?

sinan
Site Admin
Posts: 1029
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Mon Sep 05, 2005 9:43 am

The log is only created for the actual setup process. Are you completing an install or uninstall?

zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Postby zchris » Mon Sep 05, 2005 10:07 am

Yes, I am doing a full installation.

sinan
Site Admin
Posts: 1029
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Mon Sep 05, 2005 8:16 pm

Not sure what the problem might be offhand. Check you have access permissions and you are not overwriting the predefined LOGGED variable.

zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Postby zchris » Tue Sep 06, 2005 3:19 am

I've tried it again.

It actually creates a logfile while the installation is running but as soon as the "Completing..." dialog is shown the logfile disappears.

sinan
Site Admin
Posts: 1029
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue Sep 06, 2005 6:20 am

I'm really not sure. Any details you can provide?

zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Postby zchris » Tue Sep 06, 2005 7:17 am

None that I can think of. Something deletes the logfile after Apply Install.

You can see it yourself however if you run "setup.exe /l=c:\\setup.log" with the file I've emailed you for the "Silent install commandline parameters" problem.

sinan
Site Admin
Posts: 1029
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue Sep 06, 2005 9:14 am

I ran this and the setup.log file was created. I tested on a plain install of Server 2003. Any more details you may provide to help replicate the issue?

zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Postby zchris » Tue Sep 06, 2005 12:01 pm

You are right. When I run it on Windows 2003 Server I get a log file at the end of the install.

However when I run it on a Windows XP Pro SP2 (with all updates from Windowsupdate installed) the logfile disappears when the setup is finished.

The XP machine has Windows Installer 3.1 (KB893803) installed - maybe that's the problem?

I hope you can replicate it now.

sinan
Site Admin
Posts: 1029
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue Sep 06, 2005 4:58 pm

Thanks - I will look into it with the additional information.

sinan
Site Admin
Posts: 1029
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue Sep 06, 2005 7:32 pm

We've reproduced and resolved the issue. Expect an update shortly.

zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Postby zchris » Wed Sep 07, 2005 2:37 am

Great!

Btw, as far as I know it is not possible to specify a commandline when debugging a setup. Any chance of adding this to the update too?

sinan
Site Admin
Posts: 1029
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Wed Sep 07, 2005 4:43 am

Not for this release, sorry.

zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Postby zchris » Wed Sep 07, 2005 3:19 pm

OK. The logfiles now work fine with your update! Thanks!

zchris
Posts: 92
Joined: Wed Feb 23, 2005 3:16 am
Location: Austria

Postby zchris » Tue Sep 13, 2005 7:53 am

Another question:

I need to create logfiles even if the setup terminates before "Apply Install" - is it possible to write my own entries into the logfile?

I tried "Write into Text File $LOGGED$ ..." but the entries get overwritten by "Apply Install".

There is also the problem that "Write into Text File" produces ASCII and standard logs are unicode; if I write to the logfile after apply install the file then becomes garbage.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 22 guests