Dear all,
I recently find some challenging about how to create a software package inlcuding below.
1) First step is to install the hotfix (msp) file.
2) Final step is to use regsvr32 command to register a specific dll file on the target machine.
In this case, how could I cater both different task in one same software delivery task?
Actually I intend to use VB script to handle two different tasks on the altiris server but looks failed.
The script is like this
=============================================
Option Explicit
On Error Resume Next
Dim objShell, strCmd
Set objShell = WScript.CreateObject("WScript.Shell")
strCmd = "msiexec.exe /p ""\\path\hotfix.msp"" /qb"
strCmd = "regsvr32 "C:\Program Files\Software\123.dll""
objShell.Run (strCmd,2,True)
=======================================================================
Any fault from above or any suggestions on this? Please advise.
Many thanks!