Yatish
Yatish

Reputation: 171

WIX HeatProject, how to use visual studio 2010

I have recently converted visual studio setup projects to wix project. Everything great, except that you have to ist every file manually.

Is there something similar to adding project output (VS studio setup project). I read something about HeatProject task but don't know how to use it, could not find any documentation or example of the same.

First question,is it possible to add project output instead of adding files one by one if yes then how?

Upvotes: 1

Views: 1003

Answers (2)

Mike
Mike

Reputation: 166

We use heat.exe to harvest our app files as follows. The %FULL_PUBLISH_PATH% is the full path to the directory that we instructed msbuild to publish the webapp to.

"%WIX_TOOLS_PATH%heat.exe" dir %FULL_PUBLISH_PATH% -dr WEBAPPLOC -ke -srd -cg ComponentNameToUse -var var.publishDir -gg -out FileNameToUse.wxs

Upvotes: 1

Sunil Agarwal
Sunil Agarwal

Reputation: 4277

Heat offers same functionality like tallow, or paraffin. Paraffin will generate .wxs fragment file containing list of all files which will be deployed. Using parameters you can set which files you want and more.

Example

%1\Paraffin.exe -dir "..\..\..\..\Web\HostDir" -dirref INSTALLLOC -custom APPL ..\..\WebFragment.wxs -guids -ext .csproj -direXclude obj -multiple

Upvotes: 1

Related Questions