Title: Setting property value with another property value

Hi, I have a little problem trying to do this the right way.
Because I get a warning compiling when a property value is set to [FILEPATH] and [INSTALLPATH][WEBCONFIGFILE].
The warning message hint that one should set this using a custom action with the property and value field.
I have not tried using CA's in this way and are kinda lost. Any help is very appreciated.


<Property Id="QtExecCmdLine"
Value=".\Deploy.Tools\XmlPreprocess.exe /i ?SetWebConfigPath_Value_Here? /s ?SetSettingsPath_Value_Here? /NoLogo"/>

<CustomAction Id="QtExec" BinaryKey="WixUtilExtension" DllEntry="CAQuietExec" Execute="immediate" Return="check"/>
<Binary Id="WixUtilExtension" SourceFile="[ProgramFilesFolder]\Windows Installer XML v3\bin\WixUtilExtension.dll" />

<CustomAction Id="SetWebConfigPath" Property="CASetCPath" Value="[INSTALLPATH][WEBCONFIGFILE]" />
<CustomAction Id="SetSettingsPath" Property="CASetSPath" Value="[FILEPATH]" />

Thanks

Morten

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to