[WiX-users] How to set property value by directory path

2008-07-16 Thread Benas
Hello all, What i need is to set property value that would contain full path to ProgramMenuFolder directory. My directory is [ProgramMenuFolder]\\\ Actualy C:\...\Start Menu\Programs\\ I have tried Property Id=MY_PROPERTY Secure=yes Value=[ProgramMenuFolder]\\\/ But

Re: [WiX-users] How to set property value by directory path

2008-07-16 Thread Brian Rogers
I'm not positive that this will work. However, try this syntax. Property Id=MY_PROPERTY Secure=yes Value=[ProgramMenuFolder]\\\/ Property Id=MY_PROPERTY Secure=yes Value=*[[*ProgramMenuFolder*]]* \\/ http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx -- Brian Rogers

Re: [WiX-users] How to set property value by directory path

2008-07-16 Thread Benas
I have tried both of your solutions and both doesn't work if i hardcode the value into property everything is fine but if i try to use [ProgramMenuFolder] or *[[*ProgramMenuFolder*]]* it does not 2008/7/16 Brian Rogers [EMAIL PROTECTED]: I'm not positive that this will work. However, try this

Re: [WiX-users] How to set property value by directory path

2008-07-16 Thread Alexander Shevchuk
] [mailto:[EMAIL PROTECTED] On Behalf Of Benas Sent: Wednesday, July 16, 2008 8:59 AM To: WiX-users Subject: [WiX-users] How to set property value by directory path Hello all, What i need is to set property value that would contain full path to ProgramMenuFolder directory. My directory

Re: [WiX-users] How to set property value by directory path

2008-07-16 Thread Brian Rogers
Try the WIX element SetProperty. SetProperty Id=MY_PROPERTY Value=[[ProgramMenuFolder]] ... / I read the spec on the Property Table and it only takes the type of Text. So, what I sent before would not work. Sorry about that. -- Brian Rogers Intelligence removes complexity. - Me

Re: [WiX-users] How to set property value by directory path

2008-07-16 Thread Benas
... / /InstallExecuteSequence Alex Shevchuk -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Benas Sent: Wednesday, July 16, 2008 8:59 AM To: WiX-users Subject: [WiX-users] How to set property value by directory path Hello all, What i need is to set