Skip to content
Discussion options

You must be logged in to vote

After some back and forth, I found there are multiple ways to skin a cat. I think in the end essentially the answer to my questions is the SetProperty Action. Using this to modify the "base" Directory you use when setting up your paths.

Ultimately I ended up modifying my directory structure and rather than overriding a StandardDirectory I implemented the Base using INSTALLDIR then set it with the action before the AppSearch Action

  <Fragment>
    <Directory Id="INSTALLDIR">
      <Directory Id="INSTALLFOLDER" Name="!(bind.Property.Manufacturer)_!(bind.Property.ProductName)" />
    </Directory>

    <SetProperty Id="INSTALLDIR" Value="C:\APP" Before="AppSearch" />
  </Fragment>

Feel free…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@StupendousManX
Comment options

Comment options

You must be logged in to vote
1 reply
@StupendousManX
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by StupendousManX
Comment options

You must be logged in to vote
1 reply
@StupendousManX
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants