[wix-users] Heat for IIS web sites
Carlos Sosa
carlos.sosa.us at outlook.com
Wed Dec 13 13:37:00 PST 2017
That is because the directory is not set in the harvesting file.
When we use heat it will create a harvesting file that needs to be added to your solution
The command is as follows:
heat.exe harvestType harvestSource <harvester arguments> -o[ut] sourceFile.wxs
Example:
heat.exe dir "C:\BE" -dr BE_Files -cg BE_Files -gg -g1 -sf -srd -var "var.BEFiles" -out "PATH TO SOLUTION\BE_Files.wxs"
Check the -dr flag this references a directory created in advance on your installer yo can use the ID or you'll have to use a full path.
You can also define a preprocessor variable to use it here.
-Best
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Ven H via wix-users
Sent: Monday, December 11, 2017 9:55 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Ven H <venh.123 at gmail.com>
Subject: [wix-users] Heat for IIS web sites
I am trying to use heat.exe for generating wxs from IIS web site using the following command.
heat.exe website "MyWebSite" -out "MySite.wxs"
But I am getting an error "*HEAT5400 : Could not harvest website directory:
. Please update the output with the appropriate directory ID before using*".
When I searched on Google, I came across a couple of SourceForge links wherein Rob Mensching had answered saying "Harvesting websites is partially implemented and there could be a lot of bugs." Links are given below.
https://sourceforge.net/p/wix/mailman/wix-users/?viewmonth=200912&viewday=5
https://sourceforge.net/p/wix/mailman/message/24116400/
But this answer was in 2009, so I am pretty sure, this would have been fixed by now. Can anyone please help?
Regards,
Venkatesh
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list