First of all, introduce NSIs. NSIs is a script installer production system that builds the installer by compiling scripts. The role of the installer is to help the user complete the installation of the software. Since the installation process of large software involves not only copying files, but also operating the registry and even system services, it is impossible to manually operate, so there is a setup program. The installer is usually a standalone EXE file. This file not only compresses all the files required by the software, but also includes a wizard interface and instructions to perform during installation, such as copying files, writing to the registry, creating system services, and many other actions. The setup program that is generated by using NSIs turns on the self-test feature by default to prevent the installer from being illegally modified or the user using a corrupted installer to install the software. Typically, the description of the NSIs error is as follows:
Error message for Setup program created by new NSIs:
Installer Integrity Check has failed. Common causes include
Incomplete download and damaged media. Contact the
Installer ' s author to obtain a new copy.
More information at:
Setup Integrity check failed!
Common causes include incomplete downloads or media corruption.
Contact the author of the installer to obtain a new copy.
An installer that was created with the previous version of NSIs 2.35 NSIs the description of the error (note: The installer that was created with NSIs 2.35 is the version of the installation program that the creator of the installer used when making the installer, regardless of the installer itself.) )：
The installer your are trying to use is corrupted or incomplete.
This could is the result of a damaged disk, a failed download or a virus.
You may want to contacts the author of this installer to obtain a new copy.
It May is possible to skip this check using THE/NCRC command line switch
The installer you are using is incomplete or corrupted.
This could be the result of a damaged disk, a download failure, or a virus result.
You may need to contact the installer's author to obtain a new copy.
You may also be able to skip the check (not recommended) by using the command line switch/NCRC.
NSIs is a foreign software, the above is the official original error hint, but actually encountered NSIs error hint text may also be other content. Since NSIs for free open source software, all do not exclude programming enthusiasts to modify NSIs source code in this error text after recompiling their own dedicated NSIs version of the creation of the installer. NSIs's self-test check can be used when generating the installer to use Crccheck off to close the check, so that the installer does not check, naturally does not eject the "NSIs error" (That is, "NSIs error"). NSIs also provides another way to skip CRC checking by/NCRC the command line argument. This is an installation program that is typically created, or a last-resort startup that is provided by the installer that has the CRC check enabled by default. Today's graphical interface is great, and the mouse double-clicks instead of the tap command, making many people have a smattering of command line parameters. Under Windows, the direct double-click of the executive EXE is not accompanied by any parameters, so the addition of parameters can only be implemented indirectly. There are two ways to add parameters to a program: 1. The command line is added directly; 2. After you create a shortcut, add it to the target column.
1. Add parameters by command line
The official mention of using command-line arguments/NCRC: Open the "Run" dialog box by opening the menu and enter cmd and click OK, that is, pop-up command prompt. Windows Vista, Windows 7 can enter CMD directly in the Start menu search box, or you can use the Windows logo key + R to open the Run dialog box (the Windows logo key is between Ctrl and Alt, but not every keyboard has one). Drag the installer with the left mouse button to the command Line window, where the path automatically appears, the path with spaces is automatically enclosed in quotes, and then you enter at least one space after the path and the/NCRC,NCRC four letters must all be capitalized.
2. Add parameters by shortcut
Right-click on the Installer and select "Create Shortcut". Then right-click on the shortcut file you created, select Properties, add spaces and/NCRC to the original path of the "target" bar, and then click OK. Then double-click the shortcut to start the installer, and the/NCRC parameter will be used to start the Setup program.
Note: In method 1, for a path with a space, drag the file onto the command line, and quotes are automatically added to both sides of the path. Method 2 You must pay attention to the quotes on both sides of the path when you add/NCRC to the shortcut's destination bar with a space path. This quotation mark is present by default in Method 2, but must not be removed when the parameter is added, the path is still enclosed in quotes, and the parameter is separated from the path by at least one space. In short: The path and parameter must be separated by an English space, and the/NCRC must be in English characters, and the letters must all be capitalized. Make sure that the input method is turned off when you enter, or you may enter an error.
The official does not recommend using the above command-line parameters to execute the installer, unless any solution does not solve the problem can be considered using the/NCRC parameter skip file Check to start the installer, but this is not the perfect solution. If the installer itself is severely damaged or not downloaded, even if you use/NCRC to start the installer, skip the self-test, only ensure that the installer can start, does not guarantee that the installation process will not be an error, or the installation can be successful, but due to data corruption caused the software can not be used.
Here are some of the things you can try to install through/NCRC, for example: Computer virus, installation package is infected, and then use anti-virus software to clear the installation program of the virus, and such as: Download tool download to 99.9% and can not download successfully, at this time can not download the completed file name extension to exe ... In these cases, the installer data can be considered to be basically complete, and you can try to resolve it using/NCRC command-line arguments.