Getting Error: This installation is forbidden by system policy. Contact your system administrator. - Advanced Installer Community
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Getting Error: This installation is forbidden by system policy. Contact your system administrator.

Hi Advanced Installer,

I noticed, that you updated the forum software. Very nice :D

Back to my problem: I am getting the error:
This installation is forbidden by system policy. Contact your system administrator.
afterwards the log shows:
MainEngineThread is returning 1625
:oops: hm.

I have used Advanced Installer 12.1 to create this setup. To make sure, this problem is not related to this specific Advanced Installer version, I downgraded to 12.0 and also tried out 12.2, but without changes.

From my point of view this is problem is kind of surprising. I reflected all my changes in the setup project and I did not found any major change compared to previous versions (of course, files have been updated, registry keys added, one feature has been deleted and the prerequisites have slightly changed). But these are things you can do within a major update.

How we install the setup:
First the setup is advertised, then installed without user interface (option: /qn+). Also this procedure has not been changed since a while. I did a test with option /qb and noticed, that the UAC prompt is popping up, but it shouldn't. This I have already seen in the past, but should be avoidable with /qn.

I asked also our system administrators, nobody has changed any system policies or group policies recently.

How can I find more information, what is causing the problem here? Any Idea?

I attached the verbose log file for this installation.

Thanks for helping,

Regards,

Roland
Attachments
Installation.log
(53.03 KiB) Downloaded 589 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Getting Error: This installation is forbidden by system policy. Contact your system administrator.

Hello Roland,

Unfortunately the log file doesn't offer us too many details which could lead to the root cause of this issue. Can you please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate and a detailed step by step description of the actions you perform in order to replicate this issue?

Also, can you tell us if the issue can be replicated on multiple machines? If so, it would be very useful if you can try to isolate the behavior in a buildable sample (.aip + its referenced files) and send it us so we can build and test on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Getting Error: This installation is forbidden by system policy. Contact your system administrator.

Hi Daniel,

I can reproduce the behavior on multiple machines, in fact, it always happens. I can provide you the project files, and also the full setups and details instructions to reproduce the problem, if required. I will send you the project files first.

Can you provide me further information, why this installation seems to be forbidden? Where can I check to find out the reasons for that? While searching through the log files, I have not seen any blocking Windows Installer policies causing this issue.

Hope to hear from you soon.

Regards,

Roland
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Getting Error: This installation is forbidden by system policy. Contact your system administrator.

Hello Roland,

This usually happens when the "DisableMsi" policy is set to disable installations ("1" or "2"), but in your sent log this policy is set to "0" (allow installations). I'm not sure if this could help you get more details about this error, but you can try to check the logged error in the Windows Event Viewer and see if there are more details about the root cause of the error.

Please send us your .aip (project file) to support at advancedinstaller dot com so we can further investigate this. Also, if you could send a download link for the built setup package so we can test and investigate on our side, this would be useful too.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Getting Error: This installation is forbidden by system policy. Contact your system administrator.

Hello,

For future users facing with similar issue, the above error (1625: This installation is forbidden by system policy. Contact your system administrator.) may appear in a silent installation (/qn) and it is thrown when the MSI you are trying to install has the same ProductCode as an already installed product. If the installation will be launched with full UI then the following (more suggestive) error will be logged:

Code: Select all

1638: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs in Control Panel.
All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”