Problem with activeX

Common questions about using Actual Installer.
Post Reply
softsoap
Posts: 3
Joined: Wed Aug 18, 2010 7:14 pm

Problem with activeX

Post by softsoap »

Hi,

When I ask the installer to add an activeX i got a error message at the end of the installation

There is a problem starting C:\Program
The specified module could not be found

If I remove it and recompile it's working without error message.

Thank you
Soft
Leo
Site Admin
Posts: 458
Joined: Fri Jan 22, 2010 12:40 pm

Re: Problem with activeX

Post by Leo »

Yes, this is a known bug (for 64-bit Windows).

On 64-bit Windows there are 2 versions of regsvr32.exe .
The one located at "C:\Windows\SysWOW64" is 32-bit version.
The one located at "C:\Windows\System32" is 64-bit version.

So, to register DLL/OCX on 64-bit Windows, you need to make the following:
go to the "System-Commands" page and click "Add":

Command: <SystemDir>\cmd.exe
Parameters: /C IF EXIST "%WINDIR%\SysWOW64\Regsvr32.exe" ( "%WINDIR%\SysWOW64\Regsvr32.exe" "<InstallDir>\FILE.DLL") ELSE ( "%WINDIR%\SYSTEM32\Regsvr32.exe" "<InstallDir>\FILE.DLL")
Timing: After Installation
// <InstallDir>\FILE.DLL - it's DLL file.

Click "OK".

To un-register this DLL during Uninstallation add one command:
Command: <SystemDir>\cmd.exe
Parameters: /C IF EXIST "%WINDIR%\SysWOW64\Regsvr32.exe" ( "%WINDIR%\SysWOW64\Regsvr32.exe" /u "<InstallDir>\FILE.DLL") ELSE ( "%WINDIR%\SYSTEM32\Regsvr32.exe" /u "<InstallDir>\FILE.DLL")
Timing: After Uninstallation
// <InstallDir>\FILE.DLL - it's DLL file.
Leo,
Actual Installer Team
https://www.actualinstaller.com
Post Reply