/build/static/layout/Breadcrumb_cap_w.png

it is possible to create two logs for the same .msi installation?

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

Answers (4)

Posted by: anonymous_9363 14 years ago
Red Belt
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.
Posted by: dvdzonenz 14 years ago
Purple Belt
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.
Posted by: baldawa 14 years ago
Senior Yellow Belt
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.
Posted by: dvdzonenz 14 years ago
Purple Belt
0
It is not me, it is the tester at the client who does not know much computers.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