How to Use the WinRAR installation script)

Source: Internet
Author: User
How to Use the WinRAR installation script)
Simplified Chinese node-chinghua

(According to a TAO: This article is made up of two articles in chintao. This article retains all content and narrative order of the original article)

Chapter 1: WinRAR 2.8x Series

If you still use the v2.6 or v2.7 modules, see Chapter 2.

The new version of the Self-release module introduces new script commands and adds many new features. For example, it supports some HTML tags and can be displayed in rich text in the output window, the available authorization window is added. The output window supports Ctrl + C replication, and some functions are added and enhanced on the basis of compatibility with the original script commands. The command details are as follows:

Title = <title>

<Title> the title of the running window of the self-released file, for example:

Title = cachex for Netscape v2.03 Chinese Version

Text

This command now supports two versions of syntax:

(I) Traditional text syntax

TEXT = <string>

<String> the output text in the running window of the self-released file, for example:

TEXT = easily access all networks cached by Netscape offline; this is a line of text
TEXT = page. Easy to use and powerful functions !; This is a line of display text
TEXT =; this is a blank line
TEXT = hand-made: chinamoocs.11.18; this is a line of text
TEXT = Email: chengjy@371.net; this is a line of show text
TEXT = My node: http://chengjy.soim.net/; this is a line of show text
TEXT =; this is a blank line

(Ii) New Rich Text syntax

Text
{
String1
String2
}

The new syntax supports a small number of HTML tags, but the output text dialog box works well. Currently, the supported syntax is:

<B>, </B>Bold Chinese characters;<I>, </I>Italics;<H?> , </H?>? 1-6, corresponding to the Title 1-6;<U>, </u>Underline<S>, </S>Strikethrough <p> line feed, similar to carriage return <br> line feed, similar to Shift + carriage return<Font size =? Color = "#?????? "Face ="?> , </Font>Set the font type, color, and size

After my test, the font size command seems to be invalid. Can I use H? Command for similar processing;

The font face versions are different before and after v2.8b4. Previous versions depend on the High Version support of the RichEdit library, but different fonts can be set and displayed at will, the new version of the module processes the Chinese dual-byte data. After the Chinese version, only the font can be displayed. It seems that the fish and the bear's paw cannot have both;

For example, the notes of the WinRAR installation module are as follows:

Text
{
<B> <I> <font face = "terminal"> WinRAR </font> </I> is a powerful File Manager </B>. It provides <B> <font color = "# symbol A0" face = "Arial"> RAR </font> </B> and <B> <font color = "# symbol A0 "face =" Arial "> zip </font> </B> file support, and can decompress <font color = "# effeca0" face = "Arial"> ARJ </font> and <font color = "# effeca0" face = "Arial"> cab </ font>, <font color = "# symbol A0" face = "Arial"> lzh </font>, <font color = "# symbol A0" face = "Arial"> ace </ font>, <font color = "# symbol A0" face = "Arial"> tar </font>, <font color = "# symbol A0" face = "Arial"> GZ </ font> <Font color = "#0000a0" face = "Arial"> UUE </font> type file. <I> <font face = "terminal"> WinRAR </font> </I> features include strong compression, multi-volume operations, encryption technology, self-release module, and simple backup.. <Br>
<B> <I> <font face = "terminal"> WinRAR </font> </I> is a shared software </B>. Anyone can use it during the 40-day test period. If you want to continue using <I> <font face = "terminal"> WinRAR </font> </I> after the test period, you must register it! <Br>
In addition to registration costs related to the creation and release of RAR archives and self-released archives, <B> no additional authorization fees </B> are required. Valid registered users can use their RAR copies to create and publish those archives without incurring any additional RAR royalties.
}

License

The authorization window is displayed before the main window. You can set some authorization information or precautions, handling methods, andTextIdentical commands

Path = <path>

Sets the default release path. If the path has only one name, the file is released to the folder named by this name under "Program Files". If ". /"character, the folder you specified is created in the current path. If you enter a complete absolute path, no change will occur. For example:

Path = cxns; release to the cxns directory under "Program Files"

Path =./cxns_inst; install it in the cxns_inst directory under the current directory

Path = C:/cxns_inst; install it in the absolute path C:/cxns_inst directory

Overwrite = [N]

If n is 0, if an existing file is overwritten during the release process, the user is asked. This is the default operation;

If n is 1 or does not exist, the existing files are overwritten unconditionally during the release process;

