views:

37

answers:

3

I recently compiled a vb6 application with inno setup that when i install, works fine on winxp when i tried it on vista, i got error message

alt text

i noticed it was a dll registration problem, so i try to register the dll manually to see if it corrects the problem. when i tried that, i got this error

alt text

is there anyway i can correct the problem?

A: 

It's a permissions issue. Try the following:

Register the component from an elevated command prompt. Right click on the icon for Command Prompt on the start menu and select Run as Administrator. You will be prompted by UAC to approve the elevation. Once the command prompt window is open, run your regsvr32 command from that window and it should succeed. Source: http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.vb/2009-10/msg00002.html

You can also try running the installer you just created with administrative privileges (same procedure as above). I hope that helps.

Abelardo Cecena
the installer is running under administrative privileged. what now?
Smith
What about manually installing the dll using elevated command prompt? You need to be shure there are no dependencies missing or any other problem before we move to fixing the Inno Setup script.
Abelardo Cecena
yes no dependency missing, and am using vista business with administrator account.
Smith
A: 

The Vista computer might not have ActiveX Installer Service installed/enabled, see Implementing and Administering the ActiveX Installer Service for detail instructions.

Vantomex
A: 

Looks like you solved your own issue on another message board? Just pointing out that it is the same question on the same day.

http://www.vbforums.com/showthread.php?t=630311

Jeff