PDA

View Full Version : 32/64 -bit Hybrid installations.



mikedoris
06-27-2008, 05:23 AM
Hi,
We are currently evaluating SetupBuilder. Our 'package' needs to deploy 32 and 64-bit binaries.

I've changed the installer type to "Windows 32/64-bit Hybrid' but I can't figure out how to target the two "Program Files" directories (typically "C:\Program Files (x86)" and "C:\Program Files").

I can right click on a feature in the files and folders pane and select add CSIDL. I don't get the option to add CSIDL_PROGRAM_FILESX86 which microsoft define here :

http://technet2.microsoft.com/WindowsVista/en/library/3f1be40e-70c6-462c-9e8f-591d14d875cd1033.mspx?mfr=true

Could somebody suggest a method.

Many thanks,

Mike Doris

andrea
06-27-2008, 05:37 AM
Mike,

Good question. I have to check this with our development...

andrea
06-27-2008, 05:59 AM
Mike,

I have attached a "quick and dirty" 3264BIT.sb6 demo project. The "hybrid" installer runs in 64-bit mode on x64 machines. It installs Image1.bmp into the (32-bit) c:\program files(x86) and Image2.bmp into the (64-bit) c:\program files folder

See script lines 35-39 and 72+

Does this help?

mikedoris
06-27-2008, 09:16 AM
Hi Andrea,

Thanks for your quick response. I think that will probably do the trick but I'm unable to test the project as I get the following compilation error. I'm evaluating the professional version which I downloaded from here ->

http://www.lindersoft.com/downloads_evaluation.htm

I'm I unable to evaluate installations targetting 64-bit windows.

Many thanks,

Mike D

------ Build started: Project: 3264BIT.sb6, Configuration: Release Win64 ------

SetupBuilder (tm) Script Compiler and Linker for Windows (32/64 Bit)
Copyright (c) 1997-2008 Lindersoft
SetupScript (tm) Installation Script Language
Copyright (c) 2003-2008 Lindersoft
All rights reserved.

Professional Edition Version 6.8.2266
SetupBuilder EXE (SBEXE) Compiler Version: 6.8.2266

Fatal Compiler Error: x64 compiler is not available in the Clarion or Professional versions of the SetupBuilder Installation System

--------------------------------------- Done ---------------------------------------

3264BIT.sb6 - 1 error(s), 0 warning(s)

Compilation Time: 0 sec.
Date/Time: 6/27/2008 -- 4:09:22PM

------------------------------- Compilation finished -------------------------------

andrea
06-27-2008, 09:48 AM
Mike,

You are using the Professional Edition. Please download and install the Developer Edition flagship ;) The Professional Edition does not support 64-bit installations.