windows installer - WiX: Component, Directory and CreateFolder tags, how to write Components -


i'm attempting follow tutorials , guides learn wix , i'm not understanding how of these basic elements come together. i'm attempting package folder containing jre6. i'm generating wix xml little parser, i'm not sure how supposed look.

the goal package entire jre6 in installation single component. can't figure out proper structure. when try this:

 <directory id="jre6_dir" name="jre6">       <directory id="dir_jre_jre6bin" name="bin">         <file id="binawt.dll" name="awt.dll" />         <file id="binaxbridge.dll" name="axbridge.dll" />         <directory id="dir_jre_binclient" name="client">           <file id="clientclasses.jsa" name="classes.jsa" />           <file id="clientjvm.dll" name="jvm.dll" />           <file id="clientxusage.txt" name="xusage.txt" />         </directory>  etc... 

the compiler tells me can't place file tag within directory tag.

so have tried:

  • placing file tags inside directory tags.
  • placing file tags inside createfolder tags.
  • placing directory tags inside component tag.

none of works. i'm not understanding basics of how wix works , how should create component this. want able call contents of jre6 directory own component in installation. how do this?


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -