My Profile
Active Members
TodayLast 7 Days
more...
Awards & Gifts
Online Exams
Fresher Jobs
Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian
cities including Bangalore, Chennai, Hyderabad, Pune or Kochi
Resources
Find educational articles, blogs, discussion threads and other resources.
Colleges
Find details about any college in India or search for courses.
|
SELF-EXTRACTING ARCHIVES
Posted Date: 22 Mar 2008 Resource Type: Articles/Knowledge Sharing Category: Computer & Technology
|
Posted By: arunkumar Member Level: Gold Rating: Points: 5
|
|
|
|
The wide reach of computers to people of all ages and backgrounds has largely been affected by the userfriendliness of software. Yet, this factor is very subjective—it increases with exposure to the software and with tips from other users. In today’s connected world, e-mail is the the de-facto way of transferring files. Network administrators and long-time PC users still try and evangelise the use of FTP (File Transfer Protocol), but the apparent ease of e-mail is too good to let go. Most people have stopped urging others to use FTP, but they are still trying to share practices that will reduce the load on e-mail. One such advice is to compress the files you want to send by e-mail. New users might be perplexed by the Winzip or PKZip interfaces—one can’t extract a file by just right-clicking on it in an e-mail. WinRAR archives score over the Zip format by allowing you to add instructional guides, and the archives are also smaller. Also, this is a much more efficient way to distribute small programs instead of using commercial installers that make the installation unnecessarily large. Compression As with Winzip, you can right-click files in Windows Explorer to add them to RAR archives, but this will not give you access to options that optimise compression. If you are compressing very large or a sizeable number of files, you could gain a lot by changing the compression options. Select the files or folders you want to compress and click Add. Set the compression method to Best and enable the Solid archive option. If you are compressing multimedia files such as uncompressed wave files (files compressed with multimedia codecs will not afford noticeable compression ratios) or images, enable Multimedia Compression. On the Advanced tab, choose the dictionary size. Generally, the higher the dictionary size, the greater the compression. Self-extracting options Creating a self-extracting archive when compressing with WinRAR is as simple as enabling the ‘Create SFX archive’ option on the General tab. However, this will create simple SFXs, that will be no better than those created over the Zip format. For added functionality, add script to the archive by writing commands in the Comments box. Type each command on a separate line. You can use any combinations of the commands, depending on your purpose for the archive. Title= sets the title of the extraction window. For example, Title=Vacation Photos. Text= displays a message in the extraction window when the EXE is double-clicked. You can repeat the command several times to display multiple lines of text. Use this to give a detailed description of the archive and instructions to the user. Path= sets the default path where the files will be extracted. You can enter the entire path including the drive letter, or specify a relative path. Relative paths are always extracted to the Program Files folder. For example, Path=C:\My Documents\Vacation Photos. Silent extracts all files to the default path without providing any options and notifications to the user. If the Path command is not used, it will extract all files to the current folder. Using this is not advised without the Setup command, as it makes usage less intuitive. If Overwrite=[0, 1, 2] is set to 0, the user will be asked before overwriting the existing files. If it is set to 1 or no number is specified, all files will be overwritten without confirmation; if it is set to 2, all the existing files will not be overwritten. Delete= deletes the specified file from the destination before extracting any files. You can use as many Delete commands as you want. Setup= is a powerful option that can credit usability to your archives. The specified program will launch automatically after extraction is complete. Again, you can specify an absolute path or simply give the program name. With TempMode=[Question][@Title], the SFX will create a temporary folder, extract all files to it, start the program specified in the Setup command and remove the temporary folder with all its contents after completing the Setup program. This option is generally used to distribute programs. The optional Question and Title parameters can be used for the user to confirm installation
|
Responses
|
No responses found. Be the first to respond and make money from revenue sharing program.
|
|
Watch TV Channels
|