How to create an installation package for NSIS-NSIS Tutorial

Time: 2020-11-15Source: Huajun Software TutorialAuthor: Shaobing

Some friends don’t know how to make installation packages when using NSIS. Today, the editor will share the method of making installation packages with NSIS. Friends in need can learn it with the editor.

Start the main interface of the NSIS program, select the "Visual Script Editor (VNISEdit)" menu, and start making your own installation package

1.jpg

Select "Use Script Wizard to create a new script file" and OK

2.jpg

Progress Script Wizard, Next Step

3.jpg

Fill in some basic information about the application here, next step

4.jpg

Here you can choose the icon of the installation package, the generated file name, the program language, etc. You can use the default ones and do not need to modify them.

5.jpg

Select some effects, the installation program does not need to be so fancy, just go to the next step.

6.jpg

Specify the default directory. If there is an authorization file, specify it. If not, leave it empty. Next step

7.jpg

Select the files to be packaged, and directly add all the contents of the directory to be packaged. Pay attention to the two *.*, and check "Include subdirectories". Do not check "Add each file separately". When compiling, all The files are packaged, next step

8.jpg

Some settings for shortcuts, next step

9.jpg

Set what to run after the installer, next step

10.jpg

Uninstall information settings, next step

11.jpg

Complete the wizard, check "Save script" and "Convert file path to relative path", complete

12.jpg

At this point you can see the script generated through the wizard, and you can continue to modify the script here.

13.jpg

After modifying the script, click the menu "NSIS"-"Compile and Run". After successful compilation, an exe file will be generated, and the installation package is completed!

14.jpg

The above article explains the operation process of making an installation package with NSIS. I hope friends in need can learn it.

Related articles更多>>

Popular recommendations