-
Notifications
You must be signed in to change notification settings - Fork 96
Can't create installer: System.Exception: Failed to modify resources, command invoked was #96
Comments
I tried this on a cmd window rather than powershell and this revealed that the server is missing MSVCP100.dll. Now I'm trying to fix that. We're trying to set up a windows machine to build and package electron apps and create windows installers. Do you have any recommended setup? Which OS should we use and what programs should we install on it to make it operational? |
I'm having a similar problem — it seems that rcedit fails to set the icon for the Setup.exe file.
I'm running the modern.ie Windows 8.1 / IE11 VM on VirtualBox for Mac: available here. The error happens even if I don't specify module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
'create-windows-installer': {
ia32: {
appDirectory: './Blink-win32-ia32',
outputDirectory: './dist',
name: "Blink",
product_name: "Blink",
description: "Blink",
// setupIcon: "./logo.ico",
authors: 'Foo Ltd',
exe: 'Blink.exe'
}
}
})
grunt.loadNpmTasks('grunt-electron-installer')
} |
I had the same problem. |
Well, guys, could you please check, if this issue still exists? |
I solved this by replacing the rcedit.exe with a fresh one from https://github.com/atom/node-rcedit/raw/master/bin/rcedit.exe |
@codesmithx I've done that and my error has gone away. But how are you doing this as part of your build since it's just an exe in your node_modules? |
I ran all my build commands from the command prompt; referencing the location of the .exe files where necessary. Somehow it just worked out |
My problem was, that the directory that I was running the command in had some special characters in it. I moved the project to a directory, that had no special characters and it worked fine |
When I try to create an installer for my electron project, it fails with the following message printed to both console and SquirellSetup.log:
When I try to run that long rcedit command myself and see the error code, it says this:
It seems there is something wrong with rcedit but I don't know what. I also attached some screenshots of the computer that I'm trying this
Can anyone help me on this?
The text was updated successfully, but these errors were encountered: