Quantcast
Channel: Symantec Connect - Endpoint Management - Discussions
Viewing all articles
Browse latest Browse all 6689

Create software package for MSP file and then execute regsvr32 command

$
0
0
I need a solution

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!


Viewing all articles
Browse latest Browse all 6689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>