1、下载插件 nsisSlideshow
官方网址:Wizou’s website – nsisSlideshow : NSIS plugin for displaying fading banners/slideshow
2、可以看下载包中的示例
ShowInstDetails nevershow ;不显示详细信息 Section Main InitPluginsDir SetDetailsPrint none ;为命令输出的状态信息设置一个显示模式。 none 为不输出 SetOutPath "$PLUGINSDIR\Slides" ; 将nsis同级目录下Slides中的信息Copy到"$PLUGINSDIR\Slides"中 File /r "Slides\*" SetOutPath "$INSTDIR" nsisSlideshow::show /NOUNLOAD "/auto=$PLUGINSDIR\Slides\Slides.dat" ;注意此处是多加的代码 SetDetailsPrint both DetailPrint "Showing slideshow [$LANGUAGE]" Sleep 3000 DetailPrint "Showing slideshow automatically" Sleep 3000 DetailPrint "Showing slideshow automatically while" Sleep 3000 DetailPrint "Showing slideshow automatically while performing" Sleep 3000 DetailPrint "Showing slideshow automatically while performing installation" Sleep 5500 nsisSlideshow::stop ;注意此处是多加的代码 SectionEnd