We're using HEAT to create <Fragment>s from files:

 

CD "%PROGRAMFILES%\Windows Installer XML v3\bin"

HEAT file EXCEL8.OLB -gg -out EXCEL8.wxs

 

That works pretty well as long as HEAT and EXCEL8.OLB are located in the
same folder.

 

But if they are not, both of the following commands will fail:

 

CD "C:\"

"%PROGRAMFILES%\bin\HEAT" file EXCEL8.OLB -gg -out EXCEL8.wxs

 

or

 

CD "%PROGRAMFILES%\Windows Installer XML v3\bin"

HEAT file "C:\EXCEL8.OLB" -gg -out EXCEL8.wxs

 

The result is always the same:

 

heat.exe : error HEAT0001 : The Value must not be NULL.

Parameter name: path

 

Exception Type: System.ArgumentNullException

 

Stack Trace:

   bei System.IO.Path.GetFullPathInternal(String path)

   bei System.IO.Path.GetFullPath(String path)

   bei
Microsoft.Tools.WindowsInstallerXml.HarvesterCore.ResolveFilePath(String
fileSource)

   bei
Microsoft.Tools.WindowsInstallerXml.Extensions.UtilHarvesterMutator.Muta
teFile(IParentElement parentElement, File file)

   bei
Microsoft.Tools.WindowsInstallerXml.Extensions.UtilHarvesterMutator.Muta
teElement(IParentElement parentElement, ISchemaElement element)

   bei
Microsoft.Tools.WindowsInstallerXml.Extensions.UtilHarvesterMutator.Muta
teElement(IParentElement parentElement, ISchemaElement element)

   bei
Microsoft.Tools.WindowsInstallerXml.Extensions.UtilHarvesterMutator.Muta
teElement(IParentElement parentElement, ISchemaElement element)

   bei
Microsoft.Tools.WindowsInstallerXml.Extensions.UtilHarvesterMutator.Muta
teElement(IParentElement parentElement, ISchemaElement element)

   bei
Microsoft.Tools.WindowsInstallerXml.Extensions.UtilHarvesterMutator.Muta
teElement(IParentElement parentElement, ISchemaElement element)

   bei
Microsoft.Tools.WindowsInstallerXml.Extensions.UtilHarvesterMutator.Muta
teElement(IParentElement parentElement, ISchemaElement element)

   bei
Microsoft.Tools.WindowsInstallerXml.Extensions.UtilHarvesterMutator.Muta
te(Wix wix)

   bei Microsoft.Tools.WindowsInstallerXml.Mutator.Mutate(Wix wix)

   bei Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Run(String[] args)

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to