I thought about it, but I get the pattern constraint error Error 4 The Directory/@Name attribute's value, '..\..\[DIR]', is not a valid long name because it contains illegal characters. Legal long names contain no more than 260 characters and must contain at least one non-period character. Any character except for the follow may be used: \ ? | > < : / * ".
Any ideas? Thanks! -----Original Message----- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Saturday, July 28, 2007 12:27 To: Levon Levonian Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Parent Directory (2 levels up) Levon Levonian wrote: > My installer needs to read a value from the registry and set the install > path based on that value. However, the installer should install 2 levels > up the value that was read from the registry. For example, I read the > registry and get the following: > > C:\Temp\First\Second > > And I want my configurable directory be set only to C:\Temp (that is, 2 > levels up the directory that I got from the registry). > You can try using [DIR]..\..\ though I'm not sure if that will work everywhere. -- sig://boB http://joyofsetup.com/ ************************************************************************** READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (780) 448-1010. ************************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users