HISE Logo Forum
    • Categories
    • Register
    • Login

    Setup BG Images or Custom Button etc theme for Inno setup

    Scheduled Pinned Locked Moved Unsolved General Questions
    35 Posts 6 Posters 3.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey
      last edited by d.healey

      ChatGPT says

      Inno Setup is a popular tool for creating Windows installers, and it does support customizing the appearance of the installer, including adding custom background images. Here's how you can add a custom background image to your Inno Setup-based installer:

      1. Prepare Your Background Image:

        • Create or obtain the background image you want to use for your installer. It's important to make sure the image is of an appropriate size and format (e.g., BMP, JPG, PNG) for your installer's window.
      2. Modify Your Inno Setup Script:

        • Open your Inno Setup script file (usually with a .iss extension) in a text editor.
      3. Define the [Setup] Section:

        • Within your script, you should have a [Setup] section. Add the following lines to this section:
        [Setup]
        ...
        WizardImageFile=<Path to your image>
        WizardImageStretch=no
        WizardSmallImageFile=<Path to your smaller image>
        WizardSmallImageStretch=no
        
        • Replace <Path to your image> with the path to your background image.
        • You can also specify a smaller image with WizardSmallImageFile if needed.
      4. Compile Your Installer:

        • Save your script after making the changes.
        • Use the Inno Setup Compiler (ISCC.exe) to compile your script and generate the installer executable. You can usually find ISCC.exe in the Inno Setup installation directory.

        For example, open a Command Prompt and navigate to the directory containing your script and ISCC.exe, then run:

        ISCC YourScript.iss
        

        Replace YourScript.iss with the name of your script.

      5. Test Your Installer:

        • Run the generated installer executable to verify that your custom background image is displayed during the installation process.

      That's it! Your Inno Setup-based installer should now have a custom background image. Make sure to adjust the WizardImageStretch and WizardSmallImageStretch settings according to your preference. If you want the images to stretch to fit the installer window, set them to "yes"; otherwise, set them to "no" to maintain the original aspect ratio.

      Remember to distribute the installer executable along with the necessary files for your application or software.

      And here's the related docs: https://jrsoftware.org/ishelp/topic_setup_wizardimagefile.htm

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      DabDabD 1 Reply Last reply Reply Quote 0
      • CasmatC
        Casmat
        last edited by Casmat

        Found this, may be of use: http://graphical-installer.com/web/

        Edit: has 30 day free trial…

        Edit: shoot I just double read your post haha

        Other than that, there’s plenty YouTube vids I saw on creating a custom ui, could be handy!

        i make music

        DabDabD 1 Reply Last reply Reply Quote 1
        • DabDabD
          DabDab @d.healey
          last edited by

          @d-healey Very basic approach. I want some big customization.

          Bollywood Music Producer and Trance Producer.

          1 Reply Last reply Reply Quote 0
          • DabDabD
            DabDab @Casmat
            last edited by

            @Casmat Yup.. I know.

            Bollywood Music Producer and Trance Producer.

            CasmatC 1 Reply Last reply Reply Quote 0
            • CasmatC
              Casmat @DabDab
              last edited by

              @DabDab are you ok with editing the script files? Or are looking for a gui program that’s like graphical installer

              i make music

              DabDabD 1 Reply Last reply Reply Quote 0
              • DabDabD
                DabDab @Casmat
                last edited by

                @Casmat Yea, I am looking for a GUI program that will look like graphical installer.

                Bollywood Music Producer and Trance Producer.

                CasmatC 1 Reply Last reply Reply Quote 0
                • CasmatC
                  Casmat @DabDab
                  last edited by

                  @DabDab then I think there’s very little options.. this website has most tools used, there’s a couple close to graphical installer, but none are as intuitive as graphical installer: https://jrsoftware.org/is3rdparty.php

                  i make music

                  DabDabD 1 Reply Last reply Reply Quote 0
                  • DabDabD
                    DabDab @Casmat
                    last edited by

                    @Casmat Oh I see.. very nice post. Thank you 😄

                    Bollywood Music Producer and Trance Producer.

                    LindonL 1 Reply Last reply Reply Quote 1
                    • LindonL
                      Lindon @DabDab
                      last edited by

                      @DabDab said in Setup BG Images or Custom Button etc theme for Inno setup:

                      @Casmat Oh I see.. very nice post. Thank you 😄

                      Build your own in HISE perhpas?

                      HISE Development for hire.
                      www.channelrobot.com

                      CasmatC DabDabD 2 Replies Last reply Reply Quote 0
                      • CasmatC
                        Casmat @Lindon
                        last edited by

                        @Lindon im hooked… how does one do this madness?? How do you go about it?

                        i make music

                        LindonL 1 Reply Last reply Reply Quote 0
                        • LindonL
                          Lindon @Casmat
                          last edited by Lindon

                          @Casmat Well basically:

                          • Hise has the ability to get and use folders/directories
                          • so there are constants for Audio Files, Sample Folder, APP Data etc. etc. so you know where these things need to be, or you can ask the user where they want them to be:
                          • Hise has the ability to uncompress zip files

                          So....

                          Build an installer app that:

                          1. Works out where your product folders need to be based upon the folders of the installer app:

                            • so our App is called Fred, our installer is called FredInstaller so, our installer reads the app data folder for itself, lets say this is:

                          C:/Users/DabDab/AppData/Roaming/DabAndCo/FredInstaller

                          So Fred's AppData folder is:

                          C:/Users/DabDab/AppData/Roaming/DabAndCo/Fred

                          1. Asks the user to define the location of the samples (if your product is using samples)
                          2. Reads a manifest file - that tells it a list of types of things to install: like Samples, Audio Files, Presets, VST3s, AUs, AAX files etc. where each of these things needs to be unzipped to and the name of the zip file containing each of these type of things

                          Here's a simple example of a json manifest file:

                          var manifest =  [
                          	
                          	{	"DataType" : VST3,
                          		"Location" : VST3LOCATION,
                          		"WindowsZipName"  : ["Fred01.zip"],
                          		"MacOSZipName" : ["Fred02.zip"],
                          		"MegaBytesRequired" : 1
                          	},
                          	{
                          		"DataType" : AU,
                          		"Location" : AULOCATION,
                          		"WindowsZipName"  : ["UNUSED"],
                          		"MacOSZipName" : ["Fred03.zip"],
                          		"MegaBytesRequired" : 1
                          	},
                          	{
                          		"DataType" : CHFILES,
                          		"Location" : USERLOCATION,
                          		"WindowsZipName"  : ["FredData04.zip","FredData05.zip","FredData06.zip"],
                          		"MacOSZipName" : ["FredData04.zip","FredData05.zip","FredData06.zip"],
                          		"MegaBytesRequired" : 2600
                          	},
                          	{
                          		"DataType" : METAFILES,
                          		"Location" : APPDATALOCATION,
                          		"WindowsZipName"  : ["FredData07.zip"], 
                          		"MacOSZipName" : ["FredData07.zip"],
                          		"MegaBytesRequired" : 1
                          	},
                          	{
                          		"DataType" : WAVFILES,
                          		"Location" : AUDIOFILESLOCATION,
                          		"WindowsZipName"  : ["FredData08.zip"], 
                          		"MacOSZipName" : ["FredData08.zip"],
                          		"MegaBytesRequired" : 26 
                          	},
                          	{
                          		"DataType" : PRESETFILES,
                          		"Location" : PRESETLOCATION,
                          		"WindowsZipName"  : ["FredData09.zip"],  
                          		"MacOSZipName" : ["FredData09.zip"],
                          		"MegaBytesRequired" : 13
                          	} 
                          ];
                          
                          1. Asks the user for the folder containing the install zip files

                          2. Gets a list of zip files in the folder

                          3. For each zip - looks in the manifest to see where this needs unzipping to, and unzips it there

                          Done...

                          Of course its a bit more complex than this... but if its all too daunting then pm me about licensing...

                          HISE Development for hire.
                          www.channelrobot.com

                          CasmatC d.healeyD DabDabD 3 Replies Last reply Reply Quote 0
                          • CasmatC
                            Casmat @Lindon
                            last edited by

                            @Lindon interesting! Thanks for the info!

                            i make music

                            1 Reply Last reply Reply Quote 0
                            • d.healeyD
                              d.healey @Lindon
                              last edited by

                              @Lindon But what about the installer for the installer app?

                              Libre Wave - Freedom respecting instruments and effects
                              My Patreon - HISE tutorials
                              YouTube Channel - Public HISE tutorials

                              LindonL 1 Reply Last reply Reply Quote 0
                              • LindonL
                                Lindon @d.healey
                                last edited by

                                @d-healey said in Setup BG Images or Custom Button etc theme for Inno setup:

                                @Lindon But what about the installer for the installer app?

                                wha!??? boggle boggle...

                                HISE Development for hire.
                                www.channelrobot.com

                                d.healeyD 1 Reply Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey @Lindon
                                  last edited by

                                  @Lindon Presumably you have to get the user to install your HISE based installer before they can use it?

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  LindonL 1 Reply Last reply Reply Quote 0
                                  • LindonL
                                    Lindon @d.healey
                                    last edited by Lindon

                                    @d-healey said in Setup BG Images or Custom Button etc theme for Inno setup:

                                    @Lindon Presumably you have to get the user to install your HISE based installer before they can use it?

                                    They download the installer, unzip it and run it...thats it....here's one at the start:

                                    3b80fb28-b976-4fda-88bf-6a39ce27802c-image.png

                                    HISE Development for hire.
                                    www.channelrobot.com

                                    ulrikU 1 Reply Last reply Reply Quote 3
                                    • ulrikU
                                      ulrik @Lindon
                                      last edited by

                                      @Lindon nice

                                      Hise Develop branch
                                      MacOs 15.3.1, Xcode 16.2
                                      http://musikboden.se

                                      1 Reply Last reply Reply Quote 0
                                      • DabDabD
                                        DabDab @Lindon
                                        last edited by

                                        @Lindon Excellent. I had no idea about it. I will try to implement from your help. If I need any help, I will let you know. Thank you :)

                                        Bollywood Music Producer and Trance Producer.

                                        1 Reply Last reply Reply Quote 0
                                        • DabDabD
                                          DabDab @Lindon
                                          last edited by DabDab

                                          @Lindon Can you help me a little more ?.. I have know idea where to start from. I have an example VST3 and I would like to deliver the VST3 as an EXE file through HISE. The VST3 will be installed on end users C:\Program Files\Common Files\VST3 location. How will I do that ? can you send me a little Example or a Snippet ?

                                          Bollywood Music Producer and Trance Producer.

                                          LindonL 1 Reply Last reply Reply Quote 0
                                          • LindonL
                                            Lindon @DabDab
                                            last edited by Lindon

                                            @DabDab said in Setup BG Images or Custom Button etc theme for Inno setup:

                                            @Lindon Can you help me a little more ?.. I have know idea where to start from. I have an example VST3 and I would like to deliver the VST3 as an EXE file through HISE. The VST3 will be installed on end users C:\Program Files\Common Files\VST3 location. How will I do that ? can you send me a little Example or a Snippet ?

                                            First VST3 files will never be delivered as an exe file, they are plugins not executables...

                                            So if you zip up your vst3 file, lets call it MyProductVST3.zip, what you are looking for your executable HISE app to do is unzip it into the folder you mentioned, so go look at the file api:

                                            Link Preview Image
                                            HISE | Docs

                                            favicon

                                            (docs.hise.audio)

                                            so start with some small zip file and see if you can work out how to find it

                                            hint:

                                            Link Preview Image
                                            HISE | Docs

                                            favicon

                                            (docs.hise.audio)

                                            followed by:

                                            Link Preview Image
                                            HISE | Docs

                                            favicon

                                            (docs.hise.audio)

                                            then use extractzipfile to extract the zip(s) you just found.

                                            HISE Development for hire.
                                            www.channelrobot.com

                                            LindonL DabDabD 2 Replies Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            9

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.3k

                                            Posts