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
The general layout of NSIs is as follows:
Preset parameters (including selection of external compressors, compilation options, macro definitions, and file inclusion)
General installation settings
Custom Functions
Installation area content
Setup callback functions and related function definitions
Uninstall program region content
Unmount the program callback function and its related function definitions
A sample script
; Study. NSI; the followi
Tutorial 2
============================Iss2nsi v1.0a2============================Iss2nsi is a tool for convert Inno Setup script files into NSIs script files.
Usage:============================Program:At the command prompt write: iss2nsi issscript. ISS [nsisscript. NSI]If nsisied. NSI is no specified then the converted script will beSaved with the same name of the issscript. ISS but with extension. NSI.
NIS edit Plugin:1-close hm nis edit.2-put hmne_i
NSIs Installation Package _ Sample script syntax parsing
The previous section describes the NSIs installation Package _ Wizard script Primary personalization, although the end of "more personalized, please look forward to", but in the next few are not going to continue to explain how to personalize the script, but to return to the basic syntax and the NSIs of fu
Wife used his own WIN7 system for some time, has been said that the system is getting slower, let me help her reload the system. All right, then reload the order. Luckily, I backed her up with a ghost after installing WIN7. Shutdown, GHOST, wait 6 minutes ... OK, installation is complete. Then is to install the prerequisite software, what 360 Ah, QQ Ah, Sogou Input method ah. But the problem is, no matter what software I install, always reported "NSIs
IfGoogleSearch on"NSIs cancel install"Some people will find the same question. Some slave2003I have been asking this question in years. What's strange is thatNSIsNo built-in support for uninstallation is provided. On the installation page, all buttons are disabled. In addition, reading replies from Forum developers does not mean to add this function in the near future.
However, the problem cannot be solved.NSIsHalfway through development, it is foun
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
definition:
A label must be defined in a function or section, and its scope is limited to the section or function that defines it. With the point number "." The marking of the beginning is the global label.
Relative jump
NSI scripts often use relative jumps to represent conditional branching, with a syntax of [+-][1-9], a plus sign that jumps forward from the current position, and a minus sign that jumps back from the current position. Number represents the number of statement bars for a j
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
Introduction to NSIS basic syntax
Note
For single-row comments, use the "#" or Semicolon ";". For cross-row comments, use the comments syntax in c/C ++.
Data Type
Number
Numeric constants can be expressed in decimal, hexadecimal (0x as the prefix), and octal (0 as the prefix). The color is represented in RGB notation similar to that in html, but the decimal point "#" is used "#".
String
A String constant can be referenced in quotation marks, and the
Found on the Internet:
No matter what software I install, always report "NSIs Error:" Error writing temporary file. Make sure your the Temp folder is valid. "" This error, see figure below.
However, if I move the software to the system disk (c disk) for installation (which is always installed in D disk), there is no
Installation File preparation tool NSIs usage summary when developing client software for the customer, to avoid additional cost loss caused by the installation by technicians on-site, we usually make an installation package by ourselves, to ensure that the related resource and environment of the program we developed can be automatically and correctly configured before the client runs. NSIs is a popular too
confirmed Au_.exe is an integral part of the NSIs installation package, not a virus
When it unloads 360safe, it does connect to port 80 of the following address
60.195.253.85
Grab the bag as follows:
SOURCE Address: 10.1.5.189 Port: 1214 Destination Address: 60.195.253.85 Port: ttl:64 packetsize:64
Protocol: TCP TCP flag: ack| URG
0x02 0x04 0x05 0xAC 0x01 0x03 0x03 0x02 0x01 0x01 0x08 0x0A 0x00 0x00-0x00 0x00 ......
0x00 0x00 0x00 0x00 0x01 0x01 0x04
Habit of creating NSIs scripts: Create an include directory to save the files used for installation ,. the NSI file is placed in the parent directory of include, and a resource is created in the include directory to save some resource file comparison labels, interface bitmaps, and self-modified UIS.
Then analyze the official installation program. Well, first clear the Temporary Folder to find something convenient, then start the installation program,
Http://foobar.nease.net/nsis/
List of translated documents
NSIs help document and CHM version
Modern UI document
System Documentation Some Terms
Section
Section
Function
Function
Label
Mark
Flag
Bits
Modern UI
New User Interface
Page
Page
Symbol
Value assignment number
Block
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
The Helper's house editor has compiled some common NSIS code for you today, so you may be able to use it later ~
Get the operating system drive letter
ReadEnvStr $ R0 SYSTEMDRIVE
Create a log folder
CreateDirectory "$ R0 \ log"
Recursively Delete log folders
RMDir/r "$ R0 \ log"
The Windows Shutdown dialog box is displayed.
FindWindow $0 "shell_traywnd"
SendMessage $0 273 506 0
Request Windows Help
FindWindow $0 "shell_traywnd"
SendMessage $0 2
NSIs Solid (solid) compression problem by the decompression box to decompress the box shows the logic is such a 1, run the first step is to perform a CRC check, the process of verifying about 4KB step reading exe file, and do CRC check, Each check checks whether the current check time has exceeded 1s, more than the Show decompression box 2, compressed files when the solid algorithm is, all files in the following format | filesize| Filecontent| filesiz
1. Download The nsisslideshow plug-in.Official Website: wizou's website-nsisslideshow: NSIs plugin for displaying fading banners/slideshow
2. Check the example in the downloaded package.CodeAs follows:
Showinstdetails nevershow; detailed information is not displayed
Section main
Initpluginsdir
Setdetailsprint none; set a display mode for the command output status information. None indicates no output
Setoutpath "$ pluginsdir \ slides"; cop
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.