diff options
Diffstat (limited to 'contrib/tor-mingw.nsi.in')
-rw-r--r-- | contrib/tor-mingw.nsi.in | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/contrib/tor-mingw.nsi.in b/contrib/tor-mingw.nsi.in index 1c3641ec85..73340102de 100644 --- a/contrib/tor-mingw.nsi.in +++ b/contrib/tor-mingw.nsi.in @@ -120,18 +120,18 @@ Section "Documents" Docs File "..\LICENSE" SectionEnd -Section "TorButton for FireFox" Torbutton - SetOutPath $INSTDIR - File "${BIN}\torbutton-1.0.4-fx+tb.xpi" - - ReadRegStr $1 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe" "Path" - StrCmp $1 "" +2 0 ; if Path is empty or null, then skip to an error, otherwise proceed - Exec '"$1firefox.exe" -install-global-extension "$INSTDIR\torbutton-1.0.4-fx+tb.xpi"' - DetailPrint "Torbutton installed" - Goto +2 - MessageBox MB_OK|MB_ICONSTOP "FireFox wasn't found on your system. Not installing Torbutton." - DetailPrint "Firefox NOT found." -SectionEnd +;Section "TorButton for FireFox" Torbutton +; SetOutPath $INSTDIR +; File "${BIN}\torbutton-1.0.4-fx+tb.xpi" +; +; ReadRegStr $1 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe" "Path" +; StrCmp $1 "" +2 0 ; if Path is empty or null, then skip to an error, otherwise proceed +; Exec '"$1firefox.exe" -install-global-extension "$INSTDIR\torbutton-1.0.4-fx+tb.xpi"' +; DetailPrint "Torbutton installed" +; Goto +2 +; MessageBox MB_OK|MB_ICONSTOP "FireFox wasn't found on your system. Not installing Torbutton." +; DetailPrint "Firefox NOT found." +;SectionEnd SubSection /e "Shortcuts" Shortcuts |