Forcing a 32bit install to Program files on a 64bit machine
Ive looked and haven't come across much info. I know this is not a perfect situation but i wanted to ask.
I packaged a product for our company using vendor provided MSI. It’s a 32bit app so when installed on a 64bit OS it’s placed in Program Files (x86) because that’s the default behavior. The problem comes in because were mixed 32/64bit and the locals paths the server looks for is hard coded to look in c:\program files.
I know this is how the OS handles 32bit on 64bit OS's, but has any one ran into this issues before, or know of a work around. It seems not hardcoding the paths isn’t an option. We’re also looking at maybe moving the install to another folder besides Program Files.
Thanks in advanced!!
I packaged a product for our company using vendor provided MSI. It’s a 32bit app so when installed on a 64bit OS it’s placed in Program Files (x86) because that’s the default behavior. The problem comes in because were mixed 32/64bit and the locals paths the server looks for is hard coded to look in c:\program files.
I know this is how the OS handles 32bit on 64bit OS's, but has any one ran into this issues before, or know of a work around. It seems not hardcoding the paths isn’t an option. We’re also looking at maybe moving the install to another folder besides Program Files.
Thanks in advanced!!
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
spartacus
13 years ago
You might want to investigate creating a symbolic link (on your 64-bit systems) from C:\Program Files\<vendor>\<applicationname> to C:\Program Files (x86)\<vendor>\<applicationname>. This would involve creating an empty folder at C:\Program Files\<vendor>\<applicationname> and then using the junction utility (free tool available here) to make the link. If you go down this route I would strongly recommend an extended testing phase as symbolic links can be a bit of a black art.
Regards,
Spartacus
Regards,
Spartacus
Posted by:
Teitan
13 years ago
You could also make a 64bit MSI which just installs a 32bit app. To do so, you need to
change the target platform from x86 to x64 in the Summary Information Stream and set
the 64bit Flag for all of the components in your msi.
Now you MSI will get installed to C:\Program Files on your 64bit machines.
For 32bit machines i would simply install the old msi you've already made.
change the target platform from x86 to x64 in the Summary Information Stream and set
the 64bit Flag for all of the components in your msi.
Now you MSI will get installed to C:\Program Files on your 64bit machines.
For 32bit machines i would simply install the old msi you've already made.
Posted by:
DeepCover
13 years ago
Thanks for the replies. I’ll look into the symbolic links, they could be helpful. I had also mentioned to them about using a 64bit installer but they don't seemed to be licensed for it and said there library’s wouldn't work. I’m not really sure what will or won’t work for them, I’m just building the installer. I’m gonna push back some more for then to fix the issues without band aiding everything.
Posted by:
jmcfadyen
13 years ago
Posted by:
AngelD
13 years ago
I'm not sure about setting through GPO; but check out File System Redirector, wouldn't recommend it
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.