|
| |||||||||
| Tags: activex, regsrv32 exe, windows vista, windows xp |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| 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? |
|
#2
| |||
| |||
| RE: 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/ |
|
#3
| |||
| |||
| Re: Problems installing our software on Windows Vista
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
| |||
| |||
| Re: Problems installing our software on Windows Vista
Joseph, please let me know if you finally overcame the problem with / RegServer. Signing of EXE doesn't help... |
|
#5
| |||
| |||
| Re: 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? |
|
#6
| |||
| |||
|
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. Try disabling UAC to see if it will install. |
|
#7
| |||
| |||
| Re: Problems installing our software on Windows Vista
"Hugh" left the room TWO YEARS AND SIX MONTHS ago and has never returned. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Problems installing our software on Windows Vista" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NSIS error while installing Sony Ericsson's “update service” software in windows vista | Forrest Ranger | Windows Software | 4 | 07-01-2012 04:27 PM |
| After installing Windows 7, the touchpad on my laptop stopped working .want to port vista software to windows 7 | Dalapathi | Operating Systems | 4 | 07-03-2011 11:55 AM |
| Problems with installing software needs MDAC | akaler | Operating Systems | 1 | 29-11-2010 05:41 PM |
| Problems installing any type of Software or applications | Amitgujaran | Windows Software | 3 | 15-12-2008 07:40 PM |
| Problem installing ISP software on Windows Vista run PC | Joe C | Networking & Security | 2 | 25-01-2008 05:41 PM |