Hi, I'm harvesting (WiX3.8) a whole lot of dynamically generated
documentation files, which are in a subdirectory NEWDOCS. I'm using the
following command-line:

 

   heat dir "./newdoCs" -gg -template fragment -out ./docs.wxs -sfrag -suid
-cg HelpFiles -var wix.MySource -dr DOCFOLDER -directoryid

 

This generates 

   <Fragment>

      <DirectoryRef Id="DOCFOLDER">

         <Directory Id="newdoCs" Name="newdoCs">

            . Component .

         </Directory>

      </DirectoryRef>

   </Fragment>

   <Fragment>

      <ComponentGroup Id="HelpFiles">

         . ComponentRef .

      </ComponentGroup>

   </Fragment>

 

During execution of WiX, I specify MySource = ./NewDocs.  My main WXS file
contains

   <Directory Id="INSTALLFOLDER" Name="stuff">

      <Directory Id="DOCFOLDER" Name="Doc">

      </Directory>

   </Directory>

 

My problem is that when installing, a folder newdoCs is created in the
stuff/Doc, and all the components are installed in the newdoCs subfolder.  I
don't want the files to get installed in newdoCs, but in stuff/Doc.  How can
I make it so that newdoCs is not used in the output, but only for
harvesting?

 

Thanks!

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to