This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Log file for installer
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2009
04:22 PM
Log file for installer
I want to create a log file for installation steps. I have some custom written scripts as well in VBS custom actions.
I want to create a log file in temp directory that logs built in installshield steps as well my custom script steps in a file. I also want to show a link to this newly created log file at end of installer e.g. view log file.
log file format:
Step 1 completed successfully.
Step 2 completed successfully.
Please help how I can do it? I am using InstallShield 2010 Premier Edition.
Thanks.
Naveed
I want to create a log file in temp directory that logs built in installshield steps as well my custom script steps in a file. I also want to show a link to this newly created log file at end of installer e.g. view log file.
log file format:
Step 1 completed successfully.
Step 2 completed successfully.
Please help how I can do it? I am using InstallShield 2010 Premier Edition.
Thanks.
Naveed
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2009
05:37 AM
You should really be using the windows installer standard logging methods to be compatible with deployment systems, industry standards and to be consitent with other installers. Your custom actions are also capable of writing to these logs. Also installshield has built in functionality to allow the user to view the log file at the end of the installation.
This article explains it all very well:
http://www.flexerasoftware.com/webdocuments/PDF/msi_writing_to_the_log_file.pdf
This article explains it all very well:
http://www.flexerasoftware.com/webdocuments/PDF/msi_writing_to_the_log_file.pdf
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2009
02:31 PM
Thanks for reply.
It generates log file when running from MSI is run from InstallShield IDE or through command prompt. It doesn't generate log file when run by double clicking the msi package?
Any way, I can create log file for MSI execution by running it directly?
Thanks
It generates log file when running from MSI is run from InstallShield IDE or through command prompt. It doesn't generate log file when run by double clicking the msi package?
Any way, I can create log file for MSI execution by running it directly?
Thanks