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
Problem with activeX
Re: Problem with activeX
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.
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.