Advertised application will not be installed

Advertised application will not be installed

am 10.01.2007 13:59:00 von unko

I have a VS2003 install package being installed flawlessly on many machines.
It is a Winforms application. It refuses on one particular machine. The
installer gives the following error message:

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

Can anyone (using simple words) explain to me why this is happening and how
to sort it out?

--
It''s Software Jim, but not as we know it!

RE: Advertised application will not be installed

am 11.01.2007 08:37:04 von v-lliu

Hi,

Could you tell how you deploy your install package? Are you using Group
Policy?

VS setups don't allow full UI when being installed in advertised mode and
GP is one of those modes. If you take a look at your MSI using a tool like
Orca, you should find the following in the Property table:

(FYI, to get Orca, you should first download Windows Platform SDK. After
downloading and installing Windows Platform SDK, go to \Program
Files\Microsoft SDK\Bin folder on the machine to look for Orca.msi. Run
Orca.msi by double clicking on it, which is the setup to install Orca on
your machine.)

VSDUIANDADVERTISED 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.

If you then go to the CustomAction table, you'll find the following row for
a type 19 custom action that makes use of this error message:

ERRCA_UIANDADVERTISED 19 [VSDUIANDADVERTISED]

If you then look in your InstallUISequence table, you'll find the following
row:
ERRCA_UIANDADVERTISED ProductState=1 1

This custom action will fire whenever the ProductState value is 1 which
means whenever the product is advertised. So if you attempt to execute the
package in full UI mode, your installation will fail if the product has
been advertised.

The Visual Studio created package requires that when deploying the package,
you choose "Basic" as the user interface option instead of "Maximum".

The user interface option is a setting available in the MMC snap-in for
deploying software. This is usually requires selecting "Advanced
Deployment" and then on the Deployment tab choosing the UI option.

Hope this helps.


Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

RE: Advertised application will not be installed

am 22.01.2007 08:20:08 von unko

Hi Linda,

Thanks for your reply. Sorry for a bit late reply, I had technical
difficulties acessing this newsgroup.

The deployment I use is pretty standard. I created a Setup project in
VS2003, and the resulting output is being used for deployment. Everything
default, nothing special done. Used this many times. I am not aware of using
Group Policies.

I found some info by searching the internet, stating this may happen if a
previous installation was not successfull, and to use installer Cleanup
Utility. I tried, but it did not help. Next I removed stuff from the registry
by hand. That was successful!

Thanks for bringing up the Orca tool. I will definitely have a look at it in
the future.