cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Kevin_Zhuang
Level 2

About register DLL/OCX files in windows 7

Hi,
I made a InstallScript MSI Project in InstallShield 11.5, which has many DLL/OCX Files based on COM and need to be registered,it can be installed successfully in windows xp.
But in windows 7, it report some DLL/OCX files couldn't be registered successfully. HRESULT-2147220473.
I moved it to InstallShield 2010, the same problem.
What's going on? And what shall I do? Some special setting needed?
:mad:
Labels (1)
0 Kudos
(3) Replies
Videstra
Level 7

My guess is that your DLL/OCX files have dependencies that exist on the XP machines you installed on, but do not exist on the Windows 7 machines.
See if either file have .dep files that list the dependencies, and then include those you do not find existing on a clean Windows 7 installation. Be careful not to redistribute system files.
There are some dependency scanners out there that may help you out - something like:

http://www.heaventools.net/PE_Explorer_Dependency_Scanner.htm

My money is on missing dependencies.
0 Kudos
Christopher_Pai
Level 16

My money is on following best practices and not using Self Registration. Do your COM extraction at the time you author the installer and then you don't have to worry about out of process run time errors during the install.
0 Kudos
Kevin_Zhuang
Level 2

Hi,
I scaned these DLL/OCX files, and all suported files in windows 7.
I’m so confused...
Anyway, thank you.
0 Kudos