Page 1 of 1

The system administrator has set policies to prevent this...

Posted: Mon Oct 06, 2014 5:14 am
by mka
Hi all,
I have created a project in IA18, which I compile to a single file, and then use the group policy wizard to create a MSI.
When I run the MSI on a 2012 R2 server, I get the error from Windows saying "The system administrator has set policies to prevent this installation". On e.g. a Windows 7, it runs just fine.
I know how to tweak the registry to get it working, but other MSI files runs fine!?! In addition, I have some old MSI made with IA9, they run too! I tried to take a backup project from way back and compile with IA18, but the error persists. I tried creating a project from scratch through the project wizard, but it is the same...
What is my mistake?
--mka

Re: The system administrator has set policies to prevent thi

Posted: Mon Oct 06, 2014 11:42 am
by FrancescoT
Dear Mka,

strange ... for what I know if the "DisableMSI" registry key is enabled, this should prevent to install any MSI package.

Regards

Re: The system administrator has set policies to prevent thi

Posted: Mon Oct 06, 2014 12:21 pm
by mikKummerfeld
We have the Same Problems at a few customers
They have Msi Setups Running but IA Msi are bringing this error

Re: The system administrator has set policies to prevent thi

Posted: Tue Oct 21, 2014 5:29 am
by mka
I found a workaround.
https://social.technet.microsoft.com/Fo ... nservergen
Create a CMD file with the command: msiexec /a MySetup.msi
Run the CMD file as administrator.

Strange as I already am an administrator.

See the log file for a normal run (that fails).

--Martin

Edit: /a doesn't work for me, but /i does.

Re: The system administrator has set policies to prevent thi

Posted: Wed Oct 22, 2014 9:33 am
by FrancescoT
Dear Mka,

if UAC is enabled with the OS, you are never an effective administrator ... this is the reason why you have to elevate the process.

The "/a" switch is not allowed with IA ... but you can Always execute an administrative install regardless of using that msiexec switch.

Regards