How to use RAR to make installer

  

We usually do not find other software features when using some websites. For example, winrar is a famous file compression software. It is powerful and easy to operate, and it is more than winzip. Compared with winzip, winrar has a more convenient place is that it can directly create a self-extracting file (ie exe format file) without compressing it into a zip or rar file. Below I will use the most commonly used winamp as an example to briefly introduce the production method of the "installer". Open the folder you need to install, press ctrl+a to select all the files in the folder, right click and select “Add to archive file...” under “ldrar;”, and then open a parameter setting box. , in the "General" tab, check the box "Create a self-release format file", fill in the file name of the executable file you want to generate, and select the compression method (best & rdquo;;

Switch to the "Advanced" tab, click the "Self-release option" button in the middle, and click "Release path" in the pop-up "Advanced self-release option" box. Enter the program you need to run, “Run after running” enter “program name";

Then switch to “Advanced" tab, click “Add shortcut Mode & rdquo; button, pop-up "Add shortcuts" dialog box, select "ldquo; desktop" in the creation location, enter the source file name & ldquo; program name & rdquo;, shortcut description input & ldquo; program Click ", shortcut name to enter “ you need the name & rdquo;, then click & ldquo; OK & rdquo; button;

If you want to add more shortcuts to the start menu, continue to click “ Add shortcuts & rdquo; button, after all the shortcuts are added, the shortcut text edit box will list the parameters of the shortcut just added, we can also edit or modify the add shortcut directly in this text edit box The content of the parameters. After all the parameters have been set, click the “OK" button to generate the "installer"

Help for winrar self-extracting files

path=;release path

delete= ; files to be deleted, only files below path can be deleted

Delete=

delete=

delete= can also use the path, the absolute path is path+ behind

overwrite=1; all files are overwritten by default (2 is to skip all File)

;0 means that the same file will come out to overwrite the dialog box

silent=1; no dialog box appears, silent mode (1 is all implied, 2 is no dialog box) )

shortcut=d, winrar.exe, winrar, “winrar executable file”“winrar compression package management software”

; create winrar shortcut on the desktop .

shortcut=<target type>,<source name>,<target folder>,<description>,<shortcut name>

is A shortcut to the extracted files is common.

The target type is a character-wide area that can have the following values:

d Create a shortcut on the desktop

s Create a shortcut in the Start menu

p Creating shortcuts in the start menu/programs

t Creating shortcuts in the startup menu

The source name is the name of the file in the compressed package where you want to create a shortcut.

Copyright © Windows knowledge All Rights Reserved