2. Steps to build and install
Build steps:
- Clone the open source PBSPro/pbspro master repository from github (https://github.com/PBSPro/pbspro)
and keep at any directory. (say "Top level" directory for our build process) - Build pbspro using visual studio 2008 express edition,
it will generate new folder named "win_build". - Execute the batch scripts located at pbspro\win_configure\msi_installer\wix,
this will generate new directory called "PBS"- Run preb.bat for build target directory with necessory files.
Example: prep.bat "binaries_path=<build_third_party_binaries_dir>"
(This step will generate new PBS directory with necessary files) - Download and keep the vcredist for 2010 c++ at /PBS/exec/etc
- Execute build_wxs_source.bat for build dynamic wix source files.
- Run "create_msi.bat" script for building PBSPro.msi installer.
- Run preb.bat for build target directory with necessory files.
Install steps:
- Double click the MSI installer and the splash screen will display.
- Click Next button to move to license page. Accept the license by clicking check-box button.
- Click Next button and choose the path to install PBS Pro executable. (By default this path points to "C:\Program Files (x86)\PBS\")
Open Command prompt as a Administrator and navigate to "PBS/exec/etc" path (Here, we could see win_postinstall.py script)
Manually execute the "win_postinstall.py" script as below.
<PBS_EXEC>\python\python.exe win_postinstall.py -u <username> -p <password>
Note: Even on domain machine, please use username only.
Example: if the user name in domain machine is <domain>\<username>, just pass username as argument.
Un-install steps:
- Stop/kill the services from "Task_Manager"
- De register the PBS_SERVER, PBS_SCHED, PBS_MOM, PBS_COMM services manually.
(pbs_account --unreg pbs_server
pbs_account --unreg pbs_sched
pbs_account --unreg pbs_comm
pbs_account --unreg pbs_mom ) - Un-install the package using msi installer. (In second double click, we will get "Remove" option)
- Manually need to delete PBS directory at "C:\\program files(x86)\PBS"