Seems no matter what I try to put in runAfterFinish, the checkbox still appear checked after installation. I'm setting oneClick to false because I'm using allowToChangeInstallationDirectory. Shouldn't this checkbox not show up or is there a way to make the application run after finish even when using allowToChangeInstallationDirectory. Example of package.json below:
"build": {
"extraResources": [
{
"from": "app/node_modules/nodeaep",
"to": "app.asar.unpacked/node_modules/nodeaep",
"filter": "/"
},
{
"from": "app/VROOT",
"to": "app.asar.unpacked/VROOT",
"filter": "/"
},
{
"from": "../lua",
"to": "app.asar.unpacked/VROOT/lua",
"filter": "/"
}
],
"win": {
"target": [
"nsis"
],
"icon": "build/icon.ico"
},
"publish": {
"provider": "generic",
"url" : "https://drive.google.com/drive/folders/*"
},
"nsis": {
"menuCategory": true,
"oneClick": false,
"perMachine": true,
"installerHeaderIcon": "build/icon.ico",
"allowToChangeInstallationDirectory": true,
"runAfterFinish": false
},
}
Initially designed for one-click installer.
For what you want to disable ability for user to run app after finish?
I don't, but I want the allowToChangeInstallationDirectory feature, and since it doesn't work with the one-click installer I thought maby there was a way to hide the checkbox or a way to have run app after finish even with the allowToChangeInstallationDirectory set to true.
To clarify: The run box is always ticked but it doesn't run when pressing finish, nor is unticked if I set runAfterFinish to false. Can it be hidden or even better, can it run after finish when using allowToChangeInstallDirectory.

Please try 12.0.2
Tried 12.0.2 and 12.0.3. runAfterFinish: true/false and not declared. It still doesn't run after pressing finish and checkbox is always ticked.
I'm having the same problem.
I want to disable/hide the "run after finish", but the runAfterFinish setting does not seem to have any affect
@yuvallb For what do you want to hide it?
I don't really NEED to hide it,
it's just that the application is not running when the checkbox is marked,
and my most frequent use case is installing the application on a citrix server, where it doesn't make sense to run the application after the installation.
so I prefer to hide the checkbox and not run it after installation.
same issue @develar any updates?
=/
Most helpful comment
same issue @develar any updates?