View Single Post
  #3 (permalink)  
Old 02-27-2007
Jon
 

Posts: n/a
Re: How do you register an ActiveX EXE on Vista?
Have you installed the VB6 runtime files?

--
Jon


"Joseph Geretz" <jgeretz@nospam.com> wrote in message
news:ertE8dqWHHA.528@TK2MSFTNGP03.phx.gbl...
> Why won't the ActiveX EXE launch elevated when it is launched from an MSI
> which is runnign elevated?
>
> First of all, the installer is running elevated. I get the Vista prompt
> screen An unidentified program, etc... Once I click to proceed, the MSI
> should be running elevated, no?
>
> But for some unidentified reason, the launch of the executable from within
> the MSI is not occurring elevated. The error I get during the install is
> "Unexpected error; quitting" which is the same error I get when running
> MyExe.exe /RegServer from the Start | Run.
>
> So if the MSI is running elevated, why the @!#$^@^#$% isn't MyExe launched
> as elevated from within the MSI?
>
> Hey all you Microsoft gurus. Can't I get some help with a simple question?
>
> Thanks!
>
> - Joseph Geretz -
>
> "Joseph Geretz" <jgeretz@nospam.com> wrote in message
> news:OU33xhpWHHA.4188@TK2MSFTNGP06.phx.gbl...
>> MyApp.exe /RegServer
>> MyApp.exe /UnregServer
>>
>> As far as I am aware, the specs state that running a VB6 ActiveX EXE
>> results
>> in the silent launch of the executable, the registration of the COM
>> details
>> into the registry (or unregistration) and then the termination of the
>> executable.
>>
>> Why has this changed on Vista?
>>
>> With Vista, launching the application results in the application
>> continuing,
>> even if these command line switches are passed. This is throwing a monkey
>> wrench into my installer; all I want to do is register these programs
>> during
>> the install, I don't actually want to run these programs during the
>> install.
>>
>> Thanks for your help!
>>
>> - Joseph Geretz -
>>
>>
>>

>
>




Reply With Quote