This content has been marked as final. Show 8 replies
Error checking/logging removed for space, but this shows how you'd use the UDF for AutoIt3 to issue a ForceSync in a script
; Register COM
$regCom = _EEPCRegisterCOM()
; Connect to Database
$eeConnect = _EEPCConnect("installer", "mypassword", false)
; Execute Sync
$ret = _EEPCExecute($eeConnect, "ForceSync")
$ret = _EEPCDisconnect($eeConnect)
autoIt... good idea! thanks
about register sb's dll... this will required sb client to be installed, right?
is any way that without install sb client to register the sbadmcom.dll? (our help desk users are using thin client... virtual pc farm is secured, there is no need to waste sb license on them...)
just use a copy of a client directory - you can delete the graphics/locale directories if you want but most of what's left is needed.
oh, and as a note, forcesync does not need a connection to the database, it's one of the few commands which can be run locally.
getcryptstate and issyncinprogress are some others.
I also think you cheated on your XML assembly... just concatenating strings! The XML guru's will turn in their graves at your flagrant disregard for parsers! :D
I also think you cheated on your XML assembly... just concatenating strings! The XML guru's will turn in their graves at your flagrant disregard for parsers!
Well I didn't write the XML functions, I stole them (with proper permission and credit) grin
When I first started writing the AutoIt UDF I was writing my own XML parser and was trying to use the MSXML DLL to do it. When I got stumped at one point and search, I realized someone wrote the XMLDOMPARSER UDF and figured that would be easier. hehe.
Thanks for posting this Christopher. Very helpful stuff as always! happy
Started on some updates and added the ability to send commands without creating a database connection is in there now happy Thanks.