![]() |
![]() |
![]() |
|
X-Setup Pro FeaturesScripting
X-Setup Pro includes a lot of functions that are executed inside a plugin. All of these functions (see the entire list) make hard tasks very easy and can save you a lot of time. Plus, we can also undo nearly any action done by these functions with the Restore Log and have security features like the Save Mode (you will be asked before a change happens) build-in. However, sometimes you don t need these functions within X-Setup Pro, but outside. For example, you might want to patch several registry keys from within your MS Office document, a batch-file or even you own program. X-Setup Pro is able to deliver just this! You only need to create an COM object of type xqdcXSPEngine.Plugin and execute the function RegisterExternalAccess() like this:
set obj=WScript.CreateObject("xqdcXSPEngine.Plugin") After doing so (and the user has accepted this request), you have full access to all functions of X-Setup Pro and execute functions like this: Call ii.RegWriteValue("HKCU\Software\Test\XSP External Access\Value1","my data from vbs",1) Call ii.RegWriteValue("HKCU\Software\Test\XSP External Access\Value2","666",2) Of course, all these
|
|