[wix-users] Help with DirectorySearch & Setting Root Install Dicrectory

Edwin Castro egcastr at gmail.com
Thu Jan 27 10:58:10 PST 2022


Perhaps PROGRAMS_ROOT is set by a custom action?

On Thu, Jan 27, 2022 at 10:05 AM Ven H via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> I have an existing WiX Project which has an element like below.
>
>  <Property Id="MY.CUSTOM.SERVICE">
>       <ComponentSearch Id="SearchServiceComponent" Guid="Custom-GUID">
>         <DirectorySearch Id="GetMyCustomServiceComponentFolder" />
>       </ComponentSearch>
>     </Property>
>
> I was under the impression that the DirectorySearch Id namely
> "GetMyCustomServiceComponentFolder" is a method which might be defined
> somewhere. But I couldn't find it anywhere. So, I am not sure what it means
> or how it works. Can anyone please help me understand how this
> DirectorySearch works and what that ID signifies?
>
> Also, I have a PROGRAMS_ROOT which is configured to be the root folder for
> installation. Again, I searched a lot in the source and in the WiXLib
> source also, but couldn't locate it. However, the log says setting Property
> PROGRAMS_ROOT to C:\Program Files\Org. Not sure where or how.
>
> Moreover, I want to override this install directory PROGRAMS_ROOT from
> Registry Search (32 bit). Can anyone please help me with the snippet?
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list