I have a script which I want to run from the Send To menu command. It is designed to cause the OS (Windows XP) to create a Restore Point, then pass the executable (MSI or EXE, usually) for processing.
My end-aim is to have a Send To method to right-click on a install application, create a restore point and then begin application installation. However, I seem to be missing something in passing the "installer" for execution.
Set IRP = getobject("winmgmts:\\.\root\default:Systemrestore")
strDescription = InputBox("Restore point description: ","Installation Restore Point")
MYRP = IRP.createrestorepoint (strDescription, 0, 100)