diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi')
-rw-r--r-- | win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi index b67757a95..ecd6d5b7f 100644 --- a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi +++ b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi @@ -33,6 +33,8 @@ SetCompressor lzma !define MUI_LICENSEPAGE_BUTTON $(^NextBtn)
!define MUI_LICENSEPAGE_TEXT_BOTTOM "You are now aware of your rights. Click Next to continue."
+!define MUI_WELCOMEFINISHPAGE_BITMAP "InstallerBackground.bmp"
+
; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
@@ -106,10 +108,11 @@ Function .onInit ;Run the uninstaller
uninst:
+ CopyFiles /SILENT /FILESONLY "$INSTDIR\uninst.exe" "$TEMP\uninstallhb.exe"
IfSilent +3
- ExecWait $INSTDIR\uninst.exe
+ ExecWait '"$TEMP\uninstallhb.exe" _?=$INSTDIR'
goto done
- ExecWait '"$INSTDIR\uninst.exe" /S'
+ ExecWait '"$TEMP\uninstallhb.exe" _?=$INSTDIR /S'
done:
FunctionEnd
|