This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Driver installation of 32 or 64 DPinst installer
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 12, 2013
03:06 PM
Driver installation of 32 or 64 DPinst installer
Dear community,
All online solutions I had found so far to add a 32\64 driver related to a case where all files sit flat on a single folder thus enabling such solutions such setting it as prerequisite or a driver component. Alas the dpinst installer I have is signed in a way that it has to sub folders named x86 and x64. It also come with to executables, one for each platform type.
Is there a way a driver like this can be installed using installshield?
Thanks,
Asaf
All online solutions I had found so far to add a 32\64 driver related to a case where all files sit flat on a single folder thus enabling such solutions such setting it as prerequisite or a driver component. Alas the dpinst installer I have is signed in a way that it has to sub folders named x86 and x64. It also come with to executables, one for each platform type.
Is there a way a driver like this can be installed using installshield?
Thanks,
Asaf
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2013
05:38 AM
Can someone please validate my solution:
1. Add driver folder + 2 sub folders to Installed files
2. Create the Install script below
3. Add the Install script to the execution order, after all files are copied
Is that a good solution?
Thanks,
Asaf
1. Add driver folder + 2 sub folders to Installed files
2. Create the Install script below
3. Add the Install script to the execution order, after all files are copied
if( SYSINFO.bIsWow64) then
* if (LaunchAppAndWait (PROGRAM64, "/sw /se", WAIT) < 0) then
* * MessageBox ("failed installing " + PROGRAM64, WARNING);
* endif; *
else
* if (LaunchAppAndWait (PROGRAM32, "/sw /se", WAIT) < 0) then
* * MessageBox ("failed installing " + PROGRAM32, WARNING);
* endif; *
endif;
Is that a good solution?
Thanks,
Asaf
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2013
08:24 AM
I think your plan should work. I use InstallScript projects and have drivers with subfolders that are platform specific. I copy the driver's folder tree to a cache location (as you propose). In the root of that driver tree (where the INF file is) I install my setup application. Like you I have a x64 and a x86 setup application, both with the same name. The file component is marked for the platform so that on x64 only the SetupDriver.exe for x64 is installed. On x86 only the SetupDriver.exe for x86 is installed. The 'script' execution calls the same path\SetupDriver.exe in either case (which refers to the INF at the same location).
Driver Cache
SetupDriver.exe (x86 or x64 setup application, but not both, installed by a platform specific Component)
driver.inf
other platform neutral driver files.
x86Folder (with x86 driver files)
x64Folder (with x64 driver files)
Driver Cache
SetupDriver.exe (x86 or x64 setup application, but not both, installed by a platform specific Component)
driver.inf
other platform neutral driver files.
x86Folder (with x86 driver files)
x64Folder (with x64 driver files)