/* NsisSlideshow是NSIS幻灯片循环播放的插件 NsisSlideshow可以自定义幻灯片图片,控制显示位置. */ !ifndef TARGETDIR !define TARGETDIR "..bin" !endif !addplugindir "${TARGETDIR}" Name "nsisSlideshow sample" OutFile "Sample.exe" ;uncomment the following line to see how nsisSlideshow adapts to language in automatic mode ;LoadLanguageFile "${NSISDIR}ContribLanguage FilesFrench.nlf" Page license LicenseData "Readme.txt" Page instfiles ShowInstDetails nevershow Section Main InitPluginsDir SetDetailsPrint none SetOutPath "$PLUGINSDIRSlides" File /r "Slides*" SetOutPath "$INSTDIR" nsisSlideshow::show /NOUNLOAD "/auto=$PLUGINSDIRSlidesSlides.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 SetDetailsView show SectionEnd