I am new to working with VBScripting and thought I would post here for some assistance. Any help would be appreciated.
Currently, I have a script that installs Adobe Reader 8 from a central server. I am going to deploy the script through SMS and would like to set it up to pull the files locally instead of from the central server. Below is the code I have been using. Is it possible to make it pull from the SMS distribution points with changing each script manually? For example, using a %inst% or something like that.
'-------------------------------------------
' Installing AdobeReader8
'-------------------------------------------
function InstReader8()
Set msi = CreateObject("WindowsInstaller.Installer")
msi.UILevel = 2
msi.InstallProduct "\\centralsms0\software\AdobeAcrobatReader8.0AcroRead.msi", "TRANSFORMS=\\centralsms0\software\AdobeAcrobatReader8.0\AcroRead.mst"
Set msi = Nothing
End Function
Currently, I have a script that installs Adobe Reader 8 from a central server. I am going to deploy the script through SMS and would like to set it up to pull the files locally instead of from the central server. Below is the code I have been using. Is it possible to make it pull from the SMS distribution points with changing each script manually? For example, using a %inst% or something like that.
'-------------------------------------------
' Installing AdobeReader8
'-------------------------------------------
function InstReader8()
Set msi = CreateObject("WindowsInstaller.Installer")
msi.UILevel = 2
msi.InstallProduct "\\centralsms0\software\AdobeAcrobatReader8.0AcroRead.msi", "TRANSFORMS=\\centralsms0\software\AdobeAcrobatReader8.0\AcroRead.mst"
Set msi = Nothing
End Function