Can't run setup.exe for MSDN that comes with VS2008

3

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?

lavinio

Posted 2009-07-27T17:14:46.717

Reputation: 594

What happens when you add that Setup directory and copy the setup.exe to it? – John Smithers – 2009-07-27T18:57:43.343

Answers

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.

dlamblin

Posted 2009-07-27T17:14:46.717

Reputation: 9 293

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 – 2009-07-27T21:22:32.503

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 – 2009-07-27T21:29:08.857

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

JFV

Posted 2009-07-27T17:14:46.717

Reputation: 1 017

You are right; see the answer to the accepted answer above for details. – lavinio – 2009-07-27T21:30:22.880

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.

Axxmasterr

Posted 2009-07-27T17:14:46.717

Reputation: 7 584

There is no install.exe, but readme.htm does list command lines, none of which are useful. – lavinio – 2009-07-27T21:29:45.127