32-bit Installation on 64-bit machines - Advanced Installer Community
JFRayfield
Posts: 3
Joined: Wed Sep 24, 2014 7:05 pm

32-bit Installation on 64-bit machines

I'm a bit confused as to how I should set up an installation program for my application. I'm really just starting out with Advanced Installer (although I purchased it quite some months back).

My application is written in VB6 and has a pretty large collection of dll's (.dll, .ocx, etc). Some of these .dll's need to be registered in Windows and some of them don't need to be registered. This application and all of the dll's are 32-bit.

I've managed to create an install package that will install just fine on a 32-bit machine (Windows XP or Windows 7 Pro 32-bit).

I ended up having to manually figure out what dependency files needed to go into what folders. Is there any way to automate this (automatically determine what Windows files my application needs), from within Advanced Installer?

But, I need to create an install package that will install on Windows 7 Pro 64-bit, too.

Should I create a 32/64-bit Mixed installation package?

When setting up a 32-bit application, to be installed in Windows 7 Pro 64-bit, should .dll's be installed into the \SysWow64 folder or should they still be installed into the \system32 folder?

Am I correct that 32-bit application files should be installed into \Program Files (x86), rather than the \Program Files folder?

John
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: 32-bit Installation on 64-bit machines

Hello John and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.
I ended up having to manually figure out what dependency files needed to go into what folders. Is there any way to automate this (automatically determine what Windows files my application needs), from within Advanced Installer?
Yes, this can be done using our "Add Dependencies" support. Just go to "Files and Folders" page, select your application files and from its context menu choose "Add Dependencies..." option. This option is available only for DLL and EXE file types.
Should I create a 32/64-bit Mixed installation package?
You should create 32/64-bit mixed package type only if you have two flavors for your application: a set of 32-bit application files and a set of 64-bit application files. If you have created your application as a 32-bit application, then you should create a 32-bit package type.
When setting up a 32-bit application, to be installed in Windows 7 Pro 64-bit, should .dll's be installed into the \SysWow64 folder or should they still be installed into the \system32 folder?
A 32-bit application should be installed in the redirected 32-bit locations (on 64-bit machines), e.g. "SysWOW64", "Program Files (x86)", etc.
Am I correct that 32-bit application files should be installed into \Program Files (x86), rather than the \Program Files folder?

Yes, on 64-bit machines a 32-bit application should be installed under "Program Files (x86)" folder.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JFRayfield
Posts: 3
Joined: Wed Sep 24, 2014 7:05 pm

Re: 32-bit Installation on 64-bit machines

So, I'm going to create a Professional Installation Package for my VB6 32-bit application.

I have some files that are installed into the follow folders, on a 32-bit machine:

\Program Files\Common Files\Microsoft Shared\DAO\DAO2535.TLB
\Program Files\Common Files\Microsoft Shared\DAO\DAO350.DLL

\Program Files\System\ado\msado25.TLB
\Program Files\System\ado\msjro.dll

I also have a large number of files that are installed into the following folder:

\Windows\System32

If I set all of this up, with the above folders, when the installation is done on a 64-bit machine (running 64-bit OS), will the proper 're-directions' take place, such that my 32-bit application will be installed into the proper folders on the 64-bit machine?

John Rayfield, Jr.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: 32-bit Installation on 64-bit machines

Hello John,

First of all I apologize for my delayed reply. I was out of the office for a couple of days.

Yes, the related locations should be redirected to "Program Files (x86)" and "SysWOW64" locations on 64-bit machines. Just make sure the "Package type" option from "Install Parameters" page is set to "32-bit package" option. Also, please take a look on our "Packages Types" article which should be useful for you.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”