32bit vs 64bit
Posted: Wed Dec 15, 2010 1:42 pm
Sorry if I have missed the response to this question. I did not see it here nor in the help file.
I have a 32-bit application to install but our client base is made up of both 32 and 64 bit systems. On the 32 bit systems, I want the 32 bit runtimes to be installed. But, on the 64-bit systems, I want the 64-bit runtimes to be installed. For example, in the application runtimes, I would like it to install SQL Server 2008 R2 (x86) on a 32, and then install the SQL Server 2008 R2 (x64) for 64-bit machines.
Question #1 - If I check both SQL Server R2 versions, will the installer be smart enough to know which one to use or do I have to code for that in MSI area? Or if I select only the x64 version, does it include both 32 and 64 bit versions?
Question #2 - when adding files to be copied, there are two $TARGETDIR$ folders - $TARGETDIR$ for 64-bit and $TARGETDIR_X86$ for 32-bit. Should I specify all my 32-bit files to be copied in BOTH of those folders? If I do that, will IA copy only the files necessary for the OS bit version? or will it then create both folders and all associated files there? For example, I am hoping it will realize its installing on a 64-bit machine and copy only the files into the $TARGETDIR$ folder and NOTHING into $TARGETDIR_X86$ - then the reverse on a 32-bit machine.
Thank you!
I have a 32-bit application to install but our client base is made up of both 32 and 64 bit systems. On the 32 bit systems, I want the 32 bit runtimes to be installed. But, on the 64-bit systems, I want the 64-bit runtimes to be installed. For example, in the application runtimes, I would like it to install SQL Server 2008 R2 (x86) on a 32, and then install the SQL Server 2008 R2 (x64) for 64-bit machines.
Question #1 - If I check both SQL Server R2 versions, will the installer be smart enough to know which one to use or do I have to code for that in MSI area? Or if I select only the x64 version, does it include both 32 and 64 bit versions?
Question #2 - when adding files to be copied, there are two $TARGETDIR$ folders - $TARGETDIR$ for 64-bit and $TARGETDIR_X86$ for 32-bit. Should I specify all my 32-bit files to be copied in BOTH of those folders? If I do that, will IA copy only the files necessary for the OS bit version? or will it then create both folders and all associated files there? For example, I am hoping it will realize its installing on a 64-bit machine and copy only the files into the $TARGETDIR$ folder and NOTHING into $TARGETDIR_X86$ - then the reverse on a 32-bit machine.
Thank you!