This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to register COM DLL on Vista without errors
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 18, 2007
04:20 PM
How to register COM DLL on Vista without errors
We have a couple COM DLL's we need to register and just use the automatic registration provided by InstallShield.
However on Vista it fails due to User Access Control.
I tried running the installation setup.exe with "Run as Admin" but registration still gets an error.
How do I do this properly on Vista.
XP works fine and I assume if I shut UAC off it would work fine but I'm nnot asking users to do that.
This is a Hybrid InstallShield/MSI install.
However on Vista it fails due to User Access Control.
I tried running the installation setup.exe with "Run as Admin" but registration still gets an error.
How do I do this properly on Vista.
XP works fine and I assume if I shut UAC off it would work fine but I'm nnot asking users to do that.
This is a Hybrid InstallShield/MSI install.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 19, 2007
09:34 AM
This sounds more likely to be due to Windows Resource Protection on Vista, which prevents even the administrator account from modifying certain registry keys. See http://community.installshield.com/showthread.php?t=168541 or other threads for more detail.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 19, 2007
04:59 PM
Yes of course is. It's all related to UAC.
InstallShield needs to figure out how to deal with it.
That thread is confusing 2 issues.
One is improper distribution of microsoft DLL's the other is registering ANY COMM DLL.
I can't register my OWN Comm DLL's with out errors on Vista.
If I run a DOS Box in admin mode I can use regsvr32 (with user permission given to DOS Box from user).
I have tried running setup.exe as admin but still get the error.
InstallShield needs to figure out how to deal with it.
That thread is confusing 2 issues.
One is improper distribution of microsoft DLL's the other is registering ANY COMM DLL.
I can't register my OWN Comm DLL's with out errors on Vista.
If I run a DOS Box in admin mode I can use regsvr32 (with user permission given to DOS Box from user).
I have tried running setup.exe as admin but still get the error.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 23, 2007
11:26 AM
In what manner does it fail? Can you see anything useful if you compare a Regmon or Process Explorer registry log from the command prompt version with the installer version? What are some of the keys from your DLL it tries to write and fails?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 24, 2007
01:07 AM
In vista setup runs in always administrator mode so register files simply using the regsvr32 and then run the setup. I have used like this and it works.