Windows MSI build failure!

1,066 views
Skip to first unread message

C. Mundi

unread,
Feb 12, 2012, 10:30:50 AM2/12/12
to nod...@googlegroups.com

Hi,

Could someone involved with packaging the node distros on nodejs.com please comment? 

I need to build my own MSI to deploy custom builds of node.  I am using Visual Studio Express 2010 and WiX 3.5.  The vcbuild.bat builds node, and (most) tests pass.  But I get an error when I try to build the MSI.  Here is the error:

C:\node-v0.6.10>.\vcbuild.bat release nobuild msi ['-f', 'msvs', '-G', 'msvs_version=2010', '.\\node.gyp', '-I', '.\\common.gypi', '--depth=.', '-Dtarget_arch=ia32', '-Dc omponent=static_library', '-Dlibrary=static_library'] Project files generated. 'heat' is not recognized as an internal or external command, operable program or batch file. candle.exe : error CNDL0103: The system cannot find the file '..\..\..\npm.wxs' with type 'Source'. [C:\node-v0.6.10\to ols\msvs\msi\nodemsi.wixproj]

(My previous post diverged into a discussion of how to build native modules with gyp, so I am starting a new thread.)

Thanks!

Ben Noordhuis

unread,
Feb 12, 2012, 10:42:05 AM2/12/12
to nod...@googlegroups.com
On Sun, Feb 12, 2012 at 16:30, C. Mundi <cmu...@gmail.com> wrote:
> Hi,
>
> Could someone involved with packaging the node distros on nodejs.com please
> comment?
>
> I need to build my own MSI to deploy custom builds of node.  I am using
> Visual Studio Express 2010 and WiX 3.5.  The vcbuild.bat builds node, and
> (most) tests pass.  But I get an error when I try to build the MSI.  Here is
> the error:
>
> C:\node-v0.6.10>.\vcbuild.bat release nobuild msi ['-f', 'msvs', '-G',
> 'msvs_version=2010', '.\\node.gyp', '-I', '.\\common.gypi', '--depth=.',
> '-Dtarget_arch=ia32', '-Dc omponent=static_library',
> '-Dlibrary=static_library'] Project files generated. 'heat' is not
> recognized as an internal or external command, operable program or batch
> file. candle.exe : error CNDL0103: The system cannot find the file
> '..\..\..\npm.wxs' with type 'Source'. [C:\node-v0.6.10\to
> ols\msvs\msi\nodemsi.wixproj]

You need to install heat[1].

[1] http://wix.sourceforge.net/manual-wix3/heat.htm

mscdex

unread,
Feb 12, 2012, 10:42:49 AM2/12/12
to nodejs
On Feb 12, 10:30 am, "C. Mundi" <cmu...@gmail.com> wrote:
> C:\node-v0.6.10>.\vcbuild.bat release nobuild msi ['-f', 'msvs', '-G',
> 'msvs_version=2010', '.\\node.gyp', '-I', '.\\common.gypi', '--depth=.',
> '-Dtarget_arch=ia32', '-Dc omponent=static_library',
> '-Dlibrary=static_library'] Project files generated. 'heat' is not
> recognized as an internal or external command, operable program or batch
> file. candle.exe : error CNDL0103: The system cannot find the file
> '..\..\..\npm.wxs' with type 'Source'. [C:\node-v0.6.10\to
> ols\msvs\msi\nodemsi.wixproj]

Looks like you need to install WiX (http://wix.sourceforge.net/) ?

C. Mundi

unread,
Feb 12, 2012, 10:47:59 AM2/12/12
to nod...@googlegroups.com

Thanks very much, Ben.  Sorry to ask what I now see wad an off-topic question.  I really appreciate your reply.

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

C. Mundi

unread,
Feb 12, 2012, 10:52:49 AM2/12/12
to nod...@googlegroups.com

@mscdex...yes and no... It turns out WiX is distributed in multiple parts for some reason.  Just having WiX did not give me the harvest tools, which seem kind of basic.   It's my turn to go RTFM.  :)

C. Mundi

unread,
Feb 12, 2012, 11:52:19 AM2/12/12
to nod...@googlegroups.com

Ok.  Now *that* was weird... I think somehow I ended up with a corrupted install of WiX 3.5 (I did have an earlier 3.x installed before, so...).  I just installed WiX 3.5 on a clean box, and it worked just fine.  Sorry for the distraction!  The MSI builds great!

Michael Pisarski

unread,
Jun 1, 2012, 3:30:41 PM6/1/12
to nod...@googlegroups.com
Since i am testing i don't need to have it signed. 
Passing in nosign to .\vcbuild.bat release nosign msi 
gets rid of the issue.

Michael


On Friday, June 1, 2012 1:01:23 PM UTC-4, Michael Pisarski wrote:
I am running into an issue with building the MSI right at the end:
  Generating code
  Finished generating code
  node.vcxproj -> C:\Users\mspisars\dev\node\Release\node.exe
SignTool Error: No certificates were found that met all the given criteria.
C:\Users\mspisars\dev\node\npm.wxs(380): warning LGHT1076: ICE60: The file fil05C099A68D7D547CA0E51
45EDD721658 is not a Font, and its version is not a companion file reference. It should have a lang
uage specified in the Language column. [C:\Users\mspisars\dev\node\tools\msvs\msi\nodemsi.wixproj]
C:\Users\mspisars\dev\node\npm.wxs(557): warning LGHT1076: ICE60: The file fil0674B1077055D3A58066D
B9BE3F211C2 is not a Font, and its version is not a companion file reference. It should have a lang
uage specified in the Language column. [C:\Users\mspisars\dev\node\tools\msvs\msi\nodemsi.wixproj]
C:\Users\mspisars\dev\node\tools\msvs\msi\product.wxs(18): warning LGHT1076: ICE61: This product sh
ould remove only older versions of itself. The Maximum version is not less than the current product
. (0.7.10 0.7.10) [C:\Users\mspisars\dev\node\tools\msvs\msi\nodemsi.wixproj]
SignTool Error: No certificates were found that met all the given criteria.

Has anyone run into the issue with SignTool?

- Michael
Reply all
Reply to author
Forward
0 new messages