In the WiX tutorial (http://www.tramontana.co.hu/wix/lesson5.php#5.3) it
says that a component's action state and installed state can be obtained by
prepending a $ or ? (respectively) to a component name.
If the component is installed on the local computer, the installed state
should be 3. If it is being installed, the action state should be 3.
Consider this component:
<Component
Id="appExeConfig"
Guid="CDCC4140-6895-4FB0-8D0F-0D18ECAD4102">
<File
Id="app.exe.config"
LongName="app.exe.config"
Name="app.cfg"
DiskId="1"
KeyPath="yes"/>
</Component>
When I patch this component, I would expect $appExeConfig to be 3 and
?appExeConfig to be 3.
However, what I'm seeing is that $appExeConfig is the path to the
installation folder (ie. "C:\Program Files\Product Manufacturer\Product\")
and ?appExeConfig is an empty string.
What am I doing wrong?
-------------------------------------------------------------------------
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