PDA

View Full Version : Register ActiveX in Hybrid / 64 bit



Noyantis
12-12-2009, 10:20 AM
Hi All,

Sorry if this has been asked before....

I've just changed our install scripts from Windows 32 Bit to Hybrid 32 / 64 Bit.

Now, when the final install exe is run on a Windows Vista 32 Bit PC all is fine and an ActiveX control that is part of the install is correctly registered within windows.

If I run the same install exe on a Windows 7 64 Bit PC, the ActiveX control isn't registered.

I tried changing the install script to generate a 64 Bit install exe but this still didn't work.

The installer was being run as Administrator duing the tests.

I know its probably me who'd missed out one of the settings but which one?

Thanks in advance,

Regards,

Andy

linder
12-12-2009, 10:29 AM
Andy,

I assume your application and ActiveX is NOT native 64-bit. If you set your installer to Hybrid (32/64-bit) then it is running in 64-bit mode on 64-bit Windows operating systems (to allow 32-bit and 64-bit versions of the application to install on 32-bit and 64-bit Windows from the same setup.exe).

Because your ActiveX is NOT 64-bit, the 64-bit installer can't register it. In other words, if your application is 32-bit then only use the 32-bit installer.

Does this help?

Friedrich

Noyantis
12-12-2009, 10:33 AM
Hi Friedrich,

Yes, that kinda makes sense - obvious when you think about it - sorry for wasting your time :)

Thanks for the quick response - its much appreciated.

Regrds,

Andy