In all of the samples you see fragments like this:
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="MFR" Name="Wieser Software Ltd">
<Directory Id="INSTALLLOCATION" Name="Prog">
<Component Id="ProductComponent" Guid="MYGUIDHERE">
<File Id="MainProgram" Name="prog.exe" Source="prog.cab"
DiskId="1" />
</Component>
</Directory>
</Directory>
</Directory>
I don't really understand what the SourceDir is above, even though it seems
to be required (you get a warning if it's not there).
Looking through the logs, the SourceDir always seems to be set to the path
of the msi file that's run, if its on a network, or even a drive created by
subst.
However, the TARGETDIR seems always to be set to C:\
Also, why are the other directories listed as a child of TARGETDIR, when
they can in fact be located anywhere in the file system. Is it just a
pragmatic solution, that requires a single top level node for parsing?
Anthony Wieser
Wieser Software Ltd
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users