Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB Script Requirement that could deploy MSI Packages

Status
Not open for further replies.

TSOJ

IS-IT--Management
Sep 22, 2011
1
SG
would like to see a standardized wrapper script that has a standardized set of functions/subs that can be used.( encapsulating this into a class would probably be best). The standardized function would be placed at the end of the file. The actual program logic would be at the beginning, Any code that differs from the standard functions needs to be well documented.
The sub/ functions would be something like -

AddtoprocessList – function would add process name and friendly name to a collection
PromptToendProcess – for each process in collection use prompt like in the ProcChecker script
installMSI – Given misname and transform name install msi using standard command line entries( would like logging included)
UnistallMSi – given prodID uninstall product should return the result code
runCommand – runs external script in the current working Dir needs to return the result code
IsMSIInstalled – given the prodid is msi installed should return true or false
SetReturnCode – sets the retuncode ( all scripts should end in wscript.quit returncode
WriteRegKey -
Installfile -

Quite of these functions(not the names) are oftenly used for deploying MSI packages by deployment engineers in a organisation, would appreciate if anyone could share a template....

Thanks
 
What have YOU tried so far and where in YOUR code are you stuck ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
If you are looking to hire a contractor to write something for you, I specialize in this type of automation. But I am not willing to hand out my work for free if that is what you are looking for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top