Product cannot be installed due to "UnauthorizedAccess" error (1603) - Advanced Installer Community
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Product cannot be installed due to "UnauthorizedAccess" error (1603)

Dear Advanced Installer Support Team,

A customer is complaining that our product cannot be installed through their SCCM.

I found such suspicious snipplet in several places of their install log file:
"
--> PowerShell Script Execution Result Code: 1
MSI (s) (AC!E8) [14:56:31:532]: PROPERTY CHANGE: Adding POWERSHELL_EXECUTION_LOG property. Its value is 'AuthorizationManager check failed.
+ CategoryInfo : SecurityError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnauthorizedAccess'.
--> PowerShell Script Execution log:
AuthorizationManager check failed.
+ CategoryInfo : SecurityError: (:) , ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnauthorizedAccess
CustomAction Searches_Fix_Reg_Values returned actual error code 1603 but will be translated to success due to continue marking
"

It seems all of our custom actions are failing due to this error.

What should we suggest for the customer? Do you have any hints for us? I'm attaching the install log file.

Thanks.

Best regards,
Zsolt
Last edited by Zsolt Kollarits on Tue Jun 14, 2022 8:49 am, edited 1 time in total.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Product cannot be installed due to "UnauthorizedAccess" error (1603)

Hello Zsolt,

This error message rang a bell for me and after a little search, I found out we actually faced this in the past:

Product cannot be installed on PCs with strict execution policy settings due to inline PowerShell custom actions


How to sign digitally the scripts created by an inline powershell custom action?

Could you please have a look over the above two thread (especially the first one) and let me know if that helps?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Zsolt Kollarits
Posts: 409
Joined: Fri May 29, 2015 10:36 am

Re: Product cannot be installed due to "UnauthorizedAccess" error (1603)

Hi Catalin,

Thank you for the tip, we will ask our customer to try out the solution described in the other thread. If that's not working for some reason, I will come back to you. Thank you :)

Best regards,
Zsolt
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Product cannot be installed due to "UnauthorizedAccess" error (1603)

You are always welcome, Zsolt!

In the past, I remember it has solved the problem. Hopefully that will be the case now, as well. :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”