A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Security and Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Security and Windows Vista A forum for discussion on security issues with Windows Vista. (microsoft.public.windows.vista.security)

Problems installing our software on Windows Vista



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old February 16th 07, 04:53 PM posted to microsoft.public.windows.vista.general,microsoft.public.windows.vista.installation_setup,microsoft.public.windows.vista.security
Joseph Geretz
external usenet poster
 
Posts: 104
Default Problems installing our software on Windows Vista

Our product is installed via an MSI which has been operating just fine under
Windows XP for the past few years. We just started testing on Windows Vista
and we are encountering an installation problem. The problem occurs when
attempting to register an ActiveX EXE during the installation. Unlike DLL's
and OCX's which are registered via RegSrv32.exe, an ActiveX EXE is
registered by runing the executable with the command parameter /RegServer.

For example: c:\folder\location\MyEXE.exe / RegServer

This is the step which is failing within the MSI.

Just for kicks, I tried this from the Windows shell. Sure enough, up pops a
security dialog box :-\. (BTW, this dialog box pops up every single time I
attempt this command. Shouldn't there be an option to mark the executable as
trusted so that I don't have to go through this once I've already indicated
that the command is safe?)

Anyway, how do I get around this for Windows Vista? Is it a matter of
signing our application code so that it will have a higher level of trust
under Windows Vista?

Thanks for your advice!

- Joseph Geretz -


  #2 (permalink)  
Old February 16th 07, 06:32 PM posted to microsoft.public.windows.vista.installation_setup,microsoft.public.windows.vista.security,microsoft.public.windows.vista.general
Jesper
external usenet poster
 
Posts: 839
Default Problems installing our software on Windows Vista

Your installer needs to be running elevated. Custom actions in an installer
under Vista are tricky. See these resources for some more info:
http://blogs.msdn.com/heaths/archive...-in-Vista.aspx
http://blogs.msdn.com/windows_installer_team/
http://blogs.msdn.com/rflaming/

"Joseph Geretz" wrote:

Our product is installed via an MSI which has been operating just fine under
Windows XP for the past few years. We just started testing on Windows Vista
and we are encountering an installation problem. The problem occurs when
attempting to register an ActiveX EXE during the installation. Unlike DLL's
and OCX's which are registered via RegSrv32.exe, an ActiveX EXE is
registered by runing the executable with the command parameter /RegServer.

For example: c:\folder\location\MyEXE.exe / RegServer

This is the step which is failing within the MSI.

Just for kicks, I tried this from the Windows shell. Sure enough, up pops a
security dialog box :-\. (BTW, this dialog box pops up every single time I
attempt this command. Shouldn't there be an option to mark the executable as
trusted so that I don't have to go through this once I've already indicated
that the command is safe?)

Anyway, how do I get around this for Windows Vista? Is it a matter of
signing our application code so that it will have a higher level of trust
under Windows Vista?

Thanks for your advice!

- Joseph Geretz -



  #3 (permalink)  
Old February 19th 07, 02:25 AM posted to microsoft.public.windows.vista.general,microsoft.public.windows.vista.installation_setup,microsoft.public.windows.vista.security
Hugh Wyn Griffith
external usenet poster
 
Posts: 465
Default Problems installing our software on Windows Vista

As Jesper says: Your installer needs to be running elevated.

Simplest way is to right mouse click on the msi file and Run as
Administrator.

If there's a subsequent problem in actually running the application
check out the Properties / Compatibility TAB (on the application's exe
file?) and see if setting to XP helps.

  #4 (permalink)  
Old February 21st 07, 01:39 AM posted to microsoft.public.windows.vista.general,microsoft.public.windows.vista.installation_setup,microsoft.public.windows.vista.security
[email protected]
external usenet poster
 
Posts: 3
Default Problems installing our software on Windows Vista

On Feb 16, 12:53 pm, "Joseph Geretz" wrote:
Our product is installed via an MSI which has been operating just fine under
Windows XP for the past few years. We just started testing on WindowsVista
and we are encountering an installationproblem. Theproblemoccurs when
attempting to register an ActiveX EXE during the installation. Unlike DLL's
and OCX's which are registered via RegSrv32.exe, an ActiveX EXE is
registered by runing the executable with the command parameter /RegServer.

For example: c:\folder\location\MyEXE.exe /RegServer

This is the step which is failing within the MSI.

Just for kicks, I tried this from the Windows shell. Sure enough, up pops a
security dialog box :-\. (BTW, this dialog box pops up every single time I
attempt this command. Shouldn't there be an option to mark the executable as
trusted so that I don't have to go through this once I've already indicated
that the command is safe?)

