[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r1267: Create Vidalia and Tor menu entries for regular users on Win (trunk/pkg/win32/bundle)
Author: edmanm
Date: 2006-10-03 15:17:16 -0400 (Tue, 03 Oct 2006)
New Revision: 1267
Modified:
trunk/pkg/win32/bundle/bundle.nsi
Log:
Create Vidalia and Tor menu entries for regular users on Win32, like we do for Privoxy. (Ticket #163)
Modified: trunk/pkg/win32/bundle/bundle.nsi
===================================================================
--- trunk/pkg/win32/bundle/bundle.nsi 2006-10-03 18:39:50 UTC (rev 1266)
+++ trunk/pkg/win32/bundle/bundle.nsi 2006-10-03 19:17:16 UTC (rev 1267)
@@ -147,6 +147,7 @@
SubSection /e "Shortcuts" TorShortcuts
Section "Start Menu" TorStartMenu
SectionIn 1
+ SetShellVarContext all ; (Add to "All Users" Start Menu if possible)
SetOutPath "$INSTDIR\Tor"
IfFileExists "$SMPROGRAMS\Tor\*.*" "" +2
RMDir /r "$SMPROGRAMS\Tor"
@@ -214,6 +215,7 @@
; Optional section (can be disabled by the user)
Section "Start Menu Shortcuts" VidaliaShortcuts
SectionIn 1 2
+ SetShellVarContext all ; (Add to "All Users" Start Menu if possible)
CreateDirectory "$SMPROGRAMS\Vidalia"
CreateShortCut "$SMPROGRAMS\Vidalia\Uninstall.lnk" "$INSTDIR\Vidalia\uninstall.exe" "" "$INSTDIR\Vidalia\${VIDALIA_UNINST}" 0
CreateShortCut "$SMPROGRAMS\Vidalia\Vidalia.lnk" "$INSTDIR\Vidalia\${VIDALIA_EXEC}" "" "$INSTDIR\Vidalia\${VIDALIA_EXEC}" 0