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!!
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


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.


Answered 07/09/2011 by: spartacus
Black Belt

Please log in to comment
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.
Answered 07/11/2011 by: Teitan
Senior Purple Belt

Please log in to comment
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.
Answered 07/11/2011 by: DeepCover
Orange Belt

Please log in to comment
from memory this could be disabled through gpo. Its been a while since I tested this but I am sure the last time I did disabling redirection worked here.

worth a crack I don't have a win7 box handy to test it for you atm.
Answered 07/12/2011 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
I'm not sure about setting through GPO; but check out File System Redirector, wouldn't recommend it
Answered 07/12/2011 by: AngelD
Red Belt

Please log in to comment