Anyway, how do I get around this for WindowsVista? Is it a matter of
signing our application code so that it will have a higher level of trust
under WindowsVista?

Thanks for your advice!

- Joseph Geretz -


Joseph, please let me know if you finally overcame the problem with /
RegServer.
Signing of EXE doesn't help...
Thanks
Simon

  #5 (permalink)  
Old February 27th 07, 06:43 PM posted to microsoft.public.windows.vista.general,microsoft.public.windows.vista.installation_setup,microsoft.public.windows.vista.security
Joseph Geretz
external usenet poster
 
Posts: 104
Default Problems installing our software on Windows Vista

No, the advice which I got did not solve the problem at all.

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 -

wrote in message
oups.com...
On Feb 16, 12:53 pm, "Joseph Geretz" wrote:
Our product is installed via an MSI which has been operating just fine
under
Windows XP for the past few years. We just started testing on
WindowsVista
and we are encountering an installationproblem. Theproblemoccurs when
attempting to register an ActiveX EXE during the installation. Unlike
DLL's
and OCX's which are registered via RegSrv32.exe, an ActiveX EXE is
registered by runing the executable with the command parameter
/RegServer.

For example: c:\folder\location\MyEXE.exe /RegServer

This is the step which is failing within the MSI.

Just for kicks, I tried this from the Windows shell. Sure enough, up pops
a
security dialog box :-\. (BTW, this dialog box pops up every single time
I
attempt this command. Shouldn't there be an option to mark the executable
as
trusted so that I don't have to go through this once I've already
indicated
that the command is safe?)

Anyway, how do I get around this for WindowsVista? Is it a matter of
signing our application code so that it will have a higher level of trust
under WindowsVista?

Thanks for your advice!

- Joseph Geretz -


Joseph, please let me know if you finally overcame the problem with /
RegServer.
Signing of EXE doesn't help...
Thanks
Simon




  #6 (permalink)  
Old March 11th 07, 04:36 PM posted to microsoft.public.windows.vista.general,microsoft.public.windows.vista.installation_setup,microsoft.public.windows.vista.security
cquirke (MVP Windows shell/user)
external usenet poster
 
Posts: 775
Default Problems installing our software on Windows Vista

On Tue, 27 Feb 2007 14:43:26 -0500, "Joseph Geretz"

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?


Perhaps not in the way you require.

There may be a difference between "pre-elevating" something by
rt-clicking it and running as administrator, and waiting for UAC to
trap something and throw up an elevation prompt.

UAC is the visible part of a larger and deeper compatibility system.

The same system can be preset via rt-click, compatibility properties;
in fact, there's a "run as admin" option there too. Or the
compatibility system can automatically tailor how an app runs if it
pops up a "did that work OK?" dialog when something finishes running.



--------------- ---- --- -- - - - -

Saws are too hard to use.
Be easier to use!
--------------- ---- --- -- - - - -

  #7 (permalink)  
Old March 27th 07, 09:21 PM posted to microsoft.public.windows.vista.general,microsoft.public.windows.vista.installation_setup,microsoft.public.windows.vista.security
Mike Matheny
external usenet poster
 
Posts: 65
Default Problems installing our software on Windows Vista

Try disabling UAC to see if it will install.

--

Mike Matheny


"Joseph Geretz" wrote in message
...
No, the advice which I got did not solve the problem at all.

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 -

wrote in message
oups.com...
On Feb 16, 12:53 pm, "Joseph Geretz" wrote:
Our product is installed via an MSI which has been operating just fine
under
Windows XP for the past few years. We just started testing on
WindowsVista
and we are encountering an installationproblem. Theproblemoccurs when
attempting to register an ActiveX EXE during the installation. Unlike
DLL's
and OCX's which are registered via RegSrv32.exe, an ActiveX EXE is
registered by runing the executable with the command parameter
/RegServer.

For example: c:\folder\location\MyEXE.exe /RegServer

This is the step which is failing within the MSI.

Just for kicks, I tried this from the Windows shell. Sure enough, up
pops
a
security dialog box :-\. (BTW, this dialog box pops up every single time
I
attempt this command. Shouldn't there be an option to mark the
executable
as
trusted so that I don't have to go through this once I've already
indicated
that the command is safe?)

Anyway, how do I get around this for WindowsVista? Is it a matter of
signing our application code so that it will have a higher level of
trust
under WindowsVista?

Thanks for your advice!

- Joseph Geretz -


Joseph, please let me know if you finally overcame the problem with /
RegServer.
Signing of EXE doesn't help...
Thanks
Simon






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:00 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2024 Vista Banter.
The comments are property of their posters.