aboutsummaryrefslogtreecommitdiffstats
path: root/installer/settings
diff options
context:
space:
mode:
authorcanni0 <canni0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-23 19:57:20 +0000
committercanni0 <canni0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-23 19:57:20 +0000
commitcb6ddc9eeb8247c6e47d3e7db283d6e5deaa09aa (patch)
tree6a93b38f7df421d32fe542af96707b8b06629840 /installer/settings
parent9003393b3d859040c7bc1b75f2f4025244b921f4 (diff)
downloadusdx-cb6ddc9eeb8247c6e47d3e7db283d6e5deaa09aa.tar.gz
usdx-cb6ddc9eeb8247c6e47d3e7db283d6e5deaa09aa.tar.xz
usdx-cb6ddc9eeb8247c6e47d3e7db283d6e5deaa09aa.zip
- Removed: Not-Referenced functions
- Closed: Assembla Ticket #110 in rev 2280 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2282 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'installer/settings')
-rw-r--r--installer/settings/functions.nsh127
1 files changed, 1 insertions, 126 deletions
diff --git a/installer/settings/functions.nsh b/installer/settings/functions.nsh
index 0b5874c5..e8655bc3 100644
--- a/installer/settings/functions.nsh
+++ b/installer/settings/functions.nsh
@@ -2,11 +2,8 @@
; checked on Finish Page
Function CreateDesktopShortCuts
-
SetOutPath "$INSTDIR"
-
CreateShortcut "$Desktop\$(sm_shortcut).lnk" "$INSTDIR\ultrastardx.exe"
-
FunctionEnd
; Deletes only empty dirs which are
@@ -74,126 +71,4 @@ FunctionEnd
!macro nsProcess::Unload
nsProcess::_Unload
-!macroend
-
-Function OnCheckbox
- GetDlgItem $R0 $HWNDPARENT 1
- Pop $0 # HWND
- ${NSD_GetState} $0 $1
- IntCmp $1 1 _Next _Close
- _Next:
- SendMessage $R0 ${WM_SETTEXT} 0 "STR:$(button_next)"
- goto _done
- _Close:
- SendMessage $R0 ${WM_SETTEXT} 0 "STR:$(button_close)"
- _done:
-FunctionEnd
-
-Function VersionCompare
- !define VersionCompare `!insertmacro VersionCompareCall`
-
- !macro VersionCompareCall _VER1 _VER2 _RESULT
- Push `${_VER1}`
- Push `${_VER2}`
- Call VersionCompare
- Pop ${_RESULT}
- !macroend
-
- Exch $1
- Exch
- Exch $0
- Exch
- Push $2
- Push $3
- Push $4
- Push $5
- Push $6
- Push $7
-
- begin:
- StrCpy $2 -1
- IntOp $2 $2 + 1
- StrCpy $3 $0 1 $2
- StrCmp $3 '' +2
- StrCmp $3 '.' 0 -3
- StrCpy $4 $0 $2
- IntOp $2 $2 + 1
- StrCpy $0 $0 '' $2
-
- StrCpy $2 -1
- IntOp $2 $2 + 1
- StrCpy $3 $1 1 $2
- StrCmp $3 '' +2
- StrCmp $3 '.' 0 -3
- StrCpy $5 $1 $2
- IntOp $2 $2 + 1
- StrCpy $1 $1 '' $2
-
- StrCmp $4$5 '' equal
-
- StrCpy $6 -1
- IntOp $6 $6 + 1
- StrCpy $3 $4 1 $6
- StrCmp $3 '0' -2
- StrCmp $3 '' 0 +2
- StrCpy $4 0
-
- StrCpy $7 -1
- IntOp $7 $7 + 1
- StrCpy $3 $5 1 $7
- StrCmp $3 '0' -2
- StrCmp $3 '' 0 +2
- StrCpy $5 0
-
- StrCmp $4 0 0 +2
- StrCmp $5 0 begin newer2
- StrCmp $5 0 newer1
- IntCmp $6 $7 0 newer1 newer2
-
- StrCpy $4 '1$4'
- StrCpy $5 '1$5'
- IntCmp $4 $5 begin newer2 newer1
-
- equal:
- StrCpy $0 0
- goto end
- newer1:
- StrCpy $0 1
- goto end
- newer2:
- StrCpy $0 2
-
- end:
- Pop $7
- Pop $6
- Pop $5
- Pop $4
- Pop $3
- Pop $2
- Pop $1
- Exch $0
-FunctionEnd
-
-Function ReadFileLine
-Exch $0 ;file
-Exch
-Exch $1 ;line number
-Push $2
-Push $3
-
- FileOpen $2 $0 r
- StrCpy $3 0
-
-Loop:
- IntOp $3 $3 + 1
- ClearErrors
- FileRead $2 $0
- IfErrors +2
- StrCmp $3 $1 0 loop
- FileClose $2
-
-Pop $3
-Pop $2
-Pop $1
-Exch $0
-FunctionEnd \ No newline at end of file
+!macroend \ No newline at end of file