There are corresponding methods in Win32:
use Win32;
$lib='c:/my.dll';
if ( Win32::RegisterServer($lib)){
print "ok";
}else{
print Win32::FormatMessage( Win32::GetLastError() );
}
-Ursprüngliche Nachricht-
Von: Mauricio Lairet P. [mailto:[EMAIL PROTECTED]]
Gesendet am: S
Hey Dude,
use the /s option in regsvr32 ... regsvr32's alerts require
responses.. so ur script waits for user to click OK.. .. the /s option
makes regsvr32 run in silent mode so it will register and continue...
$result = `regsvr32 /s urdll.dll`;
- Olly
-Original Message-
From:
Hi!
I was wondering if there is a script available for registering/unregistering
dlls in windows.
I tried to write one myself using `` and system() and in both cases the IIS
hangs.
I'm copying all my tests codes in case someone can see an error in there.
`CMD /C d:\\winnt\\system32\\regsvr32.e