Results 1 to 7 of 7

Thread: Silent Uninstall of Visual Basic 6

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2010
    Posts
    3

    Question Silent Uninstall of Visual Basic 6

    Hi folks,

    We plan to deploy Visual Studio 2010 in our college computer suites this summer but need to uninstall Visual Basic 6 first as we don’t want this used any more.

    Can you tell me please is there away I can do a scripted silent uninstall of VB6as it is installed on many computer suites and I’d like an automated way to remove it before doing an unattended install of VS 2010?

    I have been able to do a scripted uninstall for VS 2005 but can't see any info online on removing VB6.

    Any help gratefully appreciated!

    Regards,

    Tony

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Silent Uninstall of Visual Basic 6

    Moved To General Developer

  3. #3
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Silent Uninstall of Visual Basic 6

    Would this help?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  4. #4

    Thread Starter
    New Member
    Join Date
    Jun 2010
    Posts
    3

    Re: Silent Uninstall of Visual Basic 6

    Hi Nightwalker83,

    Thanks for your replay but I think there is some sort of confusion as I don't need code. I want a method that will allow me to uninstall Visual Basic version 6 completely from XP PCs.

    If I have missed this in your post - sorry and please point me in the right direction.

    Ideally I want a script/command line that I can run so that the app is removed silently.

    Sorry for the confusion and any help welcome!

    Regards,

    Tony

  5. #5
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Silent Uninstall of Visual Basic 6

    Yeah, I was think along the lines of a removal script when I posted that. Since you said you had previously done this with VS2005 I thought it would just be a matter changing a few things such as registry strings. I have been studying a vbs script I have from removing windows messenger to see how it could be modified to do what you need. I could post it if you like?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  6. #6

    Thread Starter
    New Member
    Join Date
    Jun 2010
    Posts
    3

    Re: Silent Uninstall of Visual Basic 6

    Yes please Nightwalker if you wouldn't mind posting your script for me if you think it will remove VB6 for me - it would be much appreciated!

    Kink regards,

    Tony

  7. #7
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Silent Uninstall of Visual Basic 6

    It's a script I found for removing Windows Messenger but you might be able to modify it to remove VB6.0.

    Code:
    'xp_messsenger_remove.vbs - Removes Windows Messenger from Windows XP
    '© Doug Knox - 3/30/02
    'This code may be freely distributed/modified
    'Downloaded from www.dougknox.com
    
    Option Explicit
    On Error Resume Next
    
    'Dimension variables
    Dim WSHShell, MyBox, p1, q1, rcmd
    Dim jobfunc
    
    'Set the Windows Script Host Shell and assign values to variables
    Set WSHShell = WScript.CreateObject("WScript.Shell")
    p1 = "HKEY_LOCAL_MACHINE\Software\Microsoft\Outlook Express\Hide Messenger"
    q1 = 2
    rcmd = "RunDll32 advpack.dll,LaunchINFSection %windir%\inf\msmsgs.inf,BLC.Remove"
    
    'Create or change the Hide Messenger value
    WSHShell.RegWrite p1, q1
    
    'Run the uninstall command
    WshShell.Run(rcmd)
    As you can see the author managed to write an uninstall script for Windows Messenger! Maybe it could be modified to do the same for VB6.0.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

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