

exe, where the installer screen appears.Īny ideas or suggestions are much appreciated.

onInstSuccessĪlternatively, setting something like: SetSilent normal in that customInit macro, triggers the behaviour like when double clicking on the. I have tried a different variation with: Function. Workaround for installer handing when the app directory is removed manually Installer script so far used ( installer.nsh): !macro preInit exe, it starts automatically), however if used from command line something like: If the app is installed normally (e.g: double click on. While that works as it should, for some reason, I'm not able to trigger the app to auto start if its installing in Silent mode. Here is my package.json configuration.We have a electron app that uses a custom nsis script for installer. ResultPromise.then(() => console.log('It worked!'), e => console.log(`No dice: $`)) SetupIcon: 'src/app/assets/images/icon.ico' IconUrl: 'file:///d/dev/sda/client/src/app/assets/images/icon.ico', Var resultPromise = electronInstaller.createWindowsInstaller(ĪppDirectory: './installer/sda-win32-圆4', The winstaller.js file is located at the root of my project: var electronInstaller = require('electron-winstaller') Here is my configuration for electron-winstaller. I found this Electron create MSI installer using electron-builder issue where someone else had the same problem with electron-builder, but there was no answer to his question. But here I could also not set the installation path. To follow along comfortably with the following tutorial, you will need to have: A basic understanding of React and how it works. I should also mention that I tried using electron-builder, and could also generate the msi file. Finally, create a demo desktop application using Electron and React.

The lattice is a triple bend achromatic and has two 5. It is designed for a synchrotron light source and an electron stretcher ring.

The circumference of KSR is 25.689 m and the maximum beam energy is 300 MeV. I want to be able to set the installation path when installing. KSR (Kaken Storage Ring) is a compact electron ring in Kyoto University. What I would like though, is for the installer to prompt me to where it should install the application. The only thing when double clicking on the msi is this short dialog: msi file though, It automatically installs my project to C:\Users\Username\AppData\Local\ApplicationName. I use electron-packager to package my electron appĪfter packaging the app I use electron-winstaller to generate an msi from the package I'm using Electron and Angular2 to create a desktop application for Windows, and can successfully generate the.
