This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: WIN64DUALFOLDERS issue
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 30, 2010
03:51 AM
WIN64DUALFOLDERS issue
Hello all, I have a pure 32-bit installer, and I want it to be installed properly on 64 bit OS. Basically my installer is a plug-in for another application(RTX), so my installer will install some files in RTX's install directory, I have defined a system search to find the install path of RTX.
Here is the problem, if I install RTX under programfiles (x86) folder(which is the default option on 64 bit OS) and then install my plug-in application, everything is ok. But if I install RTX to other directories such as C:\Program Files and then install my plug-in application, I find this in my MSI log "WIN64DUALFOLDERS: 'C:\Program Files (x86)\' will substitute 17 characters in 'C:\Program Files\Tencent\RTXC\' folder path. (mask argument = 0, the folder pair's iSwapAttrib member = 0)."
It seems somehow MSI changed the actual path find by the system search and therefore install my files to the wrong directory, which makes my plug-in fails to load, can I prevent this, any ideas are appreciated
Here is the problem, if I install RTX under programfiles (x86) folder(which is the default option on 64 bit OS) and then install my plug-in application, everything is ok. But if I install RTX to other directories such as C:\Program Files and then install my plug-in application, I find this in my MSI log "WIN64DUALFOLDERS: 'C:\Program Files (x86)\' will substitute 17 characters in 'C:\Program Files\Tencent\RTXC\' folder path. (mask argument = 0, the folder pair's iSwapAttrib member = 0)."
It seems somehow MSI changed the actual path find by the system search and therefore install my files to the wrong directory, which makes my plug-in fails to load, can I prevent this, any ideas are appreciated
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 31, 2010
01:19 AM
Update: I tried to install RTX to other directories and then install my plug-in application. I found only when I install RTX in C:\Program Files, the system search result will be automatically substituted by C:\Program Files (x86), while other directories will not trigger this substitute thing.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 01, 2010
08:34 PM
I think my scenario is a common one, does anyone encounter this before, we really want to provide one installer for both 32bit and 64bit OS, any suggestions are appreciated.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 02, 2010
08:33 AM
Do you realy have to do a system search?
What about HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\exename
Does ProgramFiles64Folder point to the right place?
What about HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\exename
Does ProgramFiles64Folder point to the right place?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 02, 2010
09:08 PM
Thanks for your reply. Unfortunately, RTX install didn't write a rigstry under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\exename. However, if we can ask them to add this registry, what you mean by not using system search? We still need to access this registry entry and read the "app path". Does this registry stay in the same place no matter the OS is 32bit or 64 bit? About the ProgramFiles64Folder, I checked the directory table, its default value is ".:Prog64~1|Program Files 64", I don't think I have ever changed it.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 26, 2011
07:56 AM
kenzo22, did you ever get your 32 bit installer to write files to the C:\Program Files\ folder on a 64 bit machine?
Thanks,
Thanks,