Create a Log file


Want to create a log file, which includes the features based on the components in the features being installed. If the condition of the component is false and that particular component is not installed then the log file should not have the feature name included in it.

Any suggestions on this.


0 Comments   [ + ] Show comments

Answers (5)

Posted by: timmsie 13 years ago
Fourth Degree Brown Belt
why do you want to create a bespoke log file?


use the /l option on the command line or logging reg key
Posted by: manitha21 13 years ago
Senior Yellow Belt
Thanks for the Reply.

Im into Packaging and want to create a log or txt file, where it shows the features being installed based on the license keys. So that helpdesk can detect the installer is installed which all features on their machine have not selected which features.
Posted by: anonymous_9363 13 years ago
Red Belt
You can use the WindowsInstaller.Installer object model in script to interrogate installations after the event.

The WI SDK includes some sample scripts which will provide some clues about how to use the various methods.
Posted by: manitha21 13 years ago
Senior Yellow Belt
I have tried it but not much help. I couldnt write the exact query. If you have got any idea or brief about the query it would be great help for me.
Posted by: WiseAppPackager 13 years ago
Purple Belt
Your original question appears confusing.
Please re-phrase it.
Are you done with creating your MSI and want logging to be enabled when its deployed??
Are you coding any script and want the script to log its actions?
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