Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3941788
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:35:05+00:00 2026-05-20T00:35:05+00:00

I have to deploy a classic ASP site through TFS 2010. This site has

  • 0

I have to deploy a classic ASP site through TFS 2010. This site has many custom VB 6.0 DLLs that need to be unregistered and re-registered during the deployment process. Is there a way to do this? This is my first experience using the build process through TFS, so it’s all a bit new.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T00:35:06+00:00Added an answer on May 20, 2026 at 12:35 am

    Well, I sort of solved the problem, though not exactly in the TFS build process. What I am doing is, after the build process is complete, I run an MS Deploy script, and that script copies the files that have been published by TFS to a remote server. Then, after the files have been deployed, I call another msdeploy command that runs a VBScript file that has been added to the project. The VBScript code loops through the project and re-registers all the DLLs it find.

    Here are the MS Deploy scripts, called in a batch file:

    msdeploy -verb:sync -source:contentpath=C:\temp\Build\_PublishedWebsites\TestSite -dest:contentPath=D:\Inetpub\wwwroot\TestSite,computername=RemoteSystem:1111
    msdeploy -verb:sync -source:runcommand="D:\Inetpub\wwwroot\TestSite\RegisterFiles.vbs",waitinterval=10000 -dest:auto,computername=RemoteSystem:1111
    

    Finally, the VBScript file that registers the DLLs:

    Set oShell = CreateObject ("WScript.Shell")
    
    Dim FSO, FLD, FIL
    Dim strFolder, strPath
    
    strFolder = "D:\Inetpub\wwwroot\TestSite\DLLs\"
    
    'Create the filesystem and folder objects
    Set FSO = CreateObject("Scripting.FileSystemObject")
    set FLD = FSO.GetFolder(strFolder)
    
    'Loop through the DLLs in the folder
    For Each Fil In FLD.Files
    
      If Instr(Fil.Name,".dll") Then
        strPath = strFolder & Fil.Name
        oShell.Run "regsvr32 /s /u " & strPath
        oShell.Run "regsvr32 /s " & strPath
    
      End If
    
    Next
    
    If isObject(oShell) Then
        Set oShell = Nothing
    End IF
    
    Set FLD = Nothing
    Set FSO = Nothing
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a rather complicated deploy setup for our Drupal site that is a
We're trying to have maven deploy to many multiple servers that form our cluster
I've developed a small site with ASP.NET MVC3, I will have to deploy in
I have a Silverlight-based solution (SLN) with many projects. This application has been deployed
We have an ASP classic ERP (very large application) that we want to rewrite
We have to maintain a lot of classic ASP and VB/ASP.Net applications that link
It appears that we will have to build/deploy one of our new JBoss apps
I have Richfaces application which I deploy to Glassfish v3. For many weeks (almost)
I have to deploy a software to n clients that will install a certificate
I have deploy keys set up on my server that I use to pull

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.