all groups > visual studio .net general > october 2005 >
You're in the

visual studio .net general

group:

"Installation User Interface Option"??????



"Installation User Interface Option"?????? Jim Kay
10/10/2005 4:48:02 PM
visual studio .net general: So, I built my app (in C#) and created a distibution solution which I tested.
After I was happy, I modified the distribution solution to sign my app for me
(using a key I bought from Verisign).

Now, when I try to install my signed app, I get this really strange error
message that I have no idea how to deal with:

"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 am the administrator and the application is not being advertised. I am
just clicking on the setup.exe file that Visual Studio 2003 created for me.
I'm doing that just like I did with the unsigned version of the app.

What the heck is going on now?
--
------------------------------
RE: "Installation User Interface Option"?????? v-garych NO[at]SPAM online.microsoft.com (
10/11/2005 5:50:26 AM
Hi Jim,

[quoted text, click to view]

This problem could happen when the application is not completely
uninstalled from the system. I suggest you can test the following approach
to check:

If the application is a Windows Service -
1. Go to START, RUN and type (without the quotes): "Services.MSC" and click
OK.
2. If the service exists in the list, you will need to use INSTALLUTIL.EXE
to
remove it. To use INSTALLUTIL, do the following:
* Go to START, RUN and open a command prompt by typing CMD. Navigate
to the
C:\Windows(or WINNT)\Microsoft.NET\Framework\(version number)\
* InstallUtil should be in this directory. Then type the following
(without
the quotes): INSTALLUTIL /U "Path to the .exe for the service"
* After the service is removed, you should be able to move forward
with the
installation.


If the application is a component in the Global Assembly Cache, do the
following:

1. Navigate to the C:\Windows(or WINNT)\Assembly and check to see if the
component
is listed in the GAC folder.
2. If it is, you will need to use GACUTIL.EXE /U to uninstall the component
from
the GAC. Use GACUTIL the same way you would use INSTALLUTIL (above) except
set the
pathing information to the location of the .DLL or component used for the
GAC.


If the application is a Windows or Web application -

1. Go to START, RUN and type the following: MSIEXEC /X "path to the .MSI
file you
want to uninstall" and click OK.
2. After the application is uninstalled, try installing your MSI file
again. If you
get the same error, then some portion of the application still exists on
the
machine. You will want to use MSIZAP to remove the product, or you can
search for
the PRODUCTID of the msi package in the registry and remove the associated
registry
keys. The Product ID looks like {xxxxx-xxxxx-xxx-xxxxx-xxxxx}


Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.
Re: "Installation User Interface Option"?????? Phil Wilson
10/20/2005 11:29:52 AM
Is there any Group Policy going anywhere with this? VS setups disallow full
UI when being installed in advertised mode, and GP is one of those modes.

You haven't invented your own custom property called ADVERTISED have you?
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

AddThis Social Bookmark Button