Home » Visual Studio

vs_setup.msi could not be opened

I'm having a problem installing installing Visual Studio 2005.  When it pops up the first screen on the waizrd and popup appears saying "The Windows Installer package: d:\vs_setup.msi could not be open"  Any suggestions?

16 Answers Found


Answer 1

firstly have you read this:


this may/may not help you in resolving the problem.

Secondly, have you tried to install it from another DVD drive? What about a different computer? Same problem?

Thirdly, have you been able to create an image of this media, using something like nero burning ROM for example, then mounting this using a Virtual CD tool and running setup from the harddisk?


Answer 2

I had this same problem. I was able to repair the problem  by using the Windows Install Clean Up utility (http://support.microsoft.com/default.aspx/kb/290301) to remove ONLY the visual  studio 2005 professional installer. I also renamed the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0 to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0RightOut. And renamed the "Program Files\Microsoft Visual studio  8" directory to "Program Files\Microsoft Visual Studio 8_rightout". Then it re-installed perfectly.


Answer 3

Just a bit more information on the (possible) cause and fix for the previous problem.

(1) When Control Panel "add/remove software" is used  with visual  Studio Express or Visual studio  8.0 then the following message appears:

"... problem  has been encountered while loading the setup components visual studio"

(2) When setup.exe is run form the disk (or ISO disk) then the following message (eventually) appears:

     (drive letter):\vs_setup.msi could not be opened

Possible Cause:

Installing Visual Studio Express over Visual Studio 8


As described in previous post ie:

  (1) Rename the Visual Studio directories to something else (ie. add REMOVE to the folder name)

  (2) rename the following Register entry using REGEDIT (use with care!)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0  (ie. change \8.0 to \8.0REMOVE)

  (3) Download the Windows Install Clean Up utility at: http://support.microsoft.com/default.aspx/kb/290301

       Use this software to 'clean up' anything with Visual Studio in the name.

  (4) Reinstall the Visual Studio software

Worked for me! And that was after 2 days of trying everything else from loading with Virtual disks to getting fresh copies of the software.


Answer 4

I've tried that but couldn't reinstall or uninstall VS 2005. Is there any other way?


Answer 5

I inherited a lap top and am now trying to remove visual  studio 2005 professional edition - enu.  I am getting the vs_setup.msi could not be opened.  I do not have the install disks and was wondering if there is such a file, where it is and how I might download it.


Answer 6

I was having the same issue when trying to load a trail version of Vision Studio 05.  This allowed me to get past the error message for the re-install but now it's saying I have a trail version already loaded and I need to uninstall it before I can reinstall it.  However, when I try to uninstall it I'm getting the same error message "vs_setup.msi could not be found."  So how do I uninstall the trail version so I can re-install it?


Answer 7

Thanks for the tip HallCrash.  I had the same vs_setup.msi problem, and your clear concise directions solved it for me.

Answer 8

I had this same error but for a differnet reason. Basically I'd downloaded the image file to my local PC and I needed to install it to a server through terminal services. So I renamed the .img to a .iso and mounted it. I made my local drive resources available through terminal services and just tried to install VS2005 on the remote server through the relevant drive mapping and it would start the install and stop after about a minute with the error mentioned in the subject.

However I found that if I shared the mounted drive with standard windows filesharing and access it over the network via this standard network share (instead through terminal services local resource mapping) it allowed me to install everything without error.


Answer 9

I have the same error.

I wanted to change the directory name from 8.0 to something else but I did not find any 8.0 in the visual  studio directory in the registry key. It has 3.5 7 9.0.
Can any one help me out.......

Answer 10

Any luck with your problem.  I have the same problem  as you.  I believe the 7.0 is Visual FoxPro product, not sure what the 9 entry is.
What a pain this is!!!

Answer 11

Same error when trying to install VS 2003 from a dvd being hosted as a local resource in remote desktop. Resolution access the files with a UNC path - installed no probs.

Answer 12

Thanks to HallCrash and Jamon for the great advice. My issues was "vs_setup.msi could not be opened" when trying to reinstall VS 2008 and I was completely stuck. I'm now up and running again!



Answer 13

Although I did not have the registry entries listed by hallcrash, there is a Microsoft Web Platform Installer 2.0 RC that (after disabling my AV) would allow me to correct the platform that allows the software to install.


Answer 14

Thank you Jamon! I've had a failed Windows update for VS that completely messed up my install. You described exactly the symptoms I got, and your solution fixed it.

Answer 15

There is an associated problem  reported at http://forums.asp.net/t/1526228.aspx

Answer 16

I had this issue with VS2008 (with SP1). The reported path was c:\program files (x86)\Microsoft Visual Studio 9.0\vs_setup.msi.

I discovered that the original installation location was from a mapped drive that no longer existed. I re-established the mapped drive so the original install path was correct again, and it then worked.

I found the original install path by searching the registry for "vs_setup.msi", and came to a key called "HKEY_CLASSES_ROOT\Installer\Products\01CA127634731F831B870CCEC6A91480\SourceList".

Sadly, when I tried to repair install VS, it had numerous failures.... might need an uninstall....



I'm having a problem installing installing Visual Studio 2005.  When it pops up the first screen on the waizrd and popup appears saying "The Windows Installer package: d:\vs_setup.msi could not be open"  Any suggestions?


I have Visual Studio 2008 Pro SP1 installed on my machine.  I'm trying to uninstall it but when I do, I get an error saying that vs_setup.msi can not be opened.


I searched this forum and found this thread, http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/d5f32eee-2c7a-4883-af3e-cbdcd6d942d5, but this did not work.  Maybe because the thread suggests to use the Windows Install Clean Up utility (http://support.microsoft.com/default.aspx/kb/290301 ) but the link points to the Office clean up (I didn't see any mention of Visual Studio but I ran it anyway, but nothing changed).

Any suggestions?  What's causing this to fail?





My Visual Studio 2010 installation is failing with error, "e:\vs_setup.msi could not be opened".  The  (daemon virtual) drive is ready, and the file is present.

I'm trying to do a side-by-side installation with Visual Studio 2008, which is supported, per http://msdn.microsoft.com/en-us/library/ms246609.aspx.  I'd prefer to not uninstall my 2008 instance, or change it's registry keys or installation folder, or run the Windows Cleanup Utility, because I need both versions. 

I've tried a lot of suggestions on the web, including this frequently cited post:  http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/d5f32eee-2c7a-4883-af3e-cbdcd6d942d5/

I've disabled antvirus, have expanded/copied the ISO contents to a folder on my C:\ drive, and my WinXP Pro SP3 workstation is up to date on updates.  The prerequisites installed fine.  Disk space and RAM are plentiful.  

I downloaded this Visual Studio 2010 Professional ISO from MSDN yesterday.

Any ideas? 



im trying to upgrade vs2010 rc to the ultimate, but cannot because it cant find "vs_setup.msi." so i copied a copy of vs_setup.msi from vs10 iso, and it gave me an error. i read on here, somewhere, that deleting the directory (c:\program files(x86)\visual studio 10.0\) would work, so i tried it and i was able to uninstall vs10 (via add/remove programs). so i then tried to install vs10, and it failed. im running win7 ultimate, 64bit. i extracted the vs10 .iso to a location on my hard drive. nothing seems to work.

I had a problem installing Visual Web Developer 2010 Express.
I downloaded the all-in-one ISO and after my computer had restarted, as the installation asked. mid-set-up I got this message. I navigated to the directory it said the file should be and found vs_setup.ms_ which for some reason was missing the 'i' from the extension. I extracted the iso and renamed the file so it had a the correct extention and this seemed to work.
I'm using Windows XP Service Pack 3.
I think its an unusual error and I would like to know if any one knows what caused it in-case it happens again. I don't want to have to go though this process every time I install Visual Express software.

Saw lots of entries re this for installing Visual Studio 2008, which I am not doing - but anyway I found the reg key -
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0 - and renamed it.
Didn't have the following Reg Keys:
\0E8BA73496BF22242B086AF4D32E5219 (VS.Net 2005) and HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Patches\C7C9F39D75BA8C44AB6D414976B4AC7F (VS.2005 SP1)
I looked thru all entries under classes\installer\products - nothing for visual anything.
I ran the microsoft installer cleaner and removed any MS Visual anything entries
I forget if I originally had a Program Files\Microsoft Visual Studio 8 but if I did I got rid of it.
All of these steps were based on all the MANY, MANY things in the internet re this error - although they are related to Visual Studio, not SourceSafe - but I still can't install the SourceSafe.  Same problem on two different pc's.  I have copied the instal local, have run the exe locally using xp compatibility and/or run as administrator - and all I get is the same error -
Error locating vs_setup.msi

PLEASE HELP!  I see that others are able to run VSS 2005 on Win 7 - hopefully using a server based database.

Thank you, Maggie



I was having "issues" with VS2008, so i thought i'd run a repair.  I was surprised to find that it did not appear in the Add/Remove programs list.  Also, as expected, the Microsoft Windows Installer Cleanup utility has no record of it.


I tried running the repair off the VS 2008 CD, but that ends with the error "vs_setup.msi" could not be found.

I've tried the advice at http://social.msdn.microsoft.com/forums/en-US/vssetup/thread/60f71a54-506e-4c70-be98-e993ce6d1ddf/ with no luck.


Thanks in advance,

Richard Thomas


When we try to open any word document it is launching MSI by giving message thet Configuring msi.

we are not able to find why it is launching msi when we try to open word.any suggestions would be great.

Thanks in advance



I have large web application that I do development on for a client. When I complete a Release build of the web app using my Dev PC the msi produced installs on the test/prod servers without an issue. When I use the Dev Server to to perform a Release build the msi produced fails to install on the test/prod servers spitting out the following error:

ERROR MESSAGE: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor."

Development Server: MS Windows Server 2003 R2 Standard x64 Edition SP2
Development PC: MS Windows XP Professional x64 Edition Version 2003 SP2

Test Server: MS Windows Server 2003 R2 Standard x64 Edition SP2
Prod Server: MS Windows Server 2003 R2 Standard x64 Edition SP2

I've Googled long and hard and can't find a solution. I need to get the MSI produced from performing a build on the Dev Server to work correctly.



I would like to develop a a nice multi touch application. For my needs, I want to use the surface SDK, because the multi touch capabilies are so amazing. To develop all the multi touch logic on my own would be too hard for me. For this, I wanna use the SDK. Here (http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=801907a7-b2dd-4e63-9ff3-8a2e63932a74) I've found the downloadlinks. The first is the "SurfaceToolkit.msi", the second "SurfaceToolkitRuntime.msi". Whre excactly is the difference between these two? Which version must be installed in which computer?


Thanks in advance!

I recently created this GP so users would not get the message to activate activex for our intanet site, the users do no have admin rights.  I saw this in the event viewer:

Software Installation was unable to read the MSI file \\Fs\Shared\BP Active X\BusinessPortal-ActiveX.msi. The following error was encountered: SQL query syntax invalid or unsupported.

What is causing this error?  please help......


After reading, and re-reading all articles I can find, I am still unable to get DTS Designer to open an imported DTS package in SSMS. 
Clean install of 2008R2(x64) Standard.  Chose all possible SSIS and client backwards comp option  at time of install.
 I have applied the lastest 2005 feature pack (backwards compat.) and also installed (x86) DTS runtime.

In the one MDSN article ( MS143755) I placed 3 files SEMSFC, SQLGUI, SQLSVC.dlls and rll's;  swapping %program files% with %program files(x86)% since this 64-bit install.

In an RDP session on the server, in SSMS, I am able to import the dts packages, but unable to open any one fo them.

I get:

TITLE: Object Explorer

SQL Server 2000 DTS Designer components are required to edit DTS packages. Install the special Web download, "SQL Server 2000 DTS Designer Components" to use this feature. (Microsoft.SqlServer.DtsObjectExplorerUI)



When I try to find any updates on the DTS Designer components, I keep comoing back around to the same articles and ref's.

When I try to open a DTS package comp. task  in BIDs, I get the same or very similar error message.

Any ideas on what I might be missing ?   Thank you.



Dear Exports,

I have created a outlook addin with VS 2008, in development PC its working fine and it created menu as well, but when i'm try to deploy the client PC, the setup is running without any errors, but

its not creating menu, please help me this is urgent.

i'm suing VSTO 3.0 with VS 2008 outlook 2007 add in

thank you

I created a Setup Project in VS 2008 and it builds a MSI file. Now I distribute this MSI file but it is not signed.
When someone tries to run the MSI, he gets a warning about the file not being signed.
I could not find a place where I could sign this MSI output.
I have a code signing certificate, I just can't find a way to use it.
Any ideas? Thanks
if the VSTS2010.vhd does not have networking turned on, How do I install WindowsAzureSDK-x86.msi to work with it?

Hi everybody

I need the GUID of the MSI for Visual Studio 2010 Professional RC.

Thanks for any help.

Best regards




I'm trying to include a vsix file into msi installer.

In vsix manifest file I set InstalledByMsi property to true and then, I create a custom action to launch vsix installation. In the custom action I launch vsix throug vsixinstaller.exe.

If I set InstalledByMsi to false, all works fine, but uninstall action is enabled in the Extension Manager. I want to disable this option in Extension Manager.

I am using Visual Studio 2010 Ultimate RTM.



I have a setup program that deploys this application that i have created.. the setup up program fires and after install event to copy some additional dependent media files to the target machine...
the setup program also have the media file that i have added after i complied the program... now im trying to get the path of the setup.msi file so i can copy those media files from there to the target directory.. so the question is..

how can i get the path to the setup.msi file?

or does anyone know C# code to locate the path the the installer.msi file or setup.msi





Hello all,

Is it possible to migrate Biztalk 2006 R2 applications to Biztalk 2009 through MSI export? 

Some wild thinkings:

1. Export 2006 R2 assets to MSI

2. Configure 2009 to the same settings as 2006 R2 

3. Import 2006 assets via MSI into 2009

Since we configure the 2009 server ourselves and import the MSI, I think there is no need to think about database migration at all, as everything "goes" into the new database properly already?

And this would assume that a Biztalk 2006 R2 MSI export can be safely imported in Biztalk 2009


Hello all,

I tried importing MSI but I can't figure out a way to change the application path, I learnt about BTAD_InstallDir but is this visible only as the environment variable for the service account user? Sorry for my ignorance but if BTAD_InstallDir is the value to set, I don't know how to set it, and it would be great if experts can help.

And what would be the proper approach in handling MSI? Should we install it first or import it first? And how does the two actions relate to each other?


<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure