PDA

View Full Version : 64-bit DLLs with InstallShield 2011



Pavel Verevkin
09-08-2010, 04:58 PM
Can I load 64-bit DLLs with InstallShield 2011 Pro (UseDll) and call functions from them from InstallScript?

MichaelU
09-09-2010, 11:27 AM
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.

Pavel Verevkin
09-15-2010, 01:53 PM
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.

MichaelU
09-17-2010, 11:04 AM
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?