Windows is searching for program.exe
See original GitHub issue- Version: ^22.7.0
- Electron Version: ^8.0.0
- Electron Type (current, beta, nightly): current
- Target: NSIS
Running my installer I get a dialog that pops up that says “Windows is searching for Quotation Assistant.exe…” and it gives me the option to try and browse and find the exe myself.
If I let it continue trying to find the executable, it always fails.
I can browse and select the executable that is located at dist/win-unpacked/Quotation Assistant.exe
and that will work until I try run the installer again and it fails.
In my AppData/Local/Programs/quotation-assistant
folder, there is only the uninstaller present. I checked another program that I use electron-builder for, and it’s got a lot more files present (what looks like to be the contents of the win-unpacked folder).
I’ve done some searching already trying to fix this issue, and I’ve found the following issue: #4057 . That seems to be the closest I can find to what I’m getting. The solutions proposed in that issue do not work for me.
My current build settings:
"build": {
"appId": "quotation-assistant",
"productName": "Quotation Assistant",
"compression": "store",
"asar": true,
"win": {
"target": {
"target": "NSIS",
"arch": [
"x64",
"arm64"
]
},
"icon": "app/static/icons/win/icon.ico"
},
"files": [
"!dist/*",
"!dummy_root/*",
"!screens/*",
"!app/sass/*",
"!.sass-cache/*",
"!.vscode/*",
"!package-lock.json",
"!*.rb",
"!*.sql"
]
},
This issue appears to occur on multiple computers as well, not just the computer I’m building on.
Issue Analytics
- State:
- Created 3 years ago
- Comments:12
Top GitHub Comments
Running as administrator (both building and the installation) doesn’t seem to work.
I think it’s probably got something to do mainly with this block of
package.json
Which I pulled from the docs I think (it’s been a while and I originally did it for another project) so that I could build on ARM.
Can anyone be of help?