Make program installation package

Foreword: This article shares how to use the open source and free software Inno setup to make software installation packages related technologies, mainly from the download and installation of Inno Setup, the production of simple program installation packages, and optimization and modification. I hope it will be helpful to all friends! 

If my sharing is helpful to you, remember to like + follow, and encourage me to follow!

What I will get:

        1. Package all associated files into .exe files

        2. Pleasant installation interface

        3. Convenient installation and uninstallation

   

         Related resources: Resources required for making open source software InnoSetup installation package - CSDN Library

Table of contents

1. Inno Setup download and install

2. Simple installation package production

3. Optimize installation navigation

        "Add Simplified Chinese language during installation

        "Beautiful installation interface


1. Inno Setup download and install

        Inno Setup official website address: Inno Setup (jrsoftware.org)

        "Select the stable release version for installation: 6.2.2

           

        "Follow the prompts and follow the steps. The effect after installation is:

             

2. Simple installation package production

        "New installation wizard program: File->New

                

        "Fill in the release content: application name, version, company and URL.

                

        "Define the program installation path and the name of the installation folder, etc.;

                

                If the application does not require an installation location, select the option below. 

                

         "Set the location and associated files of the program to be produced

                

        》Set the shortcut of the application

                

                

         "Add the license file and the introduction information before and after installation

                

        "Set the installation mode

                

        "Choose the language for installation navigation

                

                At this time, only English can be selected as the language for installation navigation, and how to add Simplified Chinese will be described later. 

        "Compiler settings

                 

        "End of installation

                

        "Generate installer.exe and compiler file.iss

        》Click the installer.exe to install the program.

3. Optimize installation navigation

        "Add Simplified Chinese language during installation

                "Download Simplified Chinese language pack: Translations > Unoffical translations > Chinese(Simplified)

               

               

                GitHub address: Simplified Chinese GitHub address 

                After downloading and decompressing,  copy the ChineseSimplified.isl file to the Languages ​​folder under the Inno Setup installation path.

                "Modify the compiler file .iss, add Simplified Chinese

                

        "Beautiful installation interface

                Modify the following two pictures, the following become the small picture and the big picture

                

                

                Ready to replace small and large pictures (maximum size 164×314) in .bmp format

                     

                 Beautified effect:

                

                 

                The landscaping job is over!

                The content added to the .iss file is as follows:

WizardImageFile = F:/bigPicture.bmp
WizardSmallImageFile = F:/西柚.bmp

                

Related resources: Resources required for making open source software InnoSetup installation package - CSDN library 

summary:

        I mainly learned how to make the installation package of the application program, let's practice it quickly and make my own installation package.

If my sharing is helpful to you, remember to like + follow, and encourage me to follow!

Guess you like

Origin blog.csdn.net/qq_40041064/article/details/132096038