[wix-users] Heat for Default Web Site
Ven H
venh.123 at gmail.com
Tue Apr 21 10:13:46 PDT 2020
Has anyone used Heat for harvesting a website? I am using WiX 3.14 to
harvest an existing Default Web Site (which has a lot of custom settings,
custom Virtual Directories and Applications) by following the syntax given
in the below link. Command highlighted in bold.
*heat website "Default Web Site" -template:fragment -out E:\website.wxs*
Windows Installer XML Toolset Toolset Harvester version 3.14.0.1703
Copyright (c) .NET Foundation and contributors. All rights reserved.
https://wixtoolset.org/documentation/manual/v3/overview/heat.html
However, I am getting an exception, as shown below. Complete output below.
heat.exe : warning HEAT1108 : The command line switch 'template:' is
deprecated. Please use 'template' instead.
heat.exe : error HEAT0001 : Object reference not set to an instance of an
object.
Exception Type: System.NullReferenceException
Stack Trace:
at
Microsoft.Tools.WindowsInstallerXml.Extensions.DirectoryHarvester.HarvestDirectory(String
path, String relativePath, Boolean harvestChildren)
at
Microsoft.Tools.WindowsInstallerXml.Extensions.DirectoryHarvester.HarvestDirectory(String
path, Boolean harvestChildren)
at
Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.HarvestUniqueDirectory(String
path, Boolean harvestChildren)
at
Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.MutateWebVirtualDirs()
at
Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.Mutate(Wix
wix)
at Microsoft.Tools.WindowsInstallerXml.Mutator.Mutate(Wix wix)
at Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Run(String[] args)
*Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object.*
at
Microsoft.Tools.WindowsInstallerXml.Extensions.DirectoryHarvester.HarvestDirectory(String
path, String relativePath, Boolean harvestChildren)
at
Microsoft.Tools.WindowsInstallerXml.Extensions.DirectoryHarvester.HarvestDirectory(String
path, Boolean harvestChildren)
at
Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.HarvestUniqueDirectory(String
path, Boolean harvestChildren)
at
Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.MutateWebVirtualDirs()
at
Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.Mutate(Wix
wix)
at Microsoft.Tools.WindowsInstallerXml.Mutator.Mutate(Wix wix)
at Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Run(String[] args)
at Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Main(String[] args)
Any help would be really great.
More information about the wix-users
mailing list