How to register 32 bit ActiveX under 64bit windows7
- Details
- Category: IT
- Published on Friday, 13 May 2011 03:57
- Written by Super User
- Hits: 173
Command line
C:\Windows\system32\regsvr32.exe "C:\Windows\system32\$FILE_NAME.ocx"
Inno
Source: "$PATH_TO_OCX.ocx"; DestDir: "{sys}"; Flags: sharedfile restartreplace sharedfile regserver; AfterInstall: MyAfterInstall;
[code]
procedure MyAfterInstall();
begin
RegisterServer(Is64BitInstallMode, ExpandConstant('{sys}\$PATH_TO_OCX.ocx'), False)
end;

