Requirements: When installing or uninstalling, you need to check whether the old version of the program process is running, if it is running, the installation or uninstallation may fail, you need to check whether the program is running when installing and uninstalling, and you can continue after ending the process.
Review:
First, you need to install the NsProcess plugin and download the version of nsProcess 1.6 at the address:The hyperlink login is visible.
Tourists, if you want to see the hidden content of this post, please Reply
Documentation:The hyperlink login is visible.
Unzip the downloaded nsProcess.zip and put the dll files under the Plugin directory into the following folder:
nsProcess.dll copied toC:\Program Files (x86)\NSIS\Plugins\x86-ansi nsProcessW.dll copied toC:\Program Files (x86)\NSIS\Plugins\x86-unicodemoreoverRename nsProcess.dll
Copy the nsProcess.nsh file under the Include folder to:C:\Program Files (x86)\NSIS\IncludeDirectory.
Modify the test.nsi script to add the following code:
The renderings are as follows:
(End)
|