Dear InfoPulse,

Is there a possibility to change the default custom action created by the MSI Generator for setting the permissions so it would include a log file with the [productname] in the logfile directory?

C:\Windows\Security\Logs ?



0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0
Hi, RaoulMaas
It's very easy.
1. Open your MSI in "MSI Editor". Go to the tab Files and create folder "Logs" for logging your CA.
3VANLu.png
2. Go to the tab Custom Actions and open that custom action (default name is RunSecEdit) and add string /log "[logs][ProductName].log" to the field Target
ZSwjYG.png

More information about secedit.exe you can find here https://technet.microsoft.com/en-us/library/cc786439.aspx

Thank you.
Answered 04/21/2016 by: pace-support
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share