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: Install new event log
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
Jul 19, 2014
05:44 PM
Install new event log
Can InstallShield Limited Edition create a custom event log as I can't create the log within the code. And if so, how? The code will most likely not be run with admin privileges.
- Tags:
- event log
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 21, 2014
01:32 PM
I am not aware of a built in way to do it inside the installer, but you could create a batch file or powershell script and set up a custom action to run it during the install that would create the necessary event log and event sources.
the following forum thread has an example of how to create them using powershell.
http://stackoverflow.com/questions/446691/how-to-create-windows-eventlog-source-from-command-line
the following forum thread has an example of how to create them using powershell.
http://stackoverflow.com/questions/446691/how-to-create-windows-eventlog-source-from-command-line