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
The system administrator has set policies to prevent this...
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: The system administrator has set policies to prevent thi
Dear Mka,
strange ... for what I know if the "DisableMSI" registry key is enabled, this should prevent to install any MSI package.
Regards
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
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
-
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
Re: The system administrator has set policies to prevent thi
We have the Same Problems at a few customers
They have Msi Setups Running but IA Msi are bringing this error
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
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Re: The system administrator has set policies to prevent thi
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.
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
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: The system administrator has set policies to prevent thi
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
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
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
Who is online
Users browsing this forum: No registered users and 73 guests