#18 How To: Heat - Specify a DirectoryRef/@Id

open
nobody
None
5
2012-09-15
2009-04-24
No

The -dr switch takes a value of a DirectoryRef/@Id. This will become the directory which all other directories are rooted under. In addition, and important to note, this acts as the seed for all the identifier generation.Changing this value will directly impact the values of ALL the identifiers. When this value is not specified, it will default to "TARGETDIR".

heat.exe dir C:\MyDir -srd -dr MyDir

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<DirectoryRef Id="MyDir">
<Component Id="CO_BEA0A254206A075FE419AECC8F8323C3" Directory="DI_5E971BF1ECC0BC11795785D90F250FC0" ...="">
<File Id="FI_4273BB2732377498E74980308130C808" ...=""/>
</Component>

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks