Duh,
This is a very stripped down version of the script, but it gives the relevant command strings etc.
Option Explicit
Dim pWshShell
Dim iVersion
' Call the entrypoint
Main
'----------------------------------------------------------------------
Sub Main
On Error Resume Next
' Create our main objects to get everything else from
Set pWshShell = CreateObject("WScript.Shell")
' Setup AutoCAD customisations if the user needs them
DeployAcadFiles 2006
End Sub
Sub DeployAcadFiles(iVersion)
On Error Resume Next
Select Case iVersion
Case 2006
pWshShell.Run "regedit.exe /s ""\\SERVERNAME\ShareName\SomeFolder\ACAD 2006 CAD dll.reg""", 0, false
pWshShell.Run "\\SERVERNAME\ShareName\SomeFolder\Robocopy.exe ""\\SERVERNAME\ShareName\SomeFolder\CAD 2006"" ""C:\SomeLocalFolder\SomeCompanyCAD\2006"" /E /PURGE /LOG:""\\SERVERNAME\ShareName\Deployment Logs\Deploy_%COMPUTERNAME%.log"" /R:0 /W:0", 0, false
End Select
End Sub
For the .reg file, on my dev box, you export the relevant keys for all your .dll's, then combine then into a single .reg file. If you ever need to remove a .dll quickly, from memory, you just precede the hive you're adding with a minus ( - ) and ask the use to log off/on and the reg keys will be removed.
It's late and dinner here, but if you have any questions, post away and I will get to them when I get a chance on the weekend.
Cheers,