Skip to content
⌘ NSIS Forum Archive

how to ask if Start Menu should be CU or All

2 posts

apago#

how to ask if Start Menu should be CU or All

Hello,

I am using NSIS ModernUI and need to ask if the program's start menu shortcuts should be installed for current user or for all users. I am currently setting

SetShellVarContext all

to force all users but am worried that will fail on systems that restrict current user's permissions. Ideally, I would like for this to be a checkbox on STARTMENU page. Can anyone help?