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

Rob Mensching rob at firegiant.com
Wed May 25 08:29:37 PDT 2016


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

No. It's Windows Installer functionality. The WiX Toolset is (by and large) a compiler and linker for creating installation packages. Those installation packages are executed by the Windows Installer. The behavior you are seeing is Windows Installer behavior documented in MSDN.

If you find that the WiX Toolset is generating incorrect installation packages based on what you typed in the text editor, then that would definitely be a WiX Toolset bug. Otherwise, you need to understand the Windows Installer behavior and if there are bugs in it, file them against Microsoft. As much as we'd like to, we can't fix those here.

_____________________________________________________________
 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 Leonid Maliutin
Sent: Wednesday, May 25, 2016 8: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


More information about the wix-users mailing list