!define MUI_LICENSEPAGE_BUTTON $(^NextBtn)\r
!define MUI_LICENSEPAGE_TEXT_BOTTOM "You are now aware of your rights. Click Next to continue."\r
\r
+!define MUI_WELCOMEFINISHPAGE_BITMAP "InstallerBackground.bmp"\r
+\r
; Welcome page\r
!insertmacro MUI_PAGE_WELCOME\r
; License page\r
\r
;Run the uninstaller\r
uninst:\r
+ CopyFiles /SILENT /FILESONLY "$INSTDIR\uninst.exe" "$TEMP\uninstallhb.exe"\r
IfSilent +3\r
- ExecWait $INSTDIR\uninst.exe\r
+ ExecWait '"$TEMP\uninstallhb.exe" _?=$INSTDIR'\r
goto done\r
- ExecWait '"$INSTDIR\uninst.exe" /S'\r
+ ExecWait '"$TEMP\uninstallhb.exe" _?=$INSTDIR /S'\r
done:\r
FunctionEnd\r
\r
!define MUI_LICENSEPAGE_BUTTON $(^NextBtn)\r
!define MUI_LICENSEPAGE_TEXT_BOTTOM "You are now aware of your rights. Click Next to continue."\r
\r
+!define MUI_WELCOMEFINISHPAGE_BITMAP "InstallerBackground.bmp"\r
+\r
; Welcome page\r
!insertmacro MUI_PAGE_WELCOME\r
; License page\r
\r
;Run the uninstaller\r
uninst:\r
+ CopyFiles /SILENT /FILESONLY "$INSTDIR\uninst.exe" "$TEMP\uninstallhb.exe"\r
IfSilent +3\r
- ExecWait $INSTDIR\uninst.exe\r
+ ExecWait '"$TEMP\uninstallhb.exe" _?=$INSTDIR'\r
goto done\r
- ExecWait '"$INSTDIR\uninst.exe" /S'\r
+ ExecWait '"$TEMP\uninstallhb.exe" _?=$INSTDIR /S'\r
done:\r
FunctionEnd\r
\r
<!-- Post Build Events -->\r
<Target Name="NightlyPostBuild">\r
<Exec Command="copy $(MSBuildProjectDirectory)\HandBrakeWPF\Installer\MakeNightly64.nsi $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release /Y" />\r
+ <Exec Command="copy $(MSBuildProjectDirectory)\HandBrakeWPF\Installer\InstallerBackground.bmp $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release /Y" />\r
<Exec Command="copy $(MSBuildProjectDirectory)\HandBrakeWPF\handbrakepineapple.ico $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release /Y" />\r
<Exec Command="xcopy $(MSBuildProjectDirectory)\doc $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release\doc /I /Y" />\r
<Exec Command="makensis $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release\MakeNightly64.nsi" />\r
\r
<Target Name="ReleasePostBuild">\r
<Exec Command="copy $(MSBuildProjectDirectory)\HandBrakeWPF\Installer\Installer64.nsi $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release /Y" />\r
+ <Exec Command="copy $(MSBuildProjectDirectory)\HandBrakeWPF\Installer\InstallerBackground.bmp $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release /Y" />\r
<Exec Command="copy $(MSBuildProjectDirectory)\HandBrakeWPF\handbrakepineapple.ico $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release /Y" />\r
<Exec Command="xcopy $(MSBuildProjectDirectory)\doc $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release\doc /I /Y" />\r
<Exec Command="makensis $(MSBuildProjectDirectory)\HandBrakeWPF\bin\x64\Release\Installer64.nsi" />\r