Making DemoCD image
To make a Windows Demo CD:
- On a Linux machine:
- Copy the following to /u/cdrom/cc/
- /u/ccdev/adm
- /u/ccdev/binw
- /u/ccdev/pixmap
- /u/ccdev/standard
- /u/ccdev/lang_ts ( if you are doing it for different country)
- /u/ccdev/DEMO10/
- (Any other company directories you need e.g. MSSQL)
- Copy the following to /u/cdrom/cc/std/
- /u/ccdev/std/binw
- /u/ccdev/std/utbinw
- Rename /u/cdrom/cc/DEMO10 to /u/cdrom/cc/DEMO/
- Copy /u/ccdev/standard.adm/* in to /u/cdrom/cc/adm/
- Delete all .sccs folders (usually in adm and binw folder, do ls -a to see hidden files and folder)
- Change the CCDIR to /u/cdrom/cc ( #export CCDIR=/u/cdrom/cc)
- Create the DEMO terminal
export NODEID=DEMO
- Clear all other "log-ins" as reported by ccusers (#conset -a -fl)
- Set the "Licence to Date" field in DEMO company record to something appropriate, usually 3 months from today. (Make a soft link of cooad and brlrep to the working folder to change licensing. Don't worry about deleting the softlink because we have script to delete soft links.)
- Today's date should be blank, unless otherwise specified (number 9 will prevent them from using it beyond 3 months)
- Run teaad, set "Quickline on for Sales/Returns" to yes
- Run sscont, go to the Printing options and turn off everything. This prevents the program from locking up if the demo user does not have a printer connected.
- Re-licence the DEMO company record and all of it's locations. If licensing for a SQL company, ensure you take a new dump of the database after licensing
- Create any other companies as required. Then repeat the above two steps for each company that you create.
- Locate the installer file. It is usually named control.VCT, and will be under /u/cdrom/cc
- Copy the following to /u/cdrom/cc/
- On the compilation machine (Windows):
- Install VISE Installer, if not already installed
- Copy the installer file into /u/cdrom/cc/ (if not already there)
- Open control.vct using VISE Installer
- Check that the neccessary drives are mapped to /u/ (Should be G:)
- Ensure that all the folders and files you want copied are there (add them if required)
- Make sure you update the installer file and check that all of the files that it expects to be exists.
Ensure that the folders that you want installed are checked under Demo Data and Control files, not just Typical Setup.
- Build the installer. The installer should be created in /u/cdrom/cc/ and should be called setup.exe
- Create a new folder in /u/cdrom/windemo/. This is where the image will be created from.
- Copy the files from another demo folder to your new folder. Ensure that the symbolic links are not broken
- Copy the newly created installer (setup.exe) into the folder.
- On a linux machine:
- Create the ISO file.
mkisofs -f -r -o /u/cdrom/windemo/<image_name>.iso -J /u/cdrom/windemo/<your_folder>
- Burn the ISO file onto a CD !!
- The device is discovered by using dvdrecord --scanbus (or cdrecord --scanbus). Note that you need to be root to access the DVD Burner.
dvdrecord dev=2,0,0 speed=48 -eject -dao -data /u/cdrom/windemo/<image_name>.iso
- Create a pretty label, place in a case and send it off. Labels for Adaptec CD Jewel case creator are in sam /u/cdrom/ directory. A simple one called Untitled.jwl should suffice.
- Update this piece of documentation !!
- Create the ISO file.
