Visual Basic Developer Center > Visual Basic Forums > Visual Basic Interop and Upgrade > Problems installing Visual Studio 6.0 on Vista Ultimate
Ask a questionAsk a question
 

AnswerProblems installing Visual Studio 6.0 on Vista Ultimate

  • Monday, February 05, 2007 10:41 PMRory Cahill Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I can not get Visual Studio 6.0 to install on Vista Ultimate.

    I am running setup.exe as Administrator and I get an errors saying "iviewers.dll was unable to register itself in the system registry".

     

Answers

  • Tuesday, February 06, 2007 4:20 AMChris Mayo - MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Thanks for the email.  Visual Basic 6.0 needs to be installed as an Admin with elevated priveldges in order for the registry modifications to complete as expected.

    When running setup, right click on the setup.exe and chose the option "Run as Administrator...".  The setup should complete as expected.  You'll need to run the SP6 install the same way.

    Please reply back on this thread if this does not resolve your issue.

    Thanks,

    Chris Mayo

    Visual Basic Program Manager

All Replies

  • Tuesday, February 06, 2007 4:20 AMChris Mayo - MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Thanks for the email.  Visual Basic 6.0 needs to be installed as an Admin with elevated priveldges in order for the registry modifications to complete as expected.

    When running setup, right click on the setup.exe and chose the option "Run as Administrator...".  The setup should complete as expected.  You'll need to run the SP6 install the same way.

    Please reply back on this thread if this does not resolve your issue.

    Thanks,

    Chris Mayo

    Visual Basic Program Manager

  • Saturday, February 10, 2007 8:17 PMSifuGreg Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I'll reply... no matter what I do, I'll right click on setup.exe on the CD of Visual Studio and chose "Run as administrator" and always wind up with

    "RegCreateKey failed for \Interface\OLEViewerIViewerCLSID. Access is denied"

    OK is the only option which is followed by "DLLREgisterServer Failure. Access is denied"

    There is but one user on this machine and I am a member of the administrators group.  Interesting point to note, setup.exe is not running memory, it shells out to ACMSETUP.EXE but I don't have any luck trying to run that by itself, it complains about an STF file and wants to be run from it's original location.  Any suggestions?

  • Saturday, February 10, 2007 8:32 PMRory Cahill Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Chris:

    Thanks for your repsonse.  I had read this in the forums and both VS6 and the service pack were installed using the "Run as administrator..." option.

    Rory

  • Saturday, February 24, 2007 9:45 PMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Tutorial: How to install Visual Studio 6 With Service Pack 5 on Windows Vista RTM
    - Right click on Setup.EXE from the Visual Studio 6 CD (MSVS98) and choose 'Run As Administrator' (take note it doesn't matter if your user is already an administrator you still must 'Run as Administrator')
    - You may encounter some strange 'Yes/No' questions which you may not know the answers to that have not prompted you during Visual Studio Setup before. I don't remember what I clicked exactly, but I remember one of them said 'Do you want to overwrite your 'blah blah' settings?' and I clicked 'No'.
    - You will need to reboot twice during installation
    - Before running Service pack 5 setup, you must make modifications to the file 'sp598ent.stf' here's how to do that (note some of the spaces have been truncated, try to not remove the extra space in the stf file when modifying it)...

      Step 1) Open C:\ServicePack5Dir\sp598ent.stf with 'Notepad.exe'

      Step 2) Replace the following line

      13 Group 28 36 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

      -with-


      13 Group 28 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

      Step 3) Delete the following lines leaving only a carriage return where it was


      36 Depend "27 ? : 37"
      37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"

      Step 4) Save and close C:\ServicePack5Dir\sp598ent.stf

    - If you do not wish to modify this file yourself, you may download it directly from this url...
    http://www.tnexgen.com/vs6sp5/sp598ent.stf
    - Once you are done with that, you must run right click 'setupsp5.exe' and choose 'Run as Administrator' (if you do not run as administrator it will not work)
    - Service Pack 5 Setup should work fine now.
  • Saturday, April 07, 2007 10:20 PMDavid Patchen Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I had Run as Administrator and Still had the following problems on install.

    1. When starting setup it installs the Java Runtime and then reboots the system when setup it is no longer being run as adminstrator.

     

    Fix After Reboot exit from setup and run ACMBoot.exe as Administrator.

     

    2. I am running setup.exe as Administrator and I get an errors saying "iviewers.dll was unable to register itself in the system registry".  This was very consufting because I had install VS6 previously on Vista without problem but had to reformat system. After the reformat the next time I tried to reinstall I ran into the Iviewers.dll problem even running setup as Administrator.

     

    Fix: after several attempts and several rollbacks to previous restore points I found the problem. After my reformat I had install Visual Stutio 2005 Express and the latest Windows SDK prior to installing VS6. Since the Latest SDK has a newer version of the OLEViewer in it VS6 setup was not allowing the older version to be registered. Just unclick the OLEViewer form the tools to be installed on vs6 and get the latest SDK. I am sure that version 6 included with the latest SDK has several bug fixes and Enhancements over version 2.1 included with VS6

  • Saturday, January 12, 2008 6:11 PMjessemcglynn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks for the clue.

    I'm installing to Vista Enterprise and these files are called sp598vbo.sft instead of sp598ent.stf.

    On install, I receive the following:

     

    Your setup files may have been damaged.

     

    Then a series of object files not found:

    Object 21, 22, 46, 48, 50, 63, 65, 71, 72, 74, 75, 76, 78, 96, 97, 142, 1192, 1312

     

    Uninstall not successful.

     

    This is after your changes to the file sp598vbo.sft.

     

    Thanks for any information. (Jesse)

     

  • Sunday, January 13, 2008 6:04 PMguideX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Someone in another thread solved this with some modifications and said he was successful, I haven't myself tried this thought because I don't speak spanish.

    Tutorial: How to install Visual Studio 6 With Service Pack 5 (SPANISH EDITION ONLY) on Windows Vista RTM

    - Do not install Visual Studio.net (2003, 2005 or 2008) before installing Visual Studio 6.0 with Service pack 5 (they must be installed in order if you wish to have both) (if you do, this will not work at all)
    - Right click on Setup.EXE from the Visual Studio 6 CD (MSVS98) and choose 'Run As Administrator' (take note it doesn't matter if your user is already an administrator you still must 'Run as Administrator')
    - You will need to reboot twice during installation
    - Before running Service pack 5 setup, you must make modifications to the file 'sp598vbo.stf' here's how to do that (note some of the spaces have been truncated in this tutorial, try to not remove the extra space in the stf file when modifying it. If you mess with the original amount of trailing spaces it will not work, you will get a setup damaged error)...

      Step 1) Open C:\ServicePack5Dir\
    sp598vbo.stf with 'Notepad.exe'
      Step 2) Replace the following line

      13 Group 28 32 34 29 30 26 27 14 25 17 15 35 21 22

      -with-

      13 Group 28 34 29 30 26 27 14 25 17 15 35 21 22


      Step 3) Delete the following lines leaving only a carriage return where it was

       32  Depend "27 ?  : 33"      
       33  IsWin95  CustomAction "sp598vbo.dll,CheckForMDAC"

      Step 4) Save and close C:\ServicePack5Dir\sp598vbo.stf

    - Once you are done with that, you must run right click 'setupsp5.exe' and choose 'Run as Administrator' (if you do not run as administrator it will not work)
    - Service Pack 5 Setup Spanish should work fine now.

    Someone in another thread solved this with some modifications and said he was successful, I haven't myself tried this thought because I don't speak spanish.

    Tutorial: How to install Visual Studio 6 With Service Pack 5 (SPANISH EDITION ONLY) on Windows Vista RTM

    - Do not install Visual Studio.net (2003, 2005 or 2008) before installing Visual Studio 6.0 with Service pack 5 (they must be installed in order if you wish to have both) (if you do, this will not work at all)
    - Right click on Setup.EXE from the Visual Studio 6 CD (MSVS98) and choose 'Run As Administrator' (take note it doesn't matter if your user is already an administrator you still must 'Run as Administrator')
    - You will need to reboot twice during installation
    - Before running Service pack 5 setup, you must make modifications to the file 'sp598vbo.stf' here's how to do that (note some of the spaces have been truncated in this tutorial, try to not remove the extra space in the stf file when modifying it. If you mess with the original amount of trailing spaces it will not work, you will get a setup damaged error)...

      Step 1) Open C:\ServicePack5Dir\
    sp598vbo.stf with 'Notepad.exe'
      Step 2) Replace the following line

      13 Group 28 32 34 29 30 26 27 14 25 17 15 35 21 22

      -with-

      13 Group 28 34 29 30 26 27 14 25 17 15 35 21 22


      Step 3) Delete the following lines leaving only a carriage return where it was

       32  Depend "27 ?  : 33"      
       33  IsWin95  CustomAction "sp598vbo.dll,CheckForMDAC"

      Step 4) Save and close C:\ServicePack5Dir\sp598vbo.stf

    - Once you are done with that, you must run right click 'setupsp5.exe' and choose 'Run as Administrator' (if you do not run as administrator it will not work)
    - Service Pack 5 Setup Spanish should work fine now.
  • Monday, January 04, 2010 11:07 AMseariver Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks guideX!

    But there's an easier way to do it! Just replace the rest of th 33rd line, after "CustmAction" for something else already done in the steps above. That will work fine for any language (the nuber of the line must be changed, of course).

    Anyway, you are the best!
    You saved my life!

    Best regards!