Sunday, November 25, 2007

How to stop getting "Preparing to install" Windows Installer message when you start Visual Basic 6.0?

Ever got this message "Preparing to install... " when you are trying to launch your Visual Basic 6?

I had this problem when I have multiple user accounts in my machine, I'll get this message as VB6 was installed using another user account. There was a workaround for this, if you know the username and password for the user account who installed VB6.

1) Just right-click on the VB6 program, select "Run as..."

2) Enter the username & password who installed the VB6.

But it's kinda frustrating, coz everytime you need to run as another user for using VB6.

Finally, my colleague has taught me a way to fix this.

1) Go to C:\Windows\System32 folder, and look for msi.dll.

2) Rename the msi.dll to any other name.

3) Go to C:\Windows\System32\dllcache folder, and rename msi.dll too.

If you didn't do this step, the msi.dll in System32 folder will automatically be recreated.

If you couldn't find this dllcache folder, you may need to change a property in the Folder options.

In Windows Explorer --> Go to Tools menu --> Select Folder Options --> Click on View tab --> Uncheck the option "Hide protected operating system files (Recommended)".

4) Launch VB6, and now you are able to launch VB6 without getting the error message.

5) Rename the file to msi.dll in System32 folder and dllcache folder.

Done! ^_^

7 comments:

  1. Hi..

    I too was facing the same problem on starting VB 6.0, and I tried the steps mentioned in your blog..but I still get that "Preparing to Install' message. There is no dllcache folder in my system32 folder, so i unchecked that property in Folder options, but I find that the msi.dll is recreated everytime.

    Please tell me how do I get rid of this problem.

    Thanks,
    Shivani

    ReplyDelete
  2. Hi Kaka,

    It worked finally!!!!! I was being foolish enough and was not renaming the dllcache file..
    Once I did that... the VB 6.0 started working!!!

    Thanks a lot!!!!!

    ReplyDelete
  3. Hi Shivani,

    I'm glad that this method helped you too. I was searching around for the solution until I got this. ^_^

    ReplyDelete
  4. I had to delete my profile, and that was the beginning of my troubles. I had done a repair install, uninstall and reinstall, same problem of the installer running. Good few hours trying to sort out this mess, until I started searching on the 'net and came across this post. Thanks very much Kaka (any relation to Kaka, the Brazilian footballing maestro?)

    ReplyDelete
  5. Thanks for this post as it led me in the right direction. Unfortunately renaming the msi dll dint work for me, i had to rename C:\Program Files\Common Files\Microsoft Shared\OFFICE11\MSO.DLL. The problem appeared to be related to a Visio 2003 add in.

    The problem first occurred when our domain server was reinstalled and I had to create a new profile.

    ReplyDelete
  6. Who knows where to download XRumer 5.0 Palladium?
    Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!

    ReplyDelete
  7. It was the VISIO problem in my case as well.

    ReplyDelete