[wix-users] Heat for Default Web Site

Rob Mensching rob at firegiant.com
Tue Apr 28 08:06:54 PDT 2020


I'm not aware of anyone touching that code in a decade (or more).

---
Short replies here. Complete answers here: https://www.firegiant.com/services/

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Ven H via wix-users
Sent: Tuesday, April 28, 2020 6:27 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Ven H <venh.123 at gmail.com>
Subject: Re: [wix-users] Heat for Default Web Site

Has anyone worked on this?


On Tue, Apr 21, 2020 at 10:43 PM Ven H <venh.123 at gmail.com> wrote:

> 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.Harv
> estDirectory(String path, String relativePath, Boolean 
> harvestChildren)
>    at
> Microsoft.Tools.WindowsInstallerXml.Extensions.DirectoryHarvester.Harv
> estDirectory(String
> path, Boolean harvestChildren)
>    at
> Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.Har
> vestUniqueDirectory(String
> path, Boolean harvestChildren)
>    at
> Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.MutateWebVirtualDirs()
>    at
> Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.Mut
> ate(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.Harv
> estDirectory(String path, String relativePath, Boolean 
> harvestChildren)
>    at
> Microsoft.Tools.WindowsInstallerXml.Extensions.DirectoryHarvester.Harv
> estDirectory(String
> path, Boolean harvestChildren)
>    at
> Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.Har
> vestUniqueDirectory(String
> path, Boolean harvestChildren)
>    at
> Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.MutateWebVirtualDirs()
>    at
> Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.Mut
> ate(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.
>
>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list