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
I plan to change my app from perMachine=true to perMachine=false, but on app updates, i want previous users that installed per machine to keep having their per machine installation.
I thought i could do this by adding "include": "build/installer.nsh" and do something like this:
!macro preInit
# сheck registry for previous installation path
${if} ${FileExists} "C:\Program Files\${APP_FILENAME}" # is there a better way to detect a per-machine installation?
# run the multi user installer
${else}
# do nothing, as perMachine = false already
${endif}
!macroend
The reason for why i want to try this is because I want to keep oneClick: false. So really I have two questions as declared in my code above:
What is the best way to detect a per machine installation?
How can i make my include nsh script to run the per machine installation process?
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I plan to change my app from perMachine=true to perMachine=false, but on app updates, i want previous users that installed per machine to keep having their per machine installation.
I thought i could do this by adding
"include": "build/installer.nsh"
and do something like this:The reason for why i want to try this is because I want to keep
oneClick: false
. So really I have two questions as declared in my code above:The text was updated successfully, but these errors were encountered: