aboutsummaryrefslogtreecommitdiff
path: root/contrib/tor-mingw.nsi.in
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2006-10-09 01:52:30 +0000
committerAndrew Lewman <andrew@torproject.org>2006-10-09 01:52:30 +0000
commit9b662f0bcde5405c31ce68cc1aa573ea3d24dfd4 (patch)
treeb75549cce60fd6eabfdb6d4ff82d573b33bb64b2 /contrib/tor-mingw.nsi.in
parent699fa6b4e45a676a13166089d2fbef91a6137b4d (diff)
downloadtor-9b662f0bcde5405c31ce68cc1aa573ea3d24dfd4.tar
tor-9b662f0bcde5405c31ce68cc1aa573ea3d24dfd4.tar.gz
We have icons for Tor in Win32-land.
svn:r8659
Diffstat (limited to 'contrib/tor-mingw.nsi.in')
-rw-r--r--contrib/tor-mingw.nsi.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/tor-mingw.nsi.in b/contrib/tor-mingw.nsi.in
index bcadaeecd..918a69a64 100644
--- a/contrib/tor-mingw.nsi.in
+++ b/contrib/tor-mingw.nsi.in
@@ -24,6 +24,7 @@ Name "Tor"
Caption "Tor ${VERSION} Setup"
BrandingText "The Onion Router"
CRCCheck on
+XPStyle on
;Use upx on the installer header to shrink the size.
!packhdr header.dat "upx --best header.dat"
@@ -66,6 +67,7 @@ Section "Tor" Tor
SetOutPath $INSTDIR
File "${BIN}\tor.exe"
File "${BIN}\tor-resolve.exe"
+ File "${BIN}\tor.ico"
WriteIniStr "$INSTDIR\Tor Website.url" "InternetShortcut" "URL" ${WEBSITE}
StrCpy $configfile "torrc"
@@ -123,7 +125,7 @@ Section "Start Menu" StartMenu
IfFileExists "$SMPROGRAMS\Tor\*.*" "" +2
RMDir /r "$SMPROGRAMS\Tor"
CreateDirectory "$SMPROGRAMS\Tor"
- CreateShortCut "$SMPROGRAMS\Tor\Tor.lnk" "$INSTDIR\tor.exe"
+ CreateShortCut "$SMPROGRAMS\Tor\Tor.lnk" "$INSTDIR\tor.exe" "" "$INSTDIR\tor.ico"
CreateShortCut "$SMPROGRAMS\Tor\Torrc.lnk" "Notepad.exe" "$configdir\torrc"
CreateShortCut "$SMPROGRAMS\Tor\Tor Website.lnk" "$INSTDIR\Tor Website.url"
CreateShortCut "$SMPROGRAMS\Tor\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
@@ -137,12 +139,12 @@ SectionEnd
Section "Desktop" Desktop
SetOutPath $INSTDIR
- CreateShortCut "$DESKTOP\Tor.lnk" "$INSTDIR\tor.exe"
+ CreateShortCut "$DESKTOP\Tor.lnk" "$INSTDIR\tor.exe" "" "$INSTDIR\tor.ico"
SectionEnd
Section /o "Run at startup" Startup
SetOutPath $INSTDIR
- CreateShortCut "$SMSTARTUP\Tor.lnk" "$INSTDIR\tor.exe" "" "" 0 SW_SHOWMINIMIZED
+ CreateShortCut "$SMSTARTUP\Tor.lnk" "$INSTDIR\tor.exe" "" "$INSTDIR\tor.ico" "" SW_SHOWMINIMIZED
SectionEnd
SubSectionEnd
@@ -156,6 +158,7 @@ Section "Uninstall"
Delete "$INSTDIR\Tor Website.url"
Delete "$INSTDIR\torrc"
Delete "$INSTDIR\torrc.sample"
+ Delete "$INSTDIR\tor.ico"
StrCmp $configdir $INSTDIR +2 ""
RMDir /r $configdir
Delete "$INSTDIR\Uninstall.exe"