UnofficialCrusaderPatch / UCP3-GUI

Dev work on the UCP3 gui
GNU Affero General Public License v3.0
2 stars 0 forks source link

[INSTALLER] Customize NSIS Installer #152

Closed TheRedDaemon closed 9 months ago

TheRedDaemon commented 10 months ago

Tauri already offers some ways to customize the installer, like including a license: https://tauri.app/v1/guides/building/windows/#customizing-the-nsis-installer-template

This should be done (at least in the future).

TheRedDaemon commented 9 months ago

Hi @Monsterfisch, can you help out with the image data for the installer?

Collection of required picture data:

Name File Type Description
headerImage .bmp The path to a bitmap file to display on the header of installers pages. The recommended dimensions are 150px x 57px.
sidebarImage .bmp The path to a bitmap file for the Welcome page and the Finish page. The recommended dimensions are 164px x 314px.
installerIcon .ico The path to an icon file used as the installer icon.

It would be best to stick to the recommended sizes. It provides a nice orientation.

The sidebarImage should be easily visible here on the left (and the icon in the window header):

grafik

I am not 100% sure regarding the headerImage (since I find no example online that says "That is it!"), but I think it is the image in the upper right in the header:

grafik

Monsterfisch commented 9 months ago

installer.zip lemme know if you need anything else =)

TheRedDaemon commented 9 months ago

Awesome, thanks for the quick work.

@Monsterfisch We are close, but the installer tricked us: 🙃 grafik

Otherwise it looks good: grafik

Can you change the headerImage to fit into its actual spot?

Monsterfisch commented 9 months ago

headerImage this should be left/right resilient ;)

TheRedDaemon commented 9 months ago

Sieht gut aus. 👍

grafik

Ich geb die MR nun frei. Besten Dank.