Je suis très nouveau pour NSIS et créé un script pour installer tous mes programmes d'une manière enchaînée. Le script fonctionne très bien mais je voudrais changer le texte dans la boîte en surbrillance pour montrer le nom du programme étant installé. Par exemple, si le programme d'installation installe Acrobat Reader, il doit indiquer "Installation: Adobe Acrobat Reader".NSIS: Modifier le texte « Exécuter: ******* » au texte personnalisé
Voici une capture d'écran:
; Script generated by the HM NIS Edit Script Wizard.
; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "Deployment"
!define PRODUCT_VERSION "1.0"
!define PRODUCT_PUBLISHER "NoNe"
; MUI 1.67 compatible ------
!include "MUI.nsh"
; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
; Welcome page
;!insertmacro MUI_PAGE_WELCOME
; License page
;!insertmacro MUI_PAGE_LICENSE "..\..\..\path\to\licence\YourSoftwareLicence.txt"
; Instfiles page
!insertmacro MUI_PAGE_INSTFILES
; Finish page
;!insertmacro MUI_PAGE_FINISH
; Language files
!insertmacro MUI_LANGUAGE "English"
; MUI end ------
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "Deploy.exe"
InstallDir "$TEMP"
ShowInstDetails show
Section -SETTINGS
SetOutPath "$TEMP"
SetOverwrite on
SectionEnd
Section "Adobe Acrobat Reader XI" SEC01
;Should display "Installing: Acrobat Reader" when installing this section
File "E:\Applications\AdbeRdr11002_en_US.exe"
ExecWait "$TEMP\AdbeRdr11002_en_US.exe /msi EULA_ACCEPT=YES /qn"
SectionEnd
Section "Mozilla Firefox" SEC02
;Should display "Installing: Mozilla Firefox" when installing this section
File "E:\Applications\Firefox4901.exe"
ExecWait "$TEMP\Firefox.exe -ms"
SectionEnd
Est-il possible de le faire?
Merci à l'avance ... :)
Exactement ce que je voulais !!! Fonctionne parfaitement bien. Merci beaucoup Slappy! – ajayav