Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

WIN64DUALFOLDERS


4 replies to this topic

kenzo22

kenzo22
  • Full Members
  • 22 posts

Posted 31 August 2010 - 02:26

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

Edited by kenzo22, 31 August 2010 - 04:15.


kenzo22

kenzo22
  • Full Members
  • 22 posts

Posted 31 August 2010 - 07:14

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.

kenzo22

kenzo22
  • Full Members
  • 22 posts

Posted 02 September 2010 - 02:30

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.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 06 September 2010 - 21:45

I may be wrong, but isn't C:\Program Files the place for 654 bit applications (on 64-bit Windows)? 32 bit applications shouldn't install there.

kenzo22

kenzo22
  • Full Members
  • 22 posts

Posted 07 September 2010 - 03:20

Stefan, you are right, C:\Program Files are for 64 bit applcations on 64 bit OS. But I think many users don't know this intricacy and they may change the default install path(C:\Program Files(x86)) to C:\Program Files. In my case, I ofter change the default install path to D:\Programe Files... So I think we should handle this situation for normal users. Is there anything we can do?