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

Leonid Maliutin it-proposition at yandex.com
Fri May 27 00:16:43 PDT 2016


> 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.
Yes. It is the problem in Windows Installer.

Thank you for your help.

I think that solution would be the use of other mechanisms which do not use
Windows Installer to check the conditions. InnoSetup for example.


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:30 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]

> 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

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



More information about the wix-users mailing list