sally0108
Posts: 3
Joined: Thu Feb 28, 2013 11:20 pm

Need to install drivers to system32 on both 32/64 installs

Ok - I'm pretty new to Adv Installer -- but I have an old VB6 application that requires some of the .dll and .ocx files to be in the windows/system32 directory -- even on 64 bit machines. VB6 has the directory structures hardcoded for these components.

so -- if I create package as a 32 bit -- the system directory is system32 when installing on a 32 bit machine -- but Syswow64 on a 64 bit machine.

What I believe I need to do is just install the libraries to both the System and System64 folders -- and on 64 bit machines it will be in both folders-- and on 32 bit machines it will be where it needs to be in the System32 fiolder.

can this be accomlished??
Thanks!
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Need to install drivers to system32 on both 32/64 instal

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you should use a "Mixed 32/64-bit matching the platform" package type and add the 32-bit files in "System" folder and the 64-bit files in "System 64" folder. Then, in "Organization" page you should use a condition like this:

Code: Select all

NOT VersionNT64
for 32-bit files components, and a condition like this:

Code: Select all

VersionNT64
for 64-bit files components.

Also, you can take a look on our "Folder Paths" and "Packages Types" articles 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
sally0108
Posts: 3
Joined: Thu Feb 28, 2013 11:20 pm

Re: Need to install drivers to system32 on both 32/64 instal

under the "Install Parameters" tab - on the "Package type" drop down - I only have the options for:

32-bit package
64-bit package for x64 processors (AMD64,EM64T)
64-bit package for Intel64 (Itanium) processor
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Need to install drivers to system32 on both 32/64 instal

Hello,

Please keep in mind that our "Mixed 32/64-bit installers" feature is available only in a "Professional" or higher project type. You can upgrade your current project type from "Home -> Options -> Project Type" tab.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sally0108
Posts: 3
Joined: Thu Feb 28, 2013 11:20 pm

Re: Need to install drivers to system32 on both 32/64 instal

found it under "Project / Objects /Product Type "... thanks - never knew that was there!
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Need to install drivers to system32 on both 32/64 instal

You're welcome.

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”