16.10.08

vs_setup.msi cannot be opened in 2008

You mean I CAN'T uninstall Visual Studio 2008? I had the unhappy luck of failing the VS2008 SP1 install, so I figured to uninstall and reinstall and then add back SP1. Sadly, my visions of a productive coding day disappears with this obscure error: "vs_setup.msi cannot be opened."

A bit of googling found a relevant post and after finding the appropriate installer key for "Microsoft Visual Studio 2008 Standard ENU" I was able to get back to work.

Run regedit and find this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products \E05F434F41678AE30980F28B666B79AD
Or this key if you have the professional edition (Thanks Jul!):
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products \4E1DAD7D4F54B2B398A9AE271876CEF4

Underneath that one was a folder called Patches. Within that folder was an entry called Patches of type REG_MULTI_SZ. I right-clicked and renamed to Patches_1.

Rerun the setup.exe for VS2008. Return to coding.

1 comments:

  1. Very cool solution. This works for the Standard Version. However, if you run the Professional version and get the same issue, you can use the same method as above, but look for this key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\4E1DAD7D4F54B2B398A9AE271876CEF4

    Regards,

    Jul

    ReplyDelete