Wise Script to Install an Application with Progress Bar and an Exit Code to Altiris
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:
- Check for the source files.
- Execute the application in silent/near silent mode.
- Displays a PROGRESS BARduring silent install.
- 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:
If the installation fails at any point during the install, script will display a message box with the error number. Check the following screenshot:
Note: Attached ZIP file has two wise scripts:
- Adobe_PhotoShop_CS4.wse [For Adobe Photoshop CS4 install]
- 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
Comments
nice article
nice article
Thanks,
Eshwar
I can see a lot discussions
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?
Thanks,
Eshwar
this is very useful. thank
this is very useful. thank you.
good script. i will give it a
good script. i will give it a try
thanks,
PV
Nice article. Also i see an
Nice article. Also i see an idea
Informative and useful - Thanks
Very useful - thanks for posting examples
a good idea and a well
a good idea and a well written script
Wiseuser
Altiris Certified Professional
Would you like to reply?
Login or Register to post your comment.