tom
Posts: 1
Joined: Tue Dec 08, 2009 8:44 pm

DIFx for x86 and x64

Hi,

I would like to create a single installer package which would support installing of a driver for x64 and x32 platforms. The problem is that if I select Package Type to be Mixed32/64 no matter what I do AI will
always include only 32 bit DIFx files. If I select package type that supports only 64 bit systems proper DIFx dll are taken.

1. Is it possible to make such project in AI
2. What steps needs to be taken to do that
3. How can I set which DIFx (64 or 32 bit) will be used for individual components

Thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: DIFx for x86 and x64

Hello Tom,

This is a limitation in Advanced Installer. We are aware of it and a fix will be released with a future version.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
linggol
Posts: 13
Joined: Tue Apr 21, 2009 4:19 pm

Re: DIFx for x86 and x64

Hi,
is the limition still valid for the new version. This causes a lot of additional work for us.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: DIFx for x86 and x64

Hello,

I am afraid this feature is still unsupported. We have however increased our priority and will make this feature available in a future version of Advanced Installer.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
linggol
Posts: 13
Joined: Tue Apr 21, 2009 4:19 pm

Re: DIFx for x86 and x64

Hello,
is it possible to install a driver on x86 platforms but not on x64 platforms in the same installer project. AFAIK, the 32-bit DIFx libraries get always "initialized", even if the driver is not installed and because of that the setup fails on x64 machines.
Is this correct or can we solve the problem by simply not installing the driver on x64 systems?
Thanks in advance,
Oliver.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: DIFx for x86 and x64

Hi Oliver,

You can condition the installation of a driver by placing a condition on the component containing the driver. If you wanted the driver not to install on 64bit systems, the condition would look something like:

Code: Select all

NOT VersionNT64
Please let me know how this worked for you.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
linggol
Posts: 13
Joined: Tue Apr 21, 2009 4:19 pm

Re: DIFx for x86 and x64

Hi Gabriel,
unfortunately it didn't work. It seems that the DIFx libraries are still loaded even though the component is not visible anymore in the custom install window.
I added the MSI log file - please see line 1955:
ENTER: ProcessDriverPackages()
DIFXAPP: ERROR - You need to use the 64-bit version of DIFXAPP.DLL to install drivers on this machine.
CustomAction MsiProcessDrivers returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 13:45:43: MsiProcessDrivers. Return value 3.

In line 1269 I can see that the feature containing the driver is actually turned off:
MSI (s) (20:14) [13:45:39:390]: Feature: ftdi; Installed: Absent; Request: Null; Action: Null
Attachments
setup.log
(520.97 KiB) Downloaded 992 times
chdcov
Posts: 1
Joined: Thu Feb 11, 2010 11:41 am

Re: DIFx for x86 and x64

Hello Oliver and Gabriel,

Using Advanced Installer 7.5, I encountered the same problem, either by placing a condition on the driver component, or making a specific build.
The only way is to make a separate project.

It would be nice if we could enable/disable each driver package for specific builds.

Best Regards,
Christian
wraakh
Posts: 3
Joined: Thu Jan 14, 2010 1:34 pm

Re: DIFx for x86 and x64

I find the same problem in 7.5.2... emailed the support about it.
Brestian
Posts: 1
Joined: Fri May 28, 2010 9:10 am

Re: DIFx for x86 and x64

Hello!

What about version 7.6.1 ... does it support now the mixed 32/64 bits packages with correct DIFXAPP versions loaded?

Thx
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: DIFx for x86 and x64

Hello,

I am afraid this feature can not be supported with mixed 32/64bit packages.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
orko
Posts: 5
Joined: Wed Jun 09, 2010 8:52 pm

Re: DIFx for x86 and x64

Bummer! I read to the end of this thread hoping it would end with a solution. :-(

So this appears to still be a known issue in AI v7.7? If so, are you still planning on supporting this in a future release?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: DIFx for x86 and x64

Hello,

I'm afraid the feature itself can not be implemented due to technical reasons. Microsoft not supporting mixed 32/64bit packages forced us to implement this feature ourselves, however that's about as much as we can do without Windows Installer's support.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
AdeRickus
Posts: 4
Joined: Mon Feb 19, 2007 11:33 am
Location: UK
Contact: Website

Re: DIFx for x86 and x64

Im Afraid this issue has lost you the support of our company,

We are now in a position where we have to use a new installer,

im sure we are not the only ones

thanks for your support on previous matters
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: DIFx for x86 and x64

Hello,

Thank you for your feedback. We managed to find a solution to this issue. It will be available in Advanced Installer 8.1.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”