Platform SDK install problems

I have successfully installed both 2005 Express edition development environment and Visual C++. Now I went to install the core platform SDK. Here are the steps I followed:

1) I downloaded the PSDK files and placed them in a temporary directory on my C drive.
2) I ran the PSDK-Full executable, putting the files into C:\Program
3) I created a directory c:\Program Files\PSDK and moved everything there. (both Visual C++, .Net framework and Visual Studio express are in the c:\Program Files directory in their own directories).
4) I ran setup.exe from the PSDK download and selected to install only the core SDK.
5) The program created a directory c:\program files\Microsoft SDK and told me to run setup.exe there.
6) When I run setup.exe, I get the error "Error: Setup cannot continue. Unable to load a required parameter from the initialization file Autorun.inf." There is no Autorun.inf in the Microsoft SDK directory.
7) I copied the Autorun.inf from the PSDK directory into Microsoft SDK and ran setup.exe again.
8) I then get the error saying that default.htm cannot be located. I copied default.htm from PSDK to Microsoft SDK and tried again. I then get the error that th epage isn't available.

HELP!!!!!!!!!! What am I doing wrong



Answer this question

Platform SDK install problems

  • Tim42

    I'm currently using Visual Studio 2005 C++ with SDK version as follows:

    Microsoft Platform SDK for Windows Server 2003 R2

    I can build & run sample CPU-ID successfully!!!

    Then I attempted(hundreds of time) to build WIA(Windows Image Acquistion) sample when I encounter the following error:

    fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory

    Any ideas



  • Doddsy

    I also have exactly the same problem with the 3790.1830 version of the Platform SDK and the Version 8.0.50215.44 (beta2.050215-4400) of Visual C++ Express edition.

    Editing the paths as described made no difference, and the only way I could get the include files to be picked up was to copy them to ...\VC\PlatformSDK\Include which is already in the VCProjectEngine.dll.express.config Include line.

    Regards
        Matthew

  • jm63

    This issue was solved by pointing to following path in tools-->options-->vc++directories-->inlcude

    C:\Program Files\Microsoft Visual Studio 8\VC\Microsoft Platform SDK for Windows Server 2003 R2\Include\atl



  • Mauro Solcia

    Hi Paul - Just curious what version of the Platform SDK did you use   The key thing however is to make sure that the platform SDK include directory is in your path.  (We had some minor pathing changes, so without knowing the version I can't be sure of which path to direct you to).  Also did you just install the core SDK   (Make sure the header is in your include directory - if it's not then make sure you have installed the internet components of the SDK).

    Melinda
    Platform SDK PM



  • dwight silverman

    Hello Melinda,

    I used the WindowsR Server 2003 SP1 Platform SDK Web Install version 3790.1830

    I can locate the winsock2.h file in the installed package. The paths I added were ...
    • Executable files - C:\Program Files\Microsoft Platform SDK\Bin
    • Include files - C:\Program Files\Microsoft Platform SDK\include
    • Library files - C:\Program Files\Microsoft Platform SDK\lib

    ... by modifying the VCProjectEngine.dll.express.config file located in the \vc\vcpackages subdirectory of the Visual C++ Express Edition install location.

    I also updated the corewin_express.vsprops file.

    Regards, Paul

  • pender

    I have the same problem and I followed the same steps as Paul did and pretty sure that I am using the latest version. I still cannot get the build environment to change. Any suggestions

    Regards,
    Murli


     Paul M wrote:
    Hello Melinda,

    I used the WindowsR Server 2003 SP1 Platform SDK Web Install version 3790.1830

    I can locate the winsock2.h file in the installed package. The paths I added were ...
    • Executable files - C:\Program Files\Microsoft Platform SDK\Bin
    • Include files - C:\Program Files\Microsoft Platform SDK\include
    • Library files - C:\Program Files\Microsoft Platform SDK\lib

    ... by modifying the VCProjectEngine.dll.express.config file located in the \vc\vcpackages subdirectory of the Visual C++ Express Edition install location.

    I also updated the corewin_express.vsprops file.

    Regards, Paul


  • David Edwards

    Did my previous answer help you

    Melinda_MSFT
    Platform SDK PM



  • Andrew Whitten

    I'm running VS 2005, I downloaded the Microsoft Platform SDK for Windows Server 2003 R2 and I'm on amd64 on vista.

    I assume I'm supposed to edit AMD64.VCPlatform.config to point at the SDK for the x64 builds What should the include, lib, bin paths be set to exactly I've tried, but it seems to have no effect when I try to build. The only way I can get this to work is by editing the paths in my project which is horrible! Does anyone have a script that does this stuff correctly Does VS even care about these paths!


  • aande2003

    I'm getting the exact same error w/ atlbase.h

    fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory


  • kingofrain

    Hi:

    I can tell from your description that you are,  among other issues, actually trying to install the February 200 SDK.  We just published a new one, so why don't you try that one.  You can use the web setup and just install the core SDK that way.

    Here is the link to the new SDK.  It has an entirely new setup and you should not encountering the same issue at all.


     http://www.microsoft.com/downloads/details.aspx FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en 

    Melindak [MSFT]
    Platform SDK PM

  • AreaBlue

    I've just installed Visual C++ 2005 Express Beta 2 and the MS Platform SDK but my program still fails to build because it can't find winsock2.h.

    I ran the "Register PSDK directories with Visual Studio", although it's not apparent that it did anything!


    I have also followed the instructions at http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx and I still get ...

    fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory


  • eyalgreenblatt

    Hi,

    i am having a similar problem too. First i had a problem with the <windows.h> directory but i solved it using this guide http://msdn2.microsoft.com/fr-fr/vstudio/aa700755.aspx.

    But now i have this one:
    fatal error C1083: Impossible d'ouvrir le fichier include : 'cln/config.h' : No such file or directory


    any ideas

  • Platform SDK install problems