You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i have a strange problem running the script, i can't solve the problem, i have this code
async function compile(execName){
// Step 1: Instantiate the MSICreator
const msiCreator = new MSICreator({
appDirectory: appDirectoryRoot+ "/app-win32-x64",
outputDirectory: outputDirectory + "/app-win32-x64",
description: 'description example',
exe: execName,
name: execName,
shortcutFolderName:"app-name",
manufacturer: 'app-author',
version: "1.0.0",
ui:{
chooseDirectory: true,
}
});
// Step 2: Create a .wxs template file
await msiCreator.create();
// Step 3: Compile the template to a .msi file
await msiCreator.compile();
}
compile("cinder-win32-x64");
this is the console output
electron-wix-msi: Using light.exe (3.11.1.2318) and candle.exe (3.11.1.2318)
C:\Users\zerozelta\Documents\ElectronProjects\Cinder\node_modules\electron-wix-msi\lib\utils\spawn.js:13
stdout += data;
RangeError: Invalid string length
at Socket.fork.stdout.on (C:\Users\zerozelta\Documents\ElectronProjects\Cinder\node_modules\electron-wix-msi\lib\utils\spawn.js:13:23)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at Socket.Readable.push (_stream_readable.js:219:10)
at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
the input and output paths seems to be correct
the files .wxs .wixobj and .wixpdb are generated (im not sure if .wixobj and .wixpdb are fully writed)
I know that is a problem with Node and V8 (something exeed the maximum string size), but I followed the steps of use and practically do not modify the example code. i dont know what is the mistake or how can I solve this
The text was updated successfully, but these errors were encountered:
Hi i have a strange problem running the script, i can't solve the problem, i have this code
this is the console output
I know that is a problem with Node and V8 (something exeed the maximum string size), but I followed the steps of use and practically do not modify the example code. i dont know what is the mistake or how can I solve this
The text was updated successfully, but these errors were encountered: