Results 1 to 5 of 5

Thread: Script to Deploy VB 6.0 DLL in Comp. Services

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2011
    Posts
    7

    Script to Deploy VB 6.0 DLL in Comp. Services

    Hi Guys
    Any Script or Automated way to deploy VB6.0 DLL into
    ''Component Services''?

    Steps:

    1) Stop IIS
    2) Shutdown Component Services
    3) Deploy dll into COM Services
    4) Start Component Services
    5) Start IIS

    Thanks

  2. #2
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Re: Script to Deploy VB 6.0 DLL in Comp. Services

    The only hitch I can foresee is stopping the component services through a command line. Provided you figure this part out, the rest should be pretty simple:

    1. At the start of the installation, stop the IIS as well as the required services using commandline switches (most setup tools should provide this ability)
    2. Complete the installation
    3. Restart the component services and IIS by running another set of commandline switches

    .
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2011
    Posts
    7

    Re: Script to Deploy VB 6.0 DLL in Comp. Services

    Thanks for your Acknowledgement.

    Can you please share the sequence of Command line steps: As i dont know how to Communicate with Component Services through Command Line.

    Thanks in Advance.

  4. #4
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Re: Script to Deploy VB 6.0 DLL in Comp. Services

    You will have to search the net to get the command lines for stopping whichever component services you want to start/stop.

    For e.g. to stop the IIS, you can use the command "iisreset /stop" at the command line.

    .
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

  5. #5
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Script to Deploy VB 6.0 DLL in Comp. Services

    For the actual COM+ part of this you might read through Automating COM+ Administration

Posting Permissions

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



Click Here to Expand Forum to Full Width