fixed for new paths
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4101 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
a99cda74d9
commit
dd596bc6ba
13 changed files with 28 additions and 28 deletions
|
@ -19,7 +19,7 @@ Function .onInit
|
|||
; '0' if everything closed normal, and '-1' if some error occured.
|
||||
|
||||
MessageBox MB_OK "Transparency"
|
||||
File /oname=$PLUGINSDIR\splash.bmp "${NSISDIR}\Contrib\Makensisw\logo.bmp"
|
||||
File /oname=$PLUGINSDIR\splash.bmp "${NSISDIR}\Contrib\Graphics\Wizard\orange-uninstall.bmp"
|
||||
advsplash::show 2000 0 0 0x1856B1 $PLUGINSDIR\splash
|
||||
Pop $0
|
||||
|
||||
|
|
|
@ -17,9 +17,9 @@ ShowInstDetails show
|
|||
|
||||
ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll"
|
||||
ReserveFile "testimgs.ini"
|
||||
ReserveFile "${NSISDIR}\Contrib\Makensisw\toolbar.bmp"
|
||||
ReserveFile "${NSISDIR}\Contrib\Makensisw\toolbar24.bmp"
|
||||
ReserveFile "${NSISDIR}\Contrib\Makensisw\shell.ico"
|
||||
ReserveFile "${NSISDIR}\Contrib\Graphics\Checks\colorful.bmp"
|
||||
ReserveFile "${NSISDIR}\Contrib\Graphics\Checks\modern.bmp"
|
||||
ReserveFile "${NSISDIR}\Contrib\Graphics\Icons\pixel-install.ico"
|
||||
|
||||
;Order of pages
|
||||
Page custom SetCustom "" ": Testing InstallOptions" ;Custom page. InstallOptions gets called in SetCustom.
|
||||
|
@ -35,9 +35,9 @@ Function .onInit
|
|||
|
||||
InitPluginsDir
|
||||
File /oname=$PLUGINSDIR\testimgs.ini "testimgs.ini"
|
||||
File /oname=$PLUGINSDIR\image.bmp "${NSISDIR}\Contrib\Makensisw\toolbar.bmp"
|
||||
File /oname=$PLUGINSDIR\image2.bmp "${NSISDIR}\Contrib\Makensisw\toolbar24.bmp"
|
||||
File /oname=$PLUGINSDIR\icon.ico "${NSISDIR}\Contrib\Makensisw\shell.ico"
|
||||
File /oname=$PLUGINSDIR\image.bmp "${NSISDIR}\Contrib\Graphics\Checks\colorful.bmp"
|
||||
File /oname=$PLUGINSDIR\image2.bmp "${NSISDIR}\Contrib\Graphics\Checks\modern.bmp"
|
||||
File /oname=$PLUGINSDIR\icon.ico "${NSISDIR}\Contrib\Graphics\Icons\pixel-install.ico"
|
||||
|
||||
;Write image paths to the INI file
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ XPStyle on
|
|||
Function .onInit
|
||||
# the plugins dir is automatically deleted when the installer exits
|
||||
InitPluginsDir
|
||||
File /oname=$PLUGINSDIR\splash.bmp "${NSISDIR}\Contrib\Makensisw\logo.bmp"
|
||||
File /oname=$PLUGINSDIR\splash.bmp "${NSISDIR}\Contrib\Graphics\Wizard\orange-nsis.bmp"
|
||||
#optional
|
||||
#File /oname=$PLUGINSDIR\splash.wav "C:\myprog\sound.wav"
|
||||
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
!ifndef SysFunc.NSH.Included
|
||||
!define SysFunc.NSH.Included
|
||||
|
||||
!include "${NSISDIR}\Contrib\System\System.nsh"
|
||||
!include "${NSISDIR}\Examples\System\System.nsh"
|
||||
|
||||
!verbose 3 ; For WinMessages especially
|
||||
!include "${NSISDIR}\Include\WinMessages.nsh"
|
||||
!include "WinMessages.nsh"
|
||||
!verbose 4
|
||||
|
||||
; ================= GetInstallerExeName implementation =================
|
||||
|
|
|
@ -7,7 +7,7 @@ Name "System Plugin Example"
|
|||
OutFile "System.exe"
|
||||
SetPluginUnload alwaysoff
|
||||
|
||||
!include "${NSISDIR}\Contrib\System\sysfunc.nsh"
|
||||
!include "SysFunc.nsh"
|
||||
|
||||
Section "ThisNameIsIgnoredSoWhyBother?"
|
||||
SetOutPath $TEMP
|
||||
|
@ -23,7 +23,7 @@ Section "ThisNameIsIgnoredSoWhyBother?"
|
|||
; The same example but using icon from resource.dll.
|
||||
; You could use this dll for storing your resources, just replace FAR icon
|
||||
; with something you really need.
|
||||
File "${NSISDIR}\Contrib\System\Resource.dll"
|
||||
File "Resource.dll"
|
||||
System::Call '${sysMessageBeep} (${MB_ICONHAND})' ; custom beep
|
||||
!insertmacro smMessageBox "`$TEMP\resource.dll`" "Message box with custom icon from resource.dll!" "System Example 1b" ${MB_OKCANCEL} "i 103"
|
||||
Delete $TEMP\resource.dll
|
||||
|
@ -114,7 +114,7 @@ enumex: ; End of drives or user cancel
|
|||
; ----- Sample 7 ----- systemSplash -> Callbacks demonstration -----
|
||||
|
||||
; Logo
|
||||
File /oname=spltmp.bmp "${NSISDIR}\Contrib\Makensisw\logo.bmp"
|
||||
File /oname=spltmp.bmp "${NSISDIR}\Contrib\Graphics\Header\orange-nsis.bmp"
|
||||
; File /oname=spltmp.wav "d:\Windows\Media\tada.wav"
|
||||
|
||||
; I. systemSplash variant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue