BUILDING THE KICS INSTALLER
I) The Visual Studio 2005 Part
- Start Microsoft's Visual Studio and open the KICS project via VSS to
obtain the most recent source code.
- Set the current build version number by changing the AssemblyVersion and AssemblyFileVersion
numbers in the AssemblyInfo.cs file under Boundary\Properties.
- Now that you have the latest source code and have set the build number, you will need to make two
build executables: one for target machines that will have Powerpoint installed, the other for machines that don't. Click on "SolutionConfigurations". Choose "Release" and
build it. Do the same with "Release-NoPowerPoint".
The "Release" build will only work if your system has PowerPoint 2003
installed on it.
- Upon a successful build, Visual Studio will have created the two builds under two folders (in the Boundry project's BIN folder in the filesystm). You now have to incorporate these into an application setup program for the customer. This will require the 3rd party Application Installer NSIS. If you do not have the NSIS software, then you will need to install
NSIS from here.
II - The NSIS Application Installer Part
- Once NSIS is installed, you will need to
download
KICSBuild.zip. This zip file contains the install script for NSIS, KICS' help file, license.txt etc. Unzip the contents of this file into desktop\KICSBuild (we'll use this folder as the application building folder).
- Then copy into it the files created by Visual Studio when building the release in Part I
(Typically from ...\My Documents\Visual Studio 2005\Projects\KICS
Backend.root\KICS Backend\Boundary\bin). There are two builds in this
folder. Copy the contents of the "Release" folder into desktop\KICSBuild\PPP
. Copy the contents of the "Release-NoPowerPoint" folder into desktop\KICSBuild\MPP
. PPP is short for PlusPowerPoint. MPP is short for
MinusPowerPoint.
- Open desktop\KICSBuild\Kics_Script.nsi . This file you downloaded
and unzipped in step #5.
- Go to line of this file which starts with "!define PRODUCT_VERSION",
and change the version number. Close the file and save it.
- You will also need to change the version number references in readme.txt
. This file you downloaded and unzipped in step #5.
- Now start MakeNSISW (Compiler GUI). This should be under NSIS in
your Start Menu.
- Click on File, Load Script. Load desktop\KICSBuild\Kics_Script.nsi
- This creates the combined KICS installation file named "Kics_Installer-1.0.X.exe" in desktop\KICSBuild.
- Rename the installation file to reflect the version number of the build.
- Upload the latest build into ~eb/public_html/kics . Remember to change
their properties so as to be downloadable by the public (chmod 775).
- You will need to edit the Index.html under ~eb/public_html/kics by
adding links to the new versions. Use the format you see in the file.
Move the older versions to the "Previous KICS Releases" list.
- Now you'll need to delete the src directory under ~eb/public_html/kics .
Unix command: rm -r src
- Create a new src directory under ~eb/public_html/kics
- Copy the new build source code and files into the new src directory.
- Change the properties of the src directory to be KICS group writable.
Unix command: chmod -R 775 src
Congratulations! You've hopefully completed a KICS build.
Note: If you are using
the source code provided on the KICS website and are running local builds on
your machine, then ignore instructions above related to VSS (Visual Source Safe)
and instructions for updating the KICS homepage.