1
왼쪽의 이미지 bmp를 변경할 수 있습니까? FINISH_UNPAGE에서만 가능합니까? 감사합니다.NSIS를 사용하여 FINISH_UNPAGE의 왼쪽 이미지를 변경 하시겠습니까?
의 예는 다음과 같습니다
나는 단지이 창 "FINISH_UNPAGE"의 이미지를 변경해야합니다.
왼쪽의 이미지 bmp를 변경할 수 있습니까? FINISH_UNPAGE에서만 가능합니까? 감사합니다.NSIS를 사용하여 FINISH_UNPAGE의 왼쪽 이미지를 변경 하시겠습니까?
의 예는 다음과 같습니다
나는 단지이 창 "FINISH_UNPAGE"의 이미지를 변경해야합니다.
MUI_UNWELCOMEFINISHPAGE_BITMAP
일반적으로 필요한 모든 것이 있지만 적절한 시간에 비트 맵 파일을 덮어 쓰면 변경할 수 있습니다.
!include MUI2.nsh
InstallDir $temp\example
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange.bmp" ; This sets the image for the uninstallers Welcome AND Finish pages which is usually what you want.
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!define MUI_PAGE_CUSTOMFUNCTION_PRE un.overrideunfinishbmp
!insertmacro MUI_UNPAGE_FINISH
!insertmacro MUI_LANGUAGE "English"
Function un.overrideunfinishbmp
File "/oname=$PLUGINSDIR\modern-wizard.bmp" "${NSISDIR}\Contrib\Graphics\Wizard\nullsoft.bmp"
FunctionEnd
Section
SetOutPath "$InstDir"
WriteUninstaller "$InstDir\Uninstall.exe"
SectionEnd
Section Uninstall
Delete "$InstDir\Uninstall.exe"
RMDir "$InstDir"
SectionEnd