Page 1 of 1

Installer question

Posted: Fri Aug 07, 2009 3:15 am
by Paul
Since there is a separate inpout dll for 32 and 64 bit systems, will my .net winforms setup project require 2 versions, one for 32 and one for 64 bit? The user would download the correct version for their system.

Re: Installer question

Posted: Fri Aug 07, 2009 3:22 am
by phil
Yes its a bit complicated with .NET apps that can run either x64 or x86. To do it properly, you need both DLLs (x86 and x64) shipped with your app - and you need to work out which one to load at runtime.

If indeed you intend to let the app run natively (rather than forcing it to run in x86 mode no matter what CPU/OS its running on) then your app will have to work out which DLL to load at runtime based on the operating environment. I'm sure I have managed to do this and I think the example are on my download page but I'm not 1005 sure on that and its too late right now for me to go looking!

If you need assistance in working out which DLL to load dynamically, then give me a shout.

Thanks,
Phil

Re: Installer question

Posted: Fri Aug 07, 2009 3:25 am
by Paul
Ok, I think I've got it. I'm sure it will take some cut and try though to work it out.