Deployment Solution

 View Only

Wise Script to Install an Application with Progress Bar and an Exit Code to Altiris 

Jul 22, 2009 02:56 PM

This article is intended to those, who are new to Wise scripting and who are working on Software Delivery in Packaged applications.

There are already some articles on Symantec Connect, talking about installation wrapper scripts. Recently Eshwar has posted a vbscript wrapper with Shutdown timer. Keeping in mind that script...

I am publishing this generic installation script which will return EXIT CODES to Altiris depending upon the installation result. This is fully developed in Wise.

This Wise script will do the following tasks:

  1. Check for the source files.
  2. Execute the application in silent/near silent mode.
  3. Displays a PROGRESS BARduring silent install.
  4. Return EXIT CODE 0/3010 for successful installation and 1 for failure.

I have created a sample template "Install_Application_Version". You can also modify this script according to your needs.

I have also attached "Adobe Photoshop CS4 installation" script template. This script can be used to install all Adobe CS4 products, without modifying the script content.

Note: If you want to make use of this script without modifying, you have to keep the script out of "Adobe CS4" source folder and keep "install.xml" inside the source folder. This script will check for "...\Adobe CS4\install.xml" file and "...\Adobe CS4\Setup.exe" file before executing Setup.exe.

The script will install Adobe Photoshop CS4 in silent mode and display the following progress bar to the user:

imagebrowser image

If the installation fails at any point during the install, script will display a message box with the error number. Check the following screenshot:

imagebrowser image

Note: Attached ZIP file has two wise scripts:

  1. Adobe_PhotoShop_CS4.wse [For Adobe Photoshop CS4 install]
  2. Install_Application_Version.wse [General install script template]

Let me know the feedback in the form of voting/comments. I appreciate your time on this.

Cheers,
Tillu

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
wise script for install.zip   2 KB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Oct 26, 2009 02:02 PM

a good idea and a well written script

Oct 03, 2009 04:28 PM

Very useful  - thanks for posting examples

Aug 12, 2009 07:05 AM

Nice article. Also i see an idea

Jul 24, 2009 05:01 AM

good script. i will give it a try

thanks,
PV

Jul 24, 2009 04:34 AM

this is very useful. thank you.

Jul 23, 2009 10:25 AM

I can see a lot discussions on implementation of EXIT CODES from within the wise script.
Is there any way to pass a variable to Exit Installation?

Jul 22, 2009 02:19 PM

nice article

Related Entries and Links

No Related Resource entered.