Re: [WiX-users] Question about Properties and Custom Actions

2012-10-05 Thread Peter Hull
Thanks for the replies. You can use MsiSetTargetPath() in your custom action to update an existing directory Id. That would more closely model your intent and requires less code. Good point, that's another option. I have been looking at what was done in the WixQueryOsDirs custom action -

Re: [WiX-users] Question about Properties and Custom Actions

2012-10-05 Thread Peter Shirtcliffe
Subject: Re: [WiX-users] Question about Properties and Custom Actions Thanks for the replies. You can use MsiSetTargetPath() in your custom action to update an existing directory Id. That would more closely model your intent and requires less code. Good point, that's another option. I have been

[WiX-users] Question about Properties and Custom Actions

2012-10-04 Thread Peter Hull
I'd just like a bit of advice/clarification on property types and CAs. If I write a CA to fetch a folder location from the OS (to be used like 'ProgramFilesFolder') then I need to set a property (correct?) If I use a private property I have to give it a 'default' value which is overwritten by

Re: [WiX-users] Question about Properties and Custom Actions

2012-10-04 Thread Peter Shirtcliffe
: 04 October 2012 12:33 To: WiX Users Subject: [WiX-users] Question about Properties and Custom Actions I'd just like a bit of advice/clarification on property types and CAs. If I write a CA to fetch a folder location from the OS (to be used like 'ProgramFilesFolder') then I need to set a property

Re: [WiX-users] Question about Properties and Custom Actions

2012-10-04 Thread Christopher Painter
: Thursday, October 04, 2012 7:05 AM To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Question about Properties and Custom Actions A secure (think trusted) property is one that can be passed from the UISequence or command line