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

Got a problem you cannot solve? Try here.
mka
Posts: 3
Joined: Mon Oct 06, 2014 5:00 am

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

Postby mka » Mon Oct 06, 2014 5:14 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: The system administrator has set policies to prevent thi

Postby FrancescoT » Mon Oct 06, 2014 11:42 am

Dear Mka,

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

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

Re: The system administrator has set policies to prevent thi

Postby mikKummerfeld » Mon Oct 06, 2014 12:21 pm

We have the Same Problems at a few customers
They have Msi Setups Running but IA Msi are bringing this error
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant

mka
Posts: 3
Joined: Mon Oct 06, 2014 5:00 am

Re: The system administrator has set policies to prevent thi

Postby mka » Tue Oct 21, 2014 5:29 am

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.
Attachments
install.log
Install log of a normal run
(60.63 KiB) Downloaded 704 times

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: The system administrator has set policies to prevent thi

Postby FrancescoT » Wed Oct 22, 2014 9:33 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 73 guests