/*
SetCursor是NSIS更换系统或自定义鼠标光标的插件
SetCursor可以使用系统的光标如正常,箭头,十字,手形等等.
*/
!AddPluginDir "../../Plugins"
!include MUI2.nsh
OutFile SetCursorMUI.exe
# Pages...
!define MUI_COMPONENTSPAGE_NODESC
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
# Languages...
!insertmacro MUI_LANGUAGE English
# Test sections!
SectionGroup /e "System Cursors"
Section "APPSTARTING Cursor"
SetCursor::System APPSTARTING
Sleep 3000
SetCursor::System NORMAL
SectionEnd
Section "ARROW Cursor"
SetCursor::System ARROW
Sleep 3000
SetCursor::System NORMAL
SectionEnd
Section "CROSS Cursor"
SetCursor::System CROSS
Sleep 3000
SetCursor::System NORMAL
SectionEnd
Section "HAND Cursor"
SetCursor::System HAND
Sleep 3000
SetCursor::System NORMAL
SectionEnd
Section "HELP Cursor"
SetCursor::System HELP
Sleep 3000
SetCursor::System NORMAL
SectionEnd
Section "IBEAM Cursor"
SetCursor::System IBEAM
Sleep 3000
SetCursor::System NORMAL
SectionEnd
Section "NO Cursor"
SetCursor::System NO
Sleep 3000
SetCursor::System NORMAL
SectionEnd
Section "SIZE Cursor"
SetCursor::System SIZE
Sleep 3000
SetCursor::System NORMAL
SectionEnd
Section "WAIT Cursor"
SetCursor::System WAIT
Sleep 3000
SetCursor::System NORMAL
SectionEnd
SectionGroupEnd
SectionGroup /e "Custom Cursors"
Section "Stop Watch Cursor"
SetOutPath $EXEDIR
SetCursor::File "$EXEDIRstopwtch.ani"
Sleep 3000
SetCursor::System NORMAL
SectionEnd
Section "Green Arrow Cursor"
SetOutPath $EXEDIR
SetCursor::File "$EXEDIRArrow.green.cur"
Sleep 3000
SetCursor::System NORMAL
SectionEnd
Section "Red Hand Cursor"
SetOutPath $EXEDIR
SetCursor::File "$EXEDIRHand.red.cur"
Sleep 3000
SetCursor::System NORMAL
SectionEnd
SectionGroupEnd
Section "Set Position: 99, 200"
SetCursor::Position 99 200
SectionEnd
THE END
暂无评论内容