You won't need a property because a directory ID is a kind of property
already.
The directory structure has to be defined before you can reference it. The
wix help has a section on how this looks
http://wix.sourceforge.net/manual-wix3/add_a_file.htm

-----Original Message-----
From: Francis Louis [mailto:francis.lo...@hotmail.com] 
Sent: 14 August 2012 03:21
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] INSTALLDIR link error



Hi,

When I try to link using the light I am getting this error. Could someone
please let me know how to specify the INSTALLDIR?

I have tried adding this line <Property Id="INSTALLDIR">c:\Program
Files\Test</Property>  , but it did not help.

E:\TEMP\darkdir\test.wxs(5) : error LGHT0094 : Unresolved reference to symbol
'Directory:INSTALLDIR' in section 'Fragment:'.

This is the test.wxs


... snip

Best Regards
Francis
                                          
-----------------------------------------------------------------------------
-
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to