PDA

View Full Version : How to Install 64bit msi /Setup.exe file from 32bit installer setup package ?



Abhilash B
09-09-2015, 04:45 AM
I have created 32bit basic MSI project and I want launch/install 64bit msi package from 32bit installer setup file. I tried this using chained msi package but the problem I am facing is 64bit installer is not copying its files to 64 bit "Program Files" folder" instead it is always taking 32 bit Program files folder path to copy its files.

If I install 64bit msi package separately then it taking proper path but if try to install from 32 bit installer package as chained MSI then it not taking 64 bit program file folder.

I request anyone please give your valuable suggestion to solve this problem.

Thanks in advance

Superfreak3
09-09-2015, 08:24 AM
I have created 32bit basic MSI project and I want launch/install 64bit msi package from 32bit installer setup file. I tried this using chained msi package but the problem I am facing is 64bit installer is not copying its files to 64 bit "Program Files" folder" instead it is always taking 32 bit Program files folder path to copy its files.

If I install 64bit msi package separately then it taking proper path but if try to install from 32 bit installer package as chained MSI then it not taking 64 bit program file folder.

I request anyone please give your valuable suggestion to solve this problem.

Thanks in advance

I had the exact same problem several years ago. What I did was actually include the 64 bit package in my 32 bit package and install it condtionally on 64 bit systems. Then I created an .exe that I fire at the end of the install (Asynch - no wait). This exe monitors the msi processes every few seconds until count of .msi processes not > 1. Then, the 64 bit .msi package is fired (passed in INSTALLDIR as a parameter so I know where the 64 bit package resides).

Hope that helps or gives you some ideas.