[wix-users] "Program file" is replaced by "Program file (x86)" [P]

Steven Ogilvie Steven.Ogilvie at titus.com
Wed May 25 08:23:38 PDT 2016


Classification: Public
Dude,

Enable MSI logging:
https://support.microsoft.com/en-us/kb/223300

run your installer and look at the log file you will notice that Windows Installer will change the path from 64 bit to 32 bit because you are running a 32 bit MSI

Sigh, once again you need to compile your MSI as a x64 (64 bit installer) to be able to install files to a 64 bit path...




This message has been marked as Public by Steven Ogilvie on May 25, 2016 11:25:32 AM.
The above classification labels were added to the message by TITUS Message Classification.For More information visit www.titus.com.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Leonid Maliutin
Sent: May 25, 2016 11:18 AM
To: 'WiX Toolset Users Mailing List' <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] "Program file" is replaced by "Program file (x86)" [P]

One point of clarification.

The functionality of RegistrySearch element, the getting of the value from the register is WiX functionality, isn't it?

<RegistrySearch Id="RegSearch_HOSTEXE" Root="HKLM"
Key="SOFTWARE\Microsoft\Office\$(var.OfficeVersion)\Word\InstallRoot"
Name="Path" Type="directory">

Because when I try following code all work correct <Property Id="HOSTPATH">
  <DirectorySearch Id="Windows" Path="C:\Program Files\Microsoft Office\root\Office15">
    <FileSearch Name="WINWORD.EXE" />
  </DirectorySearch>
</Property>


Leonid


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Rob Mensching
Sent: Wednesday, May 25, 2016 6:11 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] "Program file" is replaced by "Program file (x86)"
[P]

This is not true:

> wix will change the path on the fly to c:\program files (x86)

The WiX Toolset creates your MSI. The Windows Installer executes it. If you want to complain, please complain to the people that can fix the behavior:
the Windows Installer team at Microsoft.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Steven Ogilvie
Sent: Wednesday, May 25, 2016 7:18 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] "Program file" is replaced by "Program file (x86)"
[P]

Classification: Public
Your still not understanding...

A 32 bit MSI cannot install to a 64 bit path (i.e. c:\program files) wix will change the path on the fly to c:\program files (x86)

YOU must either create a 32 bit and a 64 bit MSI or just a 64 bit MSI (compile as bitness you want) x86 or x64

End of story...

Steve

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list