Dear Advanced Installer Support Team,
Few of our customers complained about our installer that they were not able to install our product, because our inline PowerShell script based custom actions cannot be executed on their PCs due to their very restricted (AllSigned level) execution policy settings.
In the meantime we noticed that your product supports inline PowerShell script signing starting from AI version 17.7, so we enabled the "Sign script" checkbox for each of our inline PowerShell script based custom actions and created a new .exe. Unfortunately we are still not able to install our product on PCs which has very strict (AllSigned) execution policy set, I see such errors in the installation logfile:
Action start 8:15:16: <PowerShell based custom action name>.
MSI (s) (28:28) [08:15:16:370]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIE2C5.tmp, Entrypoint: RunPowerShellScript
MSI (s) (28!D8) [08:15:16:376]: PROPERTY CHANGE: Deleting POWERSHELL_EXECUTION_LOG property. Its current value is 'AuthorizationManager check failed.
+ CategoryInfo : SecurityError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnauthorizedAccess'.
Dumping PowerShell invoke log ...
--> Found PowerShell path: C:\WINDOWS\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
--> PowerShell Script Execution Result Code: 1
--> PowerShell Script Execution log:
AuthorizationManager check failed.
+ CategoryInfo : SecurityError: (:) , ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnauthorizedAccess
MSI (s) (28!D8) [08:15:19:815]: PROPERTY CHANGE: Adding POWERSHELL_EXECUTION_LOG property. Its value is 'AuthorizationManager check failed.
+ CategoryInfo : SecurityError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnauthorizedAccess'.
CustomAction WriteConfigFilesHashesToRegistry returned actual error code 1603 but will be translated to success due to continue marking
Could you please take a look at the install log file I will send over to you and tell us why the installation is not working?
Thank you in advance.
Best regards,
Zsolt