4

I just had to replace my hard drive, and am reloading all applications. It's got XP with all current patches, and VS2005 already installed, including the MSDN that came with it.

VS2008 installed fine, but when I tried to install MSDN for it, I get an alert box with this error:

---------------------------
         Setup.exe
---------------------------
Unable to launch C:\usr\Microsoft\VS2008\msdn\Setup\setup.exe.
---------------------------
            OK   
---------------------------

C:\usr\Microsoft\VS2008\msdn is the directory containing the setup.exe file; oddly despite the message there is no Setup directory under it. The entire VS2008 installer package was copied to C:\usr\Microsoft\VS2008 and everything else installed fine.

Using depends.exe, I see there is a complaint that DWMAPI.dll cannot be found, but according to what I can find, that should only be referenced for Vista.

Any ideas?

1
  • What happens when you add that Setup directory and copy the setup.exe to it? Jul 27, 2009 at 18:57

3 Answers 3

1

I had exactly this problem, you do need the setup directory that you are missing. I believe that this directory was created by a self extracting executable. Look for another executable not named setup.exe. Unfortunately I don't have the files available to check for what the name was, it might be something silly like install.exe.

2
  • The setup directory was in fact missing some files. It looked like the file copy had been interrupted; I redid it and it worked.
    – lavinio
    Jul 27, 2009 at 21:22
  • Here is what happens: setup.exe runs msdn/setup.exe which in turn runs setup/msdn/setup/setup.exe. No wonder it was so confusing.
    – lavinio
    Jul 27, 2009 at 21:29
0

You can check the setup.ini to see what path it's looking for when doing the installation. It sounds like to me that it's looking for another path to do the install.

-JFV

1
  • You are right; see the answer to the accepted answer above for details.
    – lavinio
    Jul 27, 2009 at 21:30
0

Sometimes you can run these setup programs from the command line and use command line switches to bypass the simple errors and continue the install regardless of integrity checks.

install.exe /? 

the above command should tell you if there are any options to traverse an install error state like this.

1
  • There is no install.exe, but readme.htm does list command lines, none of which are useful.
    – lavinio
    Jul 27, 2009 at 21:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.