Also, what version of the tools are you running? Have you tried "3.0 RTM" or a 
recent 3.5 weekly release?

-----Original Message-----
From: s...@pacaccess.com [mailto:s...@pacaccess.com] 
Sent: Wednesday, March 31, 2010 10:26 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX 3.5: Error in HEAT

Is the problem that Wix (and heat) aren't in your path?

What I do is:

1. Start a command console
2. Type in path=%path%;C:\Program Files (x86)\Windows Installer XML v3\bin
3. cd to my DLL's location (in your case it would be your OLB file)
4. run heat.

Jeff




> 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
>
>



------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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