I have the following in one of our products:

    <Property Id="WixShellExecTarget" Value="[#IESLink.pdf]" />

I get no warnings at all when building that product's project. However I
am using WiX v3.0.5217.0 while it appears from the original post that
Riyaz is using WiX 2.0 so it could be something that was removed in the
v3.0 light code throwing the warning.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 
 
 
-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: 22 April 2009 12:50
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Use of INSTALLDIR as a property referencein
ShellExecute

Riyaz Mogharabin wrote:
> C:\WiX\CustomDialogs\Adding_Dlg\Test_InstaLler.wxs(84) : warning
CNDL1077 :
> The 'WixShellExecTarget' Property contains '[INSTALLDIR]' in its value

> which is an illegal reference to another property.  If this value is a

> string literal, not a property reference, please ignore this warning.

> To set a property with the value of another property, use a 
> CustomAction with Property and Value attributes.
>   

Setting a property to a string that contains formatting like [PROPERTY]
doesn't resolve the embedded properties. However, the WixShellExec
custom action does resolve the WixShellExecTarget property, so the
warning doesn't apply.



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to