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
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