prasanth.tech
Posts: 35
Joined: Wed Oct 28, 2015 5:53 am

Problem installing driver for mixed platform

Hi,

I have an AI(AdvancedInstaller) which need to install binary files and driver packages intended for 32-bit and 64 bit platform. I have problem installing driver in 32 bit platform. I will describes the steps, how I added drivers to Installer.


1) I have created two separate folders (say, X86 and X64 in "[Windows Volume]\MyApp" in "Resources>>File and Folders" from IDE ) and these folders contains driver corresponding to platforms 32/64 bit platform.

2). In "Drives" view in IDE, I added INF files from these locations. So now 'Drivers' view list two INF files with same name. I have same name for sys, inf and cat files for different platform.

3). I changed the 'Package Type' to 'Mixed 32/64-bit Matching the platform'. Then a Wizard pops-up and I selected files corresponds to 64 bit platform. This includes 64 bit driver INF file. As next, it shows list of files for 32 bit platform. I checked the option for installing these files on 64 bit also. But I need same location "[Windows Volume]\MyApp" for both 32 and 64 bit.

QUESTION No1: In the step 3, while selecting files for 32 bit, it asked for checking a check box to use these files for 64 platform also. I checked that option, because i need these 32 bit binaries for both 32 and 64 bit platform. But it provide an edit box which shows a folder name "32 bit". But I use same installation location for binaries on both 32 and 64 bit platform. How to skip this folder name "32 bit"?

QUESTION No 2: When I installed the setup on 64 bit machine, the driver is installed correctly. But on 32 bit platform/machine, driver is not getting installed. Any idea what is the cause? Also please let me know whether the step in 4 is the standard method for installing different drives based on platform 32/64 bit.

Thanks,
Prasanth
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problem installing driver for mixed platform

Hi Prasanth,
QUESTION No1: In the step 3, while selecting files for 32 bit, it asked for checking a check box to use these files for 64 platform also. I checked that option, because i need these 32 bit binaries for both 32 and 64 bit platform. But it provide an edit box which shows a folder name "32 bit". But I use same installation location for binaries on both 32 and 64 bit platform. How to skip this folder name "32 bit"?
If you don't want to create the related "32 bit" folder on the target machine then you can enable the Install folder content into the parent folder option from the folder properties. You can also take a look on the How to install two files with the same name in the same folder? article which may be useful to you.
QUESTION No 2: When I installed the setup on 64 bit machine, the driver is installed correctly. But on 32 bit platform/machine, driver is not getting installed. Any idea what is the cause? Also please let me know whether the step in 4 is the standard method for installing different drives based on platform 32/64 bit.
To install a different driver based on the platform type, please follow the steps from the How do I install drivers in a mixed package? article.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prasanth.tech
Posts: 35
Joined: Wed Oct 28, 2015 5:53 am

Re: Problem installing driver for mixed platform

Thanks!
It worked for both 64 and 32 bit platform!

Best regards,
Prasanth
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problem installing driver for mixed platform

You're welcome Prasanth,

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problem installing driver for mixed platform

Hi Tibi and welcome to Advanced Installer forums,

I'm not sure I fully understand your question. Can you please be more specific?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”