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?
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)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
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
Posted by:
baldawa
14 years ago
Posted by:
dvdzonenz
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.