I have below discussed a very informative and useful uses of wisescript in application packaging.if u have anyother uses and fundas do post openly.
what is wisescript?
Easy to learn WiseScript supports a point-and-click method of scripting.The script author is
No runtime needed WiseScripts are compiled into self-contained .EXEs that do not require an agent or
Compact size A WiseScript .EXE is small in size (about 100 KB). If a script uses any files that may
Built-in rollback WiseScripts can be rolled back after they are executed on the destination computer.
User interface WiseScripts can incorporate any type of dialog to either inform the end user or
- Use WiseScript to automate system administration tasks. Its easy-to-use, structured interface lets you create useful scripts in a fraction of the time it would take to write them in a free-form scripting language such as VBScript.
- WiseScript excels at retrieving information about a computer, prompting for input (example: passwords) if necessary, and taking action based on that information.
- A WiseScript collects and analyzes the data and takes action in real time.
- Move files and directories.
- Modify a machine resource (example: registry key or .INI file).
- Locate and delete a file and its directory (example: to remove a spyware program). See Locate and Delete a File and its Directory.
- Free disk space by clearing the Temp directory, the Recycle Bin, or the Internet cache. See Clear the Temp Directory.
- Find the current Windows version. See Find the Current Windows Version.
- Find and report system information and take action depending on the results. See Find and Report System Information.
- Map a network drive. See Map a Network Drive.
- Assign license numbers from a text file.
- All WiseScript products contain the Script Editor scripting environment. The script is compiled, along with files and other resources, into an .EXE. When the .EXE is launched, the script runs, executing the actions that are specified in the script.
- You create a WiseScript by adding actions to the script pane from a predefined list. When you add an action, a dialog appears that lets you enter the parameters for the action.
- From the Actions list in the left pane, drag an action onto a line in the Installation Script list in the right pane. The new action appears above the line that is highlighted when you drop the action.
- Click in the script and double-click the action in the Actions list to place the new action above the line you clicked.
- Click in the script and start typing the first few letters of the action name. As you type, the current line becomes a drop-down list with all the action names, and the action that most closely matches the letters you typed is the current item in the list. When the action you want is the current item in the list, press Enter.
- When you add an action, a dialog appears that lets you set the parameters for the action unless it does not require parameters. When you add a Custom Dialog or Custom Billboard action, the appropriate editing environment opens.
- Some actions come in pairs. (Example: When you add an If action, you must also add an End action at the end of the condition block.) Script Editor indents actions inside these pairs.
- Open your WiseScript product.
- If a previous WiseScript opens, select File menu > New.
- If the New Installation File dialog appears, select Blank Script and click OK.
- In the Actions list on the left, double-click the Get Environment Variable action.
- Complete the Get Environment Variable dialog as follows and then click OK. (Leave the defaults for any values that are not listed here.)
Varriable Name : Enter TEMPFOLDERPATH
Drag the Delete File(s) action to the right pane (below the first action), complete its dialog as follows, and then click OK.
- WiseScripts are totally self-contained and do not require a scripting engine on the destination computer.
- WiseScripts can run on Windows 3.1, 95, 98, ME, NT, 2000, XP, and Windows Server 2003 with little or no modification.
- WiseScripts can be run silently or, unlike a batch file, with end user interaction.
- WiseScripts are small. The script engine is less than 100 KB.
- WiseScript is easy to use.
- You build WiseScripts by dragging and dropping actions and completing dialogs.
- You do not have to declare variables before you use them.
- Control and logic structures are very easy to build.
- WiseScript is well known.
- WiseScript is powerful.
- In addition to the dozens of predefined actions, WiseScripts can call VBScripts and DLL functions, making it possible to use any Windows system call.
- WiseScript is fast.
- Because the WiseScript engine is written in C++, when you build a WiseScript, you are building a C++ program. A WiseScript executes faster than a VBScript that performs the same operation.
- WiseScript is extensible.
- You can streamline your scripting process by creating your own script actions for tasks that you perform frequently. To create a user-defined action, create a WiseScript .WSE (project file) and save it in the Actions subdirectory of the WiseScript product's installation directory. Your action will be available for use in future scripts.