MSI install error: This advertised application will not be installed because it might be unsafe

Rigobert Song picture Rigobert Song · Apr 23, 2009 · Viewed 74k times · Source

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

Answer

Mark picture Mark · Apr 23, 2009

This could be 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.