Hybrid x86 and 64bit Single Installer - HELP!!

Got a problem you cannot solve? Try here.
iainmac1000
Posts: 15
Joined: Sat Jul 09, 2011 2:43 am

Hybrid x86 and 64bit Single Installer - HELP!!

Postby iainmac1000 » Sat Mar 10, 2012 7:27 am

Hello,

I am currently evaluating InstallShield Express with some difficulty, so I'm back trialling Installaware 2012 Express!!
Here's what I want to do with a single installer :-

1) Install my x86 app.exe in the correct <Program Files> folder on both x86 and 64bit OS i.e. the app.exe is installed on the <Program Files (x86)> folder on the 64bit OS
2) My app.exe requires vc++ 2008 redistributable, so on the x86 OS I want to install vc++2008, and on the 64bit OS, I want to install the vc++ 2008(x64)

Basically, this is all I I want to do with the installer(ok, just add a couple of help files and a font etc..etc).

Is there a wizard or template or example I can review that does this?

In your product comparison screen it states that 2012 express can produce "Hybrid 32bit /64bit single file installer". This seems to be exactly what I want!!

I've tried selecting 32bit, then the 64bit templates - no progress. Why is there no hybrid template??
I've also tried selecting 64bit OS in Application Runtimes, but then my installer does not run in my 32bit OS.

Please help!!

Regards,
Iain....

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Hybrid x86 and 64bit Single Installer - HELP!!

Postby FrancescoT » Mon Mar 12, 2012 5:45 am

Dear Iain,

are you doing something like this to set ProgramFiles folder?

Set Variable ISWINDOWS64BIT to FALSE
Get System Setting Windows in 64 bit Mode into ISWINDOWS64BIT
if Variable ISWINDOWS64BIT Equals TRUE
Set x64 - Native 64 bit Windows, AMD64 and EM64T Architectures - installation mode
else
Set Win32 - Native 32 bit Windows and Windows 32 on Windows 64 (WOW64) - installation mode
end

Get Folder Location System->Program Files Directory into PROGRAMFILES

Set 64 Bit Mode (Press F1 in IA Ide)
This command determines the processor architecture used by the installation. This command may be used to set processor architectures while setup is already running on the target system, making it possible to ship a single installer for both 32 bit and 64 bit Windows, switching by processor architecture at runtime.

Anyway if you have a look to Win64 setup template in InstallAware, just with simple modifications as above allows you to do it.
I suggest to you also to search in forum for "32/64" or "Hybrid install", the argument has been well covered with other users.

Hope this helps you.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

iainmac1000
Posts: 15
Joined: Sat Jul 09, 2011 2:43 am

Re: Hybrid x86 and 64bit Single Installer - HELP!!

Postby iainmac1000 » Tue Mar 13, 2012 3:54 am

Hello Francesco,

Thankyou for your reply.
Sorry, but this does not help at all. I am a real novice with Installaware.

Do I have to script a 32/64 bit single installer?

Do you not have a simple example that I can have for review?

Regards,
Iain...

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Hybrid x86 and 64bit Single Installer - HELP!!

Postby FrancescoT » Tue Mar 13, 2012 6:16 am

Dear Iain,

I will try to give you a project sample, but please you must be patient because as you can well understand, you're not the only one to whom I must answer.

By the way, because you are novice to InstallAware, I still suggest to you to have a look to the provided docs, online or from IDE Help and forum topics about the argument ... that are available.

I will try to be back to you when for me possible.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Hybrid x86 and 64bit Single Installer - HELP!!

Postby FrancescoT » Thu Mar 15, 2012 9:29 am

Dear Iain,

Attached you will find a a very simple template project, that executes an install on x86 or x64 Win OS, using the same setup exe.

The project demonstates how to install a 32 bit or 64 bit application (depending on the target operating system) and how to direct correctly REG KEY Values.
The sample adds a simple key to "HKLM\software\3264Setup".

The project includes the ready to use setup exe as well. If you need to build on your site, please adjust used files path accordingly with your environment.

Hoping that this will clarify all your doubt.

Regards
Attachments
3264Setup.zip
(2.37 MiB) Downloaded 1320 times
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 196 guests