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   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


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.
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

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
Fifth Degree Brown Belt

Please log in to comment