[Question] Registering ocx components - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: [Question] Registering ocx components (/showthread.php?tid=70931) [Question] Registering ocx components by tryxter on 01-22-2007 at 01:20 PM
How is this done? I know I must use regsrv32, but how can I run DOS commands on a script? RE: [Question] Registering ocx components by Felu on 01-22-2007 at 01:31 PM
code:or you could even place it under OleFiles in the scriptinfo.xml RE: [Question] Registering ocx components by tryxter on 01-22-2007 at 01:51 PM
quote: Thanks a lot! Using this method (WScript.Shell) it will be ready to be accessed by MsgPlus? RE: [Question] Registering ocx components by vikke on 01-22-2007 at 01:54 PM
When you create a script-install program, you can choose which DLL's to register. But if you want to do it in a script, use Felu's code . RE: [Question] Registering ocx components by tryxter on 01-22-2007 at 02:49 PM
quote: And if I use OleFiles it won't need a computer restart? RE: [Question] Registering ocx components by Felu on 01-22-2007 at 02:54 PM
quote:Yea. Its the same as registering through the command line. You can use Shell.Run as many time as you want but placing it in OleFiles will only register it while the script is imported. RE: RE: [Question] Registering ocx components by tryxter on 01-22-2007 at 03:00 PM
quote: Ok, and one more time, thanks a lot! RE: [Question] Registering ocx components by vikke on 01-22-2007 at 04:57 PM Yes, it's possible. If you put the OCX in the Windows folder, a reboot is a must to register it automatically! |