Apr 29, 2016 at 4:13 PM
I want to set WIXUI_DONTVALIDATEPATH but I can't see how this would be done in Wix#

Does anyone know how to do this?

Apr 30, 2016 at 3:08 AM
WIXUI_DONTVALIDATEPATH is just a public MSI property. So you need to set it at the appropriate setup stage (you will need to find which one).

Setting a property with Wix# is as simple as passing a SetPropertyAction instance into the Project constructor:
var project = new Project("MyProduct",
                  new SetPropertyAction("WIXUI_DONTVALIDATEPATH", "<your value>")
                      When = When.Before,
                      Step = Step.AppSearch
Apr 30, 2016 at 8:08 PM
Works a treat! Thank you