Re: Vista - UAC and Click Once



"RobKinney1" <RobKinney1@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:28A5B9AC-1838-4707-9707-23074A7918F9@xxxxxxxxxxxxxxxx
Hello,

This is a continuation of a question I was working with Willy and Kevin last
week (both provided excellent information). I am still having troubles in
final stages.

I am trying to get an OCX to register on Vista with my ClickOnce app. Willy
instructed how to embed a manifest into the exe to request admin privilages
(requireAdministrator) upon launch (so the UAC window would confirm to the
user they want to run the program).

It all works fine now... while running locally on my development and testing
machines. However, when we try to run the deployed app with this modified
executable, we are getting error messages that state:

Reference in the manifest does not match the identity of the downloaded
assembly [ourApp.exe].

We have signed both the application and deployment manifests anew and built
them up fresh with the modified exe and still this error is thrown upon
putting the application URL into the browser (and after the app download and
installs so I guess you could just say the error is thrown at launch).

Is what we are trying to do possible? Is there an easier way to register an
OCX control in our app without having to require admin privileges (aside from
making a seperate program, having the user install that, then have them Run
As Admin)?

Maybe there is code we can execute that will just bring up the UAC window so
we can just execute the small OCX registry process...?

Thanks,

Rob


Rob,

I would try to get rid of the administrator" dependency by using "Reg-Free COM".
This article http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/ might help you to get started.
Another option is to use Group Policy Management and the ActiceX Registration service in Vista to install the ActiveX component from a trusted location in the corporation.

Willy.

.



Relevant Pages

  • Re: Vista - UAC and Click Once
    ... I am trying to get an OCX to register on Vista with my ClickOnce app. ... Maybe there is code we can execute that will just bring up the UAC window so ... Vista to install the ActiveX component from a trusted location in the corporation. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Can you help me on and error message
    ... Execute the downloaded file and install it. ... >> you have to reinstall your app or download the next app and install it: ... >>> to know what the error message means, and is it my opertation system ...
    (microsoft.public.vb.general.discussion)
  • Re: Troubles deploying my application
    ... My computers are not locked down like IT has the company ... Otherwise the app crashes, even ... install and register the COM components? ...
    (microsoft.public.dotnet.general)
  • Re: which book to start with...?
    ... The CPU *would* execute it, ... a hello world app with a infinite loop indicates ~10Mb of physical memory use in top. ... that Nasm puts its name in a .comment section...). ... anyway now my 0.98.39 install was overwritten by 2.0 compilation. ...
    (alt.lang.asm)
  • Re: wine not in 11.1??
    ... Wine doesn't install a win app if the app need to "register" the ...
    (alt.os.linux.suse)

Loading