1. Installing NSIs
Open the Setup program and follow the instructions to install it
2. After installation, open NIS Edit, click File, select New Script: Wizard (W) as shown in.
3. Click Next to change it here:
(1) Fill in the Application name *.exe file name;
(2) software version, Publisher, website according to the actual need to fill out (if not, then leave blank);
(3) The program logo will be displayed at the bottom of the installation screen (if you don't need it, you can choose not to display the text). After Setup is complete, select Next.
4. In the Install language, select "Simple Chinese" and set the icon displayed by the installer, then click Next:
5. Next: Here is the setting of a quick screen and background window properties.
6. Simply modify the custom authorization file, you can create a new txt or RFT file yourself and write some software licensing information or other information (the contents of the file will be displayed during installation and let the user choose to accept the agreement), other reserved default settings. Select Next
7. This step is the most critical, related to the eventual success of packaging.
(1) The group name in the change to "main program required", the description of the information can not be written;
(2) Delete "C:\path\to\file\AppMainExe.exe" and c:\path\to\file\Example.file at the same time
(3) Allows the user to select which components to install (optional). This option is not useful if there is only one main program that has no other program group. You can add a new program group.
Finally click the tree diagram button above
(4) Here Select the directory where the *.exe program is to be published (it is best to copy all the files used in the program to the directory, put it in a directory, the green version of the directory),
and select Include subdirectories and add each file individually (if available), leaving the rest to the default settings.
8. After loading all the files in the directory, click Next
9. This step sets the default build Start menu and desktop shortcut
Then select Next
10. You can keep the default settings (you can also add some custom readme, such as Chinese instructions, etc.), select Next
11. In the diagram only need to modify the custom Uninstaller icon, other items left the default settings, select Next
12. Select "Save Script", "Convert file path to relative path", "Compile script",
13 Select Location Save script file
14. Click Done, NIS edit automatically compile, perform the packaging process, the final build success, click Setup.exe Run to install
15. If the script is executed separately, click on the button below to execute.
Program installation
Follow the prompts to install login
program updates
1. Server Update files
2. When the client runs the program, it will automatically detect if there are any version differences that need to be upgraded to download updates
3. After the update will automatically restart the main program as follows
SNF Development Platform WinForm 11-Program Packaging-SNF rapid development Platform 3.3-spring.net.framework