[#fileID], where fileID is the ID of the File that you want to include.

See http://msdn2.microsoft.com/en-us/library/aa368609.aspx for information
on the Formatted data type. The WiX documentation normally says something
like "This value is formatted" when a string will be processed for
replacements in this way (see for example RegistryValue/@Value).

TARGETDIR is a property - to replace a property name with its value in a
Formatted string, surround it with square brackets, i.e. [TARGETDIR].

In every use I've seen of it so far, INSTALLDIR seems to be used as a
substitute of TARGETDIR. TARGETDIR means something to Windows Installer,
INSTALLDIR does not. I'd simply use TARGETDIR everywhere.

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pseudonymic
Wannabe
Sent: 07 May 2007 11:13
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Refer to installed file for Registry Value

What is the appropriate way to refer to the file of a component through the 
Value property of a Registry entry?

Eg when registering a COM in InprocServer32 you have to set the Value to the

installed .DLL (TARGETDIR\\mydll.dll or INSTALLDIR\mydll.dll). Not quite 
working for me.


-Olaf

_________________________________________________________________
Need a break? Find your escape route with Live Search Maps. 
http://maps.live.com/default.aspx?ss=Restaurants~Hotels~Amusement%20Park&cp=
33.832922~-117.915659&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=1118863&
encType=1&FORM=MGAC01


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to