tags:

views:

1027

answers:

2
+1  Q: 

MSI is unsafe?

I have created an msi to install my Windows form application and when i try to run the msi I get the following error:

"This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of the package to basic"

I understand this is a permissions problem and you need to actually be the Admin and not just have Admin privileges.

Is there any way around this? to change the package to basic?

Thanks

+2  A: 

This should because because you're using Group Policy to install it (in which case change UI under Advanced Deployment), but might be a conflict with your domain policy. You can try using:

msiexec /i product.msi /qb

I assume you're running as a local admin, not domain admin. You should also make sure that you haven't already installed the package.

Mark
Worked great, thanks
Rigobert Song
A: 

I had the same problem with an installer created within MS Visual Studio. When I opened the vs solution .suo file with notepad, I found file paths that were not related to the solution project!! The installer had been created in a hurry by modifying an older project and although I'd checked all the properties and references etc from within the visual studio gui the unrelated file paths within .suo were causing the problem.

This msi ran sucessfully on some platforms but gave the "This advertised application will not be installed because it might be unsafe" error on others.

The fix was to recreate the installer solution from scatch.

Martin Webster