Regsvr32 Help!

Results 1 to 2 of 2

Thread: Regsvr32 Help!

  1. #1
    Join Date
    Dec 1969

    Default Regsvr32 Help!

    Hi,<BR><BR>I was wondering if I can automate the registration of components during installation. I intend to do this without using the Package and Deployment Wizard.<BR><BR>Is there a way to build a component that helps register other components? If so how can I do this?<BR><BR>thanks<BR><BR>trippy

  2. #2
    Join Date
    Dec 1969

    Default RE: Regsvr32 Help!

    I don&#039;t know why you couldn&#039;t do it with a simple ".bat" file.<BR><BR>After all, you simply need to invoke "regsvr32 dllname.dll", right?<BR><BR>So your .bat file copies the dll to the windowssystem directory and then registers the dll. <BR><BR>Problem you might encounter: regsvr32 is not on the users PATH, so it is not found. You can probably write a simple piece of code to look for it and, if not found, then search windows and all the subdirs thereof for it.<BR><BR>And if .bat isn&#039;t sophisticated enough, just use a .vbs file and use WSH to run it.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts