Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Make sure there are no .Net Frameworks installed in system... if any version of .Net Framework (or any component of .Net Framework of any version) is installed, please remove it then restart machine once (This is require because Windows SDK 7.0 installer need specific .Net Framework version 4.0.30319)
  2. Download .Net Framework 4.0.30319 from here
  3. Run downloaded exe and accept license then click Install and wait for installation to complete then click Finish
    1. If you don't want to uninstall and install .Net Framework 4.0.30319 then do workaround specified at here, but I have this is not tested this not sure about what this will cause problem to system so do it at your own risk!
  4. Download Windows SDK 7.0 from here
  5. Run winsdk_web.exe and if you get any warning regarding some component cannot be installed then check installed .Net Frameworks versions and make sure you have only 4.0.30319 installed.
  6. Click Next and accept license and click Next
  7. Click Next to select which component to install from SDK
  8. Make sure you select all under 'Developer Tools' (rest all check boxes are optional, select it if you want to install that component) then Click Next
  9. Click Next to begin installation and wait for installation to complete
  10. Uncheck any checked box (Optional) and click Finish
  11. Run 'Start→All Programs→Microsoft Windows SDK v7.0→Visual Studio Registration→Windows SDK Configuration Tool' then in drop down list select v7.0 and click on 'Make Current' and click Ok to finish

  12. (Optional) Just to confirm whether Windows SDK 7.0 is installed properly or not run CMD then in run 'call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.cmd" /x64 /Release' in newly opened CMD and if you see below output then Windows SDK is properly set.

    Code Block
    languagetext
    themeMidnight
    titleOutput of SetEnv.cmd
    Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.0\.
    Targeting Windows 7 x64 Release
    
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC>


...

  1. Open CMD
  2. Change directory to C:\Users\pbsbuild\builds\pbspro
    1. Command: cd C:\Users\pbsbuild\builds\pbspro
  3. (Optional, but Mandatory only if your network connections are behind proxy) set HTTP_PROXY and HTTPS_PROXY environment variable
    1. Command: set HTTP_PROXY=http://<proxy_user>:<proxy_user_pass>@<proxy_ip>:<proxy_port>
    2. Command: set HTTPS_PROXY=http://<proxy_user>:<proxy_user_pass>@<proxy_ip>:<proxy_port>
  4. (Optional, but Mandatory only if you have not installed Python 2.7.13 as per mentioned under section 'Install Python 2.7.13 (Optional)') run .appveyor\build_python.bat
    1. Command: call .appveyor\build_python.bat 1>build_python.bat.out 2>&1
  5. run .appveyor\appveyor_helper.bat to compile all PBS deps
    1. Command: call .appveyor\appveyor_helper.bat
  6. setup VS2008 tools
    1. Command: call "%VS90COMNTOOLS%vsvars32.bat"
  7. Build PBSPro
    1. Command: vcbuild win_configure\pbs_windows_VS2008.sln "Release|Win32"
  8. Generate PBSPro MSI Installer
    1. Command: call .appveyor\generate_installer.bat
  9. Check win_configure\msi\wix\PBSPro.msi
    1. Expected results: PBSPro.msi should exists in win_configure\msi\wix directory