I am creating transforms for a client where I cannot test them in live environment due to security issues etc.

I am using this in batch file for installation "msiexec /i mymsi.msi /qn /l C:\windows\verbose.log"

Now they want to know if they can have this plus a second 3-4 line log file which would say something like

==========
10:11 Package installation started
10:16 Package installed successfully
==========

Is it possible easily? Also they use Altiris to push these .msi+mst etc. Does Altiris give its own logs?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
There's nothing native in Windows Installer for that. You could probably do clever things with DATE and TIME in a batch file to get the times and stuff but you'd get more mileage from a VBS or PowerShell script, in that you could use the WindowsInstaller.Installer object to determine success or failure, rather than something daft like the presence of a file.
Answered 10/15/2010 by: VBScab
Red Belt

Please log in to comment
0
I think I will pass it this time. I got a readymade script on http://desktopengineer.com/windowsinstallererrorcodes but I feel that Altiris should have its own reports and we should not be searching for log files on the remote PC for each installation.
Answered 10/15/2010 by: dvdzonenz
Purple Belt

Please log in to comment
0
You could look at the event viewer for that type of messaging, as this is logged in the event viewer, or wrap\bootstrap the msi and log the start stop for the exe as a second log.
Answered 10/15/2010 by: baldawa
Senior Yellow Belt

Please log in to comment
0
It is not me, it is the tester at the client who does not know much computers.
Answered 10/15/2010 by: dvdzonenz
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity