cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Pavel_Verevkin
Level 2

64-bit DLLs with InstallShield 2011

Can I load 64-bit DLLs with InstallShield 2011 Pro (UseDll) and call functions from them from InstallScript?
Labels (1)
0 Kudos
(3) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

No, the engine runs in 32-bit at this time, and cannot load 64-bit DLLs. We are tracking this possible enhancement in some future release under 1-76ILO.
0 Kudos
Pavel_Verevkin
Level 2

That is really unfortunate. We absolutely need this feature. The decision about purchase of InstallShield 2011 by our corp is NEGATIVE because of the lack of this feature alone.
0 Kudos
MichaelU
Level 12 Flexeran
Level 12 Flexeran

Sorry to hear it. We are experimenting with possible ways to implement this, but thunking and marshaling between 32-bit and 64-bit processes is difficult to do for arbitrary variable types. If you could share more about what sort of interaction you need with your .dll, it might help us prioritize aspects of this marshaling layer.

In the meantime, if you need very little code interaction, can you use LaunchApplication with RunDll32 (note you'll probably have to Disable(WOW64FSREDIRECTION) in order to get the 64-bit version of RunDll32) to "launch" your .dll, or some other custom exe wrapper for your .dll?
0 Kudos