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
- :
- UseDll function doesn't work for 64 bit dlls
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
‎Jun 19, 2008
06:24 AM
UseDll function doesn't work for 64 bit dlls
Hi
I've a dll containing many functions that I can easily call and use in the Installscript on 32 bit machines. When I compile this dll for 64 bit machine and run the installer there, the function UseDll fails. Any idea how to fix it.
Btw has anyone has any luck with their problems here. I've been posting many problems regarding installers for 64 bit windows, but I've not got any useful response yet.
Regards
Usman
I've a dll containing many functions that I can easily call and use in the Installscript on 32 bit machines. When I compile this dll for 64 bit machine and run the installer there, the function UseDll fails. Any idea how to fix it.
Btw has anyone has any luck with their problems here. I've been posting many problems regarding installers for 64 bit windows, but I've not got any useful response yet.
Regards
Usman
(8) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2008
02:16 PM
Have you tried loading and running your 32 bit version of the DLL on your target platform to see what happens?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2008
04:45 PM
see this post regarding 64 bit installation mode:
http://community.macrovision.com/showthread.php?p=419492#post419492
http://community.macrovision.com/showthread.php?p=419492#post419492
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2008
04:52 PM
We should ask InstallShield to provide the ability to target 64 bit systems with a single click as InstallAware is offering.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 20, 2008
05:17 AM
TheTraveler wrote:
Have you tried loading and running your 32 bit version of the DLL on your target platform to see what happens?
Yes the 32bit version of Dll gets loaded fine. What I guess is the reason for it is that the "Setup.exe" itself is running as a 32 bit process (you can check from task manager) on the 64 bit machine. So a 32 bit process can never load a 64 bit Dll. What I believe Installshield should have done is
1. when someone builds an Installshield project with x64; flags in project settings, the output setup.exe should be build as a 64 bit exe. That can run on 64 bit machine. Or
2. if its too much of work for them, they could have given a UseDll64 type of function as an alternative for UseDll for 64 bit machines, just like other constants e.g. WINSYSDIR64, PROGRAMFILES64.
I've had no luck so far with the installers on 64 bit machines. Hope someone could tell me of a workaround for it.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 20, 2008
05:21 AM
shanno wrote:
We should ask InstallShield to provide the ability to target 64 bit systems with a single click as InstallAware is offering.
I haven't used Installanywhere, but even if having a single Installer for 32 and 64 bit machine is not possible, atleast if a single Installshield project could generate output setups for both 32bit and 64bit without having to alter the Installscript code with workarounds, would be a lot easier for customers.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2008
01:18 PM
usmanjamil wrote:
I haven't used Installanywhere, but even if having a single Installer for 32 and 64 bit machine is not possible, atleast if a single Installshield project could generate output setups for both 32bit and 64bit without having to alter the Installscript code with workarounds, would be a lot easier for customers.
Here I am talking about InstallAware, which has this feature up and running.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2011
02:55 PM
any solutions to this problem?