![]() Under "Properties" tab of 'Execute' custom action, make sure 'Processing' is set to "Synchronous, Ignore exit code"ĥ. Make sure you set Default Directory to "SystemFolder" (displays as Windows\System32), because this is where certutil.exe resides.Ĥ. If (Not Installed OR REINSTALL) AND (AdminUser=1)Įxecute Program From Destination CMD.exe /c "\Addcerts.cmd" Default Directory Windows\System32 ģ. Add "Execute Program From Destination" action inside an "If Statement" just above "InstallFinalize" (near bottom), as follows (substitute appropriate target folder for "\", including backslash, and your script file for "\Addcerts.cmd"): Open MSI/MST, go to MSI Script - "Execute Deferred" tab.Ģ. ![]() Steps to ADD trusted root certificate file to local Computer during MSI install:ġ. Basically, you have to get the syntax exactly right for it to work when calling your script or batchfile from Wise: You can use either certmgr.exe (from the “Windows Driver Kitâ€Â) or certutil.exe, but certutil.exe comes native on Win7, XP
0 Comments
Leave a Reply. |