You need to use what is known as a Type 51 Custom Action. Don't worry, it isn't as hard as it sounds. Here is an example:
<CustomAction Id="SET_CATALINA" Property="CATALINA" Value="[TARGETDIR]" Return="check"/> <InstallExecuteSequence> <Custom Action= SET_CATALINA' After='AppSearch'>1</Custom> </InstallExecuteSequence> BTW, consider the case of "CATALINA" carefully. A Windows Installer weirdity is that UPPERCASE properties are public (available from fragments, etc.), and any lowercase character in the property name makes it private. Personally, I always do all uppercase unless I have a good reason not to. This seems to be a common cause of newbie grief. Julie Campbell [EMAIL PROTECTED] -----Original Message----- Message: 5 Date: Fri, 3 Aug 2007 12:28:11 -0700 (PDT) From: srinivas nomu <[EMAIL PROTECTED]> Subject: [WiX-users] Simple Question: Passing parameter to a propertyId To: wix-users@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hi I want to pass a parameter value to some other application. The parameter is "TARGETDIR". When I retrive this value into a text item it shows up the value correctly. However, when I declare a property Id and try to use that PropertyId,it gives value as "TARGETDIR" and not the actual path. Here is how I defined the property id: <Property Id="catalina">Value="![CDATA[TARGETDIR]]"/> When I use catalina it gives as "TARGETDIR". In a control Text, it shows as whatever I set the target path.(For ex: C:\Program files). What should I do to get the value of TARGETDIR into this propertyId. Please help as I am new to WIX. Thanks for any help. Srini _____________________________________________________________________________ Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit http://www.ers.ibm.com _____________________________________________________________________________ ------------------------------------------------------------------------- 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