If n is 2, existing files are skipped during release.

For example, overwrite = 1

Delete = <FILENAME>

<FILENAME> to delete a specified file in the target folder before releasing the file, multiple delete commands are allowed at the same time, such:

Deletecmd_delcxns.exe; Delete Uninstall. log before releasing the file

Delete = cxns. inf; Delete cxns. inf before releasing the file

Setup = <program>

<Program> specifies the program to run after all files are successfully released. Of course, the released file should contain this program file.

The new version is enhanced. You can process multiple files at a time, for example:

Setupcmdsetup.exe; run setup.exe after all files are released.

Setupdatereadme.txt; release all files and run readme.txt

Silent [= Param]

If no prompt is displayed or the start dialog box is displayed, all files are automatically released to the default folder specified in the "path" command. If no default path is defined, all files are released to the current directory.

This command is different from the old version. The parameter must be set, which can be 1 or 2:

Silent = 1 completely silent mode

Silent = 2 no confirmation dialog box, but the release process is displayed.

Tempmode = [question] [@ title]

The command I learned later is very practical. After using this command, a temporary folder will be created after the execution file is released and all files will be released here, after the program file specified by the "setup" command is executed and completed, all contents in the Temporary Folder are deleted. If this command is used, the "slient" command will be automatically called, and the "path" command must be included in the script but cannot be used. For example:

Tempmode

Or

Tempmode = do you want to install cachex for Netscape v2.03 in Chinese? @ Cachex for NS v2.03 Chinese Version

Extsign

External SIGNATURE command, new command, seems to be of little use. After setting, you can add additional data to the end of the file; otherwise, an unknown data error may occur.

Presetup = <program>

A very useful new command that allows you to execute some commands in the target folder in advance before installing or releasing files, such as uninstalling the old version:

Presetup=uninstall.exe/clean

Example 1: the installation annotation script of WinRAR 2.8beta3 is dependent on the high version of the RichEdit library in the old version, so the authorization window is added and displayed in text mode. Example 2:; cachex for Netscape v3.00 Chinese version; easy offline access to all the web pages cached by MSIE; Chinese production: chinsie on 200020.5.26; Welcome to: chinsie Simplified Chinese nodes; http://chengjy.soim.net/-- Shangdu; http://chengjy.yeah.net/-- Netease; http://chinease.126.com/-- Zhongyuan tempmode = this program will install cachex for Netscape v3.00 (Chinese version ). Do you want to continue? @ Install-cachex for Netscape v3.00 Chinese Version overwrite00001setup0000setup.exe Example 3:; pegtop xfader v4.01 Chinese version; create infinite texture materials through a bitmap to create personalized Web pages; Chinese version: chinamoocs on 200020.4; welcome to Chinese Simplified Chinese nodes; original ------ http://chinease.126.com/; Netease -------- http://chengjy.yeah.net/; Business -------- http://chengjy.soim.net/; Any questions can leave a message or send an email :; chengjy@371.netTitle = pegtop xfader v4.01 Chinese Version text = ------------------ text = chinease-more easy text = ------------------ Text = xfader can create infinite multi-TEXT = Texture Materials from any bitmap. The program is not big, but the expressiveness is very text = amazing. It is undoubtedly a good choice for creating special effects images and text = sex-based desktop wallpapers in the production of web pages. Try it now! TEXT = ------------------ text = this Chinese package can be directly pressed without the original version. Text = after the main program is run for the first time, the shortcut is automatically created in the Start Menu. If you have installed the original version, use text = to back up the xfader.exe file under the installation path. For the text = registration number, see the description file. TEXT = ------------------ text = chinease on 200020.4.23text = -------------------- text = welcome to my homepage: text = http://chinease.126.com/Text= http://chengjy.yeah.net/Text= http://chengjy.soim.net/Path=Pegtop/XFaderOverwrite=1Setup=ChinEase.txt


Chapter 2: WinRAR 2.6x and 2.7x Series

The installation script of WinRAR 2.8x has been greatly enhanced and improved. See chapter 1.

The installation script is not a new concept. In the DOS version earlier than RAR 2.5, the installer is always generated by the dedicated self-release module and the annotation file containing the installation script, the installation script of the GUI version is easier to use and more foolish during running. I have done the 2.60 simplified help manual for a long time, which contains more details. This script is developed for the 32-bit version and is valid for both RAR and ZIP files. The command details are as follows:

Title = <title>

