32 bit install on 64 bit machine
Posted 13 December 2011 - 17:25
This may seem like a daft question but if i have an exisiting install (created using Installshield 2010 Premier) that was written soley to install 32 bit files onto 32 bit systems should i need to update or change it if someone now wants to install onto a 64 bit machine, e.g. a machine with Windows 7?
I've noticed that files that I install to Windows\System32 on a 32 bit machine now seem to go to the Windows\SysWow64 folder on a 64 bit machine.
I have tried installing onto a Windows 7 machine and recieve a couple of failed to register messgaes, one for mfc40.dll and one for MSHFlxGd.ocx.
I think maybe mfc40.dll is somehow protected on the 64 bit machine and that is what is causing the problem (i'm guessing this). As for MSHFlxGd.ocx I googled some info that said this as a bug in Windows 7?
Any advice or information regarding any of these points wouls be much appreciated.
Posted 14 December 2011 - 15:39
However, from the registration problems your reporting, it sounds like in your case you should move those particular files from the system32 equivalent to your application's local BIN directory and then registering them from there instead. Either automatically like you do now and/or manually through "hard-coded" registry entries.
Hope it helps and let me know if you can provide further assistance.
Posted 15 December 2011 - 11:52
Thanks for your reply.
I've never worked out how to have local sets of files in application\BIN folders, is there a way of doing this for VB6 applications?
I've done it for .NET applications where it just seems to be the standard thing to do.
Also I've noticed that if I run my setup in compatibilty mode when I install on a 64 bit machine I do not get the errors.
I'm not convinced that the errors reported are real either because the application still seems to work. Do you know if there is a way of suppressing errors for a particular file or maybe component/feature?
Posted 15 December 2011 - 15:38
I also would expect that compatibility mode could improve the outcome.
Finally, I don't know a way of suppressing these errors short of conditionalizing your install to simply not peform them on 64-bit OSes.
Posted 15 December 2011 - 16:00
Thanks for your help, I'll post again if/when I figure something out