Book Links: ...
With the default Windows Embedded Compact 7 installation of CEDriverWizard, the wizard is integrated in Visual Studio/Platform Builder using PBScript macros. The alternative installation runs the wizard from the Tools menu. Lets start by seeing how to use PBScripts:
You access run build scripts via the menu Build-”Open The release directory Build Window” From there you can you get build contexts and can enter build commands such as build, builddemo etc. You can create batch files to run from here to do custom builds or to a set of builds. For example you could schedule a Release, Debug and Check build. PBScripts enable you to do this in a menu driven way.
From the menu, Tools-Platform Builder-PBScripts you can create and run PBScripts
These scripts are simply text files and are stored in:
\PBScripts as .pbscript files:
You can edit the scripts from here using notepad, or even create new ones.
You would normally create the scripts from Configure Scripts:
The drop down list at the top allows you to choose which script to run or edit.
Here I have selected the CEDriverWiz script .
This script is installed as part of the CEDriverWiz installation.
To launch CEDriverWiz from Visual Studio 2008, you select it as above and run it here.
Once selected you can rerun it again from Run Active Script
You launch the wizard, as above, in the context of an OS project. Click on the project in Solution Explorer first. Set the stream information and select options. Then press Create to generate the stream’s subprojects.
When done, you add the stream as Add Existing Subproject, and select is dirs file.