How do I package this vbscript as a msi for Group Policy
- by TheCleaner
I had a developer that is no longer with us create an msi to do this for me, but the package is outdated now and we need to deploy new files.
Basically I need to do the following:
Take the code at the bottom of this question and deploy it to all users as a software install package in Group Policy. I don't want to use a computer startup script because I don't want this to run at every login...just once to install and be done.
How can I take the below and turn it into an msi for deployment through GPO?
@echo off
delete "C:\Windows\Downloaded Program Files\jdeexpimp.inf"
delete "C:\Windows\Downloaded Program Files\jdeexpimpU.ocx"
delete "C:\Windows\Downloaded Program Files\jdewebctls.inf"
delete "C:\Windows\Downloaded Program Files\jdewebctlsU.ocx"
copy "\\tuldc01\EOneActiveXapplets\ActiveX898\jdeexpimpU\*" "C:\Windows\Downloaded Program Files\"
copy "\\tuldc01\EOneActiveXapplets\ActiveX898\jdewebctlsU\*" "C:\Windows\Downloaded Program Files\"
regsvr32 "C:\Windows\Downloaded Program Files\jdeexpimpU.ocx"
regsvr32 "C:\Windows\Downloaded Program Files\jdewebctlsU.ocx"