root/README @ 138

Revision 138, 2.1 KB (checked in by dlangenbach, 2 years ago)

Adding README

Line 
1---------------------
2Of Mice and Elephants
3TBD
4---------------------
5
6-------------
7REQUIREMENTS:
8-------------
9
10XNA v4.0
11  www.microsoft.com/download/en/details.aspx?id=23714
12Visual Studio 2010
13  See Tim Buchheim, the CS department systems administrator.
14Ankh SVN
15  ankhsvn.open.collab.net
16Tortise SVN
17  tortisesvn.net
18WIX v3.5
19  wix.codeplex.com/releases/view/60102
20Perl v5.10 or later
21  strawberryperl.com
22
23-------------------
24BUILD INSTRUCTIONS:
25-------------------
26
27Open Visual Studio and connect to the svn repository. Check out the project
28'oMaE', and open it in Visual Studio.
29
30Build the project using Visual Studio.
31
32Open a command prompt and change directory to your project root directory.
33
34Run `heat dir .\bin\x86\Debug -sfrag -out oMaE.wxs`
35
36Open 'oMaE.wxs' in Visual Studio and make the follwing edits:
37
38-- Remove the component and file elements that list a source of *.pdb
39
40-- Find and replace all occurances of 'SourceDir' with '.bin\x86\Debug'
41
42-- In the DirectoryRef element, change the ID from 'TARGETDIR'
43   to 'APPLICATIONFOLDER'
44
45-- Remove the Directory element with 'name=Debug'
46
47-- Run `perl wix.pl oMaE.wxs` from the command prompt. Copy its output
48   to the bottom of 'oMaE.wxs' and put
49   '<Fragment><ComponentGroup Id="ComponentGroup1">' around it.
50
51-- Find the File element that has a source of 'oMaE.exe' and add the following
52   as its child:
53   <Shortcut
54             Id="GameShortcut"
55             Name="Of Mice and Elephants"
56             Directory="GameProgramMenuFolder"
57             Advertise="yes"
58             WorkingDirectory="INSTALLDIR"
59            />
60
61Run `candle installer.wxs` and `candle oMaE.wxs`
62
63Run `light oMaE.wixobj installer.wixobj -o oMaE.msi`
64
65----------
66TO UPDATE:
67----------
68
69Whenever you update the game, you will need to change Product Id to a new,
70random value and increment GameVersion.
71
72If you add content files (XML, pictures, models, sound, etc.), you will need
73to rerun heat and make all apropriate changes, as above.
74
75If you change either 'oMaE.wxs' or 'installer.wxs', you will need to rebuild
76the appropriate .wixobj files for the changes to take effect.
77
Note: See TracBrowser for help on using the browser.