<Title> the title of the running window of the self-released file, for example:

Title = cachex for Netscape v2.03 Chinese Version

TEXT = <string>

<String> the output text in the running window of the self-released file, for example:

TEXT = easily access all networks cached by Netscape offline; this is a line of text
TEXT = page. Easy to use and powerful functions !; This is a line of display text
TEXT =; this is a blank line
TEXT = hand-made: chinamoocs.11.18; this is a line of text
TEXT = Email: chengjy@371.net; this is a line of show text
TEXT = My node: http://chengjy.soim.net/; this is a line of show text
TEXT =; this is a blank line

Path = <path>

Sets the default release path. If the path has only one name, the file is released to the folder named by this name under "Program Files". If ". /"character, the folder you specified is created in the current path. If you enter a complete absolute path, no change will occur. For example:

Path = cxns; release to the cxns directory under "Program Files"

Path =./cxns_inst; install it in the cxns_inst directory under the current directory

Path = C:/cxns_inst; install it in the absolute path C:/cxns_inst directory

Overwrite = [N]

If n is 0, if an existing file is overwritten during the release process, the user is asked. This is the default operation;

If n is 1 or does not exist, the existing files are overwritten unconditionally during the release process;

If n is 2, existing files are skipped during release.

For example, overwrite = 1

Delete = <FILENAME>

<FILENAME> to delete a specified file in the target folder before releasing the file, multiple delete commands are allowed at the same time, such:

Deletecmd_delcxns.exe; Delete Uninstall. log before releasing the file

Delete = cxns. inf; Delete cxns. inf before releasing the file

Setup = <program>

<Program> specifies the program to run after all files are successfully released. Of course, the released file should contain this program file, for example:

Setupcmdsetup.exe; run setup.exe after all files are released.

Silent [= Param]

If no prompt is displayed or the start dialog box is displayed, all files are automatically released to the default folder specified in the "path" command. If no default path is defined, all files are released to the current directory. For example:

Silent

Tempmode = [question] [@ title]

The command I learned later is very practical. After using this command, a temporary folder will be created after the execution file is released and all files will be released here, after the program file specified by the "setup" command is executed and completed, all contents in the Temporary Folder are deleted. If this command is used, the "slient" command will be automatically called, and the "path" command must be included in the script but cannot be used. For example:

Tempmode

Or

Tempmode = do you want to install cachex for Netscape v2.03 in Chinese? @ Cachex for NS v2.03 Chinese Version

Example 1: cachex for Netscape v3.00 Chinese version; easy offline Access to All webpages cached by MSIE; Chinese production: chinsie on 200020.5.26; Welcome to: chinsie Simplified Chinese node; http://chengjy.soim.net/-- Shangdu; http://chengjy.yeah.net/-- Netease; http://chinease.126.com/-- the original wind tempmode = this program will install cachex for Netscape v3.00 (Chinese version ). Do you want to continue? @ Install-cachex for Netscape v3.00 Chinese Version overwrite00001setup0000setup.exe Example 2:; pegtop xfader v4.01 Chinese version; create infinite texture materials through a bitmap to create personalized Web pages; Chinese version: chinamoocs on 200020.4.23; welcome to Chinese Simplified Chinese nodes; original ------ http://chinease.126.com/; Netease -------- http://chengjy.yeah.net/; Business -------- http://chengjy.soim.net/; Any questions can leave a message or send an email :; chengjy@371.netTitle = pegtop xfader v4.01 Chinese Version text = ------------------ text = chinease-more easy text = ------------------ Text = xfader can create infinite multi-TEXT = Texture Materials from any bitmap. The program is not big, but the expressiveness is very text = amazing. It is undoubtedly a good choice for creating special effects images and text = sex-based desktop wallpapers in the production of web pages. Try it now! TEXT = ------------------ text = this Chinese package can be directly pressed without the original version. Text = after the main program is run for the first time, the shortcut is automatically created in the Start Menu. If you have installed the original version, use text = to back up the xfader.exe file under the installation path. For the text = registration number, see the description file. TEXT = ------------------ text = chinease on 200020.4.23text = -------------------- text = welcome to my homepage: text = http://chinease.126.com/Text= http://chengjy.yeah.net/Text= http://chengjy.soim.net/Path=Pegtop/XFaderOverwrite=1Setup=ChinEase.txt

Note:

1. The blue text in the text is the description content, not included in the script

2. The installation script does not conflict with the regular comment.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.