Loading
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:

  • 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.
    Expand Post
  • 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.

Loading
About register DLL/OCX files in windows 7