How to compile NSIS User-Defined Interface scripts
Almost two Windows 8 and windows 10 Operating Systems launched by Microsoft Use Wizard interface styles. In fact, Modern UI (new user interface) has similar interface styles, if you want to design a welcome page, you can add options such as installation introduction and immediate execution on the page. Next, let's take a look at its implementation code.
; NSIS
1. Requirements need to implement the installation and update of the program 2.1. Use Microsoft-brought software Installation 2. Software installation using InstallShield 3. There are many software installations using NSIs, this article uses NIS edit + NSIs for installation 3. Step 1. Download NIS Edit and NSIs and install NIS edit:http://sourceforge.net/projects
One, NSIs error what meaning
System error prompts English as "Installer integrity check has failed. Common causes include incomplete download and damaged media. Contact the installer are author to obtain a new copy,
Translation: Start the program at the beginning of the system for the integrity of the installer was tested, but the result is that the installer source is not complete or corrupted, because of this reason Windows blocked the program to
Introduction to VCL-styles-plugins
Nsisvclstyles plugin (DLL) is a skin plug-in used in NSIs installation programs. The plug-in size is about 1.6 Mb, and the actual application is compressed to about kb in the installation program.
Install the plug-in. The installation program has over 30 skin files and a set of NSIs application samples NSI. You only need to follow the setup of the installation program
Authenticated au_.exe is an integral part of the NSIS installation package, not a virus
When it uninstalls 360safe, it does connect to port 80 of the following address:
60.195.253.85
Packet Capture is as follows:Source Address: 10.1.5.189 port: 1214 Destination Address: 60.195.253.85 port: 80 TTL: 64 PacketSize: 64Protocol: TCP flag: ACK | URG0x02 0x04 0x05 0xAC 0x01 0x03 0x03 0x02 0x01 0x01 0x08 0x0A 0x00 0x00 0x00 0x00 ................0x00 0x00 0x0
Tags: NSIs script API This is a frequently asked question in the group. In fact, you can take a closer look at the help documentation and ask Baidu Google to solve the problem. There are only two solutions. First, use tools such as reshacker to modify the NSIs UI template. The control ID is 1046. Drag the control to the full header and save it and reference it in the script. The second code solves this p
Original link http://www.flighty.cn/html/bushu/20110402_115.htmlIf the program that we are installing or upgrading is running, the file will definitely replace the failure, and the following code can prompt the user to end the running program.Need to use plugin FindProcDLL.dll, download path: http://nsis.sourceforge.net/FindProcDLL_plug-inHttp://files.cnblogs.com/files/z5337/FindProc.zipHttp://files.cnblogs.com/files/z5337/KillProcDll%26FindProcDll.zi
(Interested users may wish to copy the following code into the NSIs plug-in to run a look)
/*
If you are have this effects,please keep!
Writer: "Mr.z_production JUAN "
http://blog.163.com/53_54
Thanks:restools,zhfi,x-star
*/
! Addplugindir "."
! Addincludedir "."
!include Mui2.nsh
; --------------------------------------------------
; General settings.
Name "Flame_effects Example"
OutFile "Nsis_fire.exe"
Setcompressor/solid Lzma
Reserve
In the installation package, you need to determine whether a process is enabled, so a plug-in nsiskillprocess is searched online.Link address for http://www.esanu.name/programs/NSISKillProcess.html
It can be used, no problem, but it is found that the size of the installation is much larger (ourProgramThe size of processwork. dll is 231 K, and our program itself is more than 300 K...So I had to search for the plug-in again. On the NSIs homepage, I fou
Microsoft's nearly two operating systems, Windows 8 and Windows 10, use the wizard interface style, in fact, the modern UI (new user interface) with this similar interface style, if the user design a welcome page, you can add the installation introduction, whether immediately to execute options. Let's take a look at its implementation code below.
; NSIs Modern User Interface
; Basic Example Script
; Written by Joost Verburg
;----------
NSIs: An Example of judging and installing. NET Framework
Currently, software developed by. NET is widely used, but some operating systems do not meet the running requirements of the software. Therefore, we need to installProgram. NET Framework. If it does not meet the requirements, install it silently.
First, we will judge the current. Net version in the function section:
Function getnetframeworkversion; Obtain the. NET Framework version. Support
This is some commonly used NSIs code, less frivolous deliberately sorted out, convenient for everyone to view the use at any time. Update not regularly oh ~ ~ ~ "From: http://www.flighty.cn/html/bushu/20120827_156.html"
1
; Get the operating system drive letter
2
Readenvstr $R 0 systemdrive
3
This problem happened when I visited the csdn Forum in December. At that time, I was curious about why the landlord wanted to hide the close button and asked me the answer. As a result, the landlord had abandoned the building and did not give the reason, I guess it may be to make custom page beautification and cannot change the appearance of the new button. Later I thought it would be easier to modify the window style. Here I use the getwindowlong and setwindowlong APIs.
Function onguiinitSyste
NSIs check disk space is insufficient, reproduced from: http://stackoverflow.com/questions/989172/how-can-i-check-free-space-during-a-nullsoft-silent-install
! Include filefunc. nsh
MemoThe end
section-.netframework; detection is required. Netframework version Call getnetframeworkversionpop $R 1;${if} $R 1 NSIs detecting the. NET framework and downloading it online
When writing NSIs packaging scripts, we often need to test whether some of the methods are feasible. Just like we're writing code, for example, printing some constant values and testing for things like we expected.
I never knew how to test the output of some operations individually.
Loadlanguagefile "${nsisdir}\contrib\language FILES\SIMPCHINESE.NLF"
showinstdetails show #显示调试信息打印窗口
OutFile "Test.exe"
Name "test" section
"test"
detailprint "appd
NSIs Untitled window Movement
After the previous few, we loaded the background image, removed the original borders, controls, etc., and you found that when the mouse clicked on the window title bar, the window cannot be moved. Next, look at how our window implements the window movement. The subtext of the untitled move is to pass the message that was originally passed to the title bar to the title bar through your defined element callback, so just ad
Many development tools provide plug-ins to facilitate users to achieve some common functions, reduce the burden on programmers. Today's small knitting to tell you how to call the Buttonlinker plug-in implementation of the Super button effect.
/*
#脚本范例 #
Written: X-star, ZHFI
Description: Create Super button link menu with plugin and header file, do not need to modify UI
Resources: Plug-in "ButtonEvent.dll", "Linker.dll", "System.dll" and header
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.