Hi,

Any solution to register n no. of dll at the same time? Like needs to write any script for it?

Coz it’s too time consuming if I register dll one by one by using regser32 path syntax.

Please tell me any sol for it.

Thanks in Advance.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Surely you just need to loop through the folder, looking for any file with a DLL extension and then execute RegSvr32 against it? Find a script that enumerates files in a folder and edit that to suit your requirement.

Once you have done that, you can learn how to do it properly, i.e. by ensuring that the file in question contains the DLLRegisterServer entry-point before attempting to register it.
Answered 12/01/2008 by: VBScab
Red Belt

Please log in to comment
0
You could use this string in a batch file to silently register all dll's and ocx's in the current directory.

for %i in (*.dll;*.ocx) do regsvr32 /s %i
Answered 12/01/2008 by: Jamie B
Orange Senior Belt

Please log in to comment
0
Well…thx. A lot ..i have done it and it’s working..[:)]
Answered 12/01/2008 by: Bhaktiratna
Senior Yellow Belt

Please log in to comment
0
Bhaktiratna,

Why not rate the post that helped you in that case!?

/Kim
Answered 12/01/2008 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity