File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,8 @@ Section "!BZFlag (Required)" BZFlag
246
246
247
247
248
248
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
249
+ ; Create for all users
250
+ SetShellVarContext all
249
251
250
252
; Main start menu shortcuts
251
253
SetOutPath $INSTDIR
@@ -283,6 +285,9 @@ Section "BZAdmin" BZAdmin
283
285
File ..\..\..\bin_Release_${PLATFORM} \docs\bzadmin.html
284
286
285
287
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
288
+
289
+ ; Create for all users
290
+ SetShellVarContext all
286
291
287
292
; Main start menu shortcuts
288
293
SetOutPath $INSTDIR
@@ -317,6 +322,9 @@ SectionGroup "BZFlag Server" BZFlagServer
317
322
318
323
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
319
324
325
+ ; Create for all users
326
+ SetShellVarContext all
327
+
320
328
; Main start menu shortcuts
321
329
SetOutPath $INSTDIR
322
330
CreateDirectory " $SMPROGRAMS\$STARTMENU_FOLDER\Server"
@@ -391,6 +399,9 @@ SectionEnd
391
399
; Uninstaller Section
392
400
393
401
Section " Uninstall"
402
+ ; Remove for all users
403
+ SetShellVarContext all
404
+
394
405
; remove files
395
406
Delete $INSTDIR \*.*
396
407
Delete $INSTDIR \doc\*.*
@@ -438,8 +449,7 @@ Section "Uninstall"
438
449
StrCmp $MUI_TEMP $SMPROGRAMS startMenuDeleteLoopDone startMenuDeleteLoop
439
450
startMenuDeleteLoopDone:
440
451
441
- ; Remove desktop shortcut for all users
442
- SetShellVarContext all
452
+ ; Remove desktop shortcut
443
453
!ifdef BUILD_64
444
454
Delete " $DESKTOP\BZFlag ${VERSION} ${BITNESS}.lnk"
445
455
!else
You can’t perform that action at this time.
0 commit comments