PDA

View Full Version : Seperate 3rd Party DLLs for 32bit and 64bit - One installer possible?



NewsArchive
08-03-2016, 03:04 PM
While obviously our Clarion application is 32bit, we have 3rd party
ActiveX dlls that are different dependant on 32/64 bit installations.
Yes - we have tested, the 64 bit fails on WIndows32 and the 64bit fails
on Win64.

Is it possible in SetupBuilder to take care of whichever is the case
and install/register the correct DLLs with just a single SB
installation file?

Thanks

Andy

NewsArchive
08-03-2016, 03:05 PM
Andy,

yes, this is possible. Friedrich will be back on Friday and will answer your
question in detail.

Andrea

NewsArchive
08-05-2016, 09:32 AM
Thank you Andrea.

Andy Morgan

NewsArchive
08-08-2016, 06:39 AM
Hi Andy,

> While obviously our Clarion application is 32bit, we have 3rd party
> ActiveX dlls that are different dependant on 32/64 bit installations.
> Yes - we have tested, the 64 bit fails on WIndows32 and the 64bit fails
> on Win64.
>
> Is it possible in SetupBuilder to take care of whichever is the case
> and install/register the correct DLLs with just a single SB
> installation file?

Absolutely no problem with SetupBuilder 10 Developer Edition. To install
(and automatically register) a 32-bit component on x86 and a 64-bit
component on x64 machines for a 32-bit installation type, you can simply
switch into 64-bit mode before you install the component(s).

See attached screenshot. You detect the Windows 64-bit status (Line 71).
If the 32-bit installer is running on a 64-bit Windows operating system
(Line 74) then you switch it into 64-bit processing mode (Line 75).

Now let us install/register your components depending on "the bitness" of
the Windows operating system. If it is 32-bit (Line 78) then you
install/register the 32-bit file (Line 80) in the 32-bit System32 folder.
If it is 64-bit (Line 81) then you install/register the native 64-bit
component in the 64-bit System32 folder.

After this, if the Windows operating system is 64-bit (Line 87) then you
disable 64-bit processing mode (Line 88).

BTW, don't forget to mark the "Register as OCX/DLL/EXE/TLB" option in the
Advanced File Properties ([SelfReg]).

SetupBuilder 10 does all the dirty work for you :-)

Does this help?

Friedrich

NewsArchive
08-09-2016, 10:28 AM
Very helpful - Thanks Friedrich.!

Andy Morgan