ODBC DataSource 64 Bit - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

MaximeChamley
Posts: 8
Joined: Tue Mar 24, 2009 7:48 am

ODBC DataSource 64 Bit

Hi,

When we add a ODBC datasource, we can't choose the operating system processor type.
In mixed 32/64 bit package it becomes an issue because we can't add x64 datasource, only x86.

Thank you.
Maxime
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: ODBC DataSource 64 Bit

Hello,

I am not exactly sure what you are trying to do.
Could you explain in more detail?

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
MaximeChamley
Posts: 8
Joined: Tue Mar 24, 2009 7:48 am

Re: ODBC DataSource 64 Bit

Hello,

The package type is set to “64-bit package for x64 processors (AMD64)”.

When you want to add some files (Files and Folders), you can choose the Program Files 64 or 32 and the system file depending of what you want to install.

For a registry key it’s a little more complicated : the x64 registry is the “Current user/Local machine” and if you write a key directly in “HKLM/Software”, the key will be written under the 32 registry.
I’m pretty sure that you should use the same structure that the “Files and Folders”, it would be easily…

Well the main issue is for ODBC source: You can just add a “Data Sources” but you cannot select if this will be a x64 Source or x32 Source => The ODBC source is automatically created under the x32 ODBC sources. So if I want to use a source into x64, I have to create this one manually after the installation…
To remember you, when you create manually a source in x64 operating system you launch “System32\odbcad32.exe” for x64 and “SystemWow64\odbcad32.exe” for x32.

You can understand it’s a big missed for all x64 installers. Or maybe, we missed something.
Many Thanks,
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: ODBC DataSource 64 Bit

Hello,

There are no 64bit/32bit ODBC DataSources. It all depends on where they are placed in your installer project. You should place them in a 64bit location.
The following article describes the 64bit locations and their associated properties:
http://www.advancedinstaller.com/user-g ... paths.html

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
MaximeChamley
Posts: 8
Joined: Tue Mar 24, 2009 7:48 am

Re: ODBC DataSource 64 Bit

What about that ?

Image


64-bit DataSource are not the same that 32-bit DataSource on Windows operating system.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: ODBC DataSource 64 Bit

Hi,

Please note that the data source driver determines if it's 32-bit or 64-bit. So if you are using a 32-bit driver, the data source will also be 32-bit.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MaximeChamley
Posts: 8
Joined: Tue Mar 24, 2009 7:48 am

Re: ODBC DataSource 64 Bit

And what if I want to configure a 32-bit ODBC datasource and 64-bit ODBC datasource for 32/64-bit mixed package ?

I can't select 64 bit driver name, only one kind of them according to my operating system.
How to create both in one package, and how to configure that on Advanced Instaler.
Please be more accurate...
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: ODBC DataSource 64 Bit

Hi,
And what if I want to configure a 32-bit ODBC datasource and 64-bit ODBC datasource for 32/64-bit mixed package ?
For this you can create two different data sources: one for 32-bit which uses a 32-bit driver and one for 64-bit which uses a 64-bit driver. In the Organization page you can move each data source component into the corresponding 32-bit or 64-bit feature. If you don't have 32-bit and 64-bit features (they are created using the mixed 32/64-bit package wizard) you can condition the data source components with VersionNT64.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MaximeChamley
Posts: 8
Joined: Tue Mar 24, 2009 7:48 am

Re: ODBC DataSource 64 Bit

Oh okay I didn't try with "Organization" page.
Topic close, thank you for your support.

Return to “Common Problems”