1 | <?xml version='1.0' encoding='windows-1252'?> |
---|
2 | <Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'> |
---|
3 | |
---|
4 | <Product |
---|
5 | Name='OGRE XSI v5.0 Exporter' |
---|
6 | Id='6F7C886C-AC7C-481B-B244-236DF5D2D312' |
---|
7 | Language='1033' Codepage='1252' |
---|
8 | Version='1.2.0' Manufacturer='OGRE Project'> |
---|
9 | |
---|
10 | <Package Id='????????-????-????-????-????????????' Keywords='Installer' |
---|
11 | Description="OGRE XSI v5.0 Exporter Installer" |
---|
12 | Comments='Softimage XSI v5.0 Exporter for OGRE' Manufacturer='OGRE Project' |
---|
13 | InstallerVersion='100' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> |
---|
14 | |
---|
15 | <Media Id='1' Cabinet='1.cab' EmbedCab='yes' DiskPrompt="CD 1" /> |
---|
16 | <Property Id='DiskPrompt' Value="OGRE XSI v5.0 Exporter Installer [1]" /> |
---|
17 | <!-- Can't automatically determine XSI v5 location |
---|
18 | This is because Softimage have made the path to the 'InstallRoot' property include a key with |
---|
19 | the name of the install folder in it!! RegistrySearch doesn't support wildcards. |
---|
20 | Therefore all we can do is validate what the user selects. Searching the entire system takes too long. |
---|
21 | --> |
---|
22 | |
---|
23 | <!-- Try to validate (doesn't work yet?) --> |
---|
24 | <Property Id="FILEEXISTS"> |
---|
25 | <DirectorySearch Id="CheckFileDir" Path="[INSTALLDIR]\bin" Depth="0"> |
---|
26 | <FileSearch Id="CheckFile" Name="xsi.exe" /> |
---|
27 | </DirectorySearch> |
---|
28 | </Property> |
---|
29 | |
---|
30 | <Directory Id='TARGETDIR' Name='SourceDir'> |
---|
31 | <!-- VC runtimes --> |
---|
32 | <Merge Id='CRT' Language='0' src='C:\Program Files\Common Files\Merge Modules\microsoft_vc80_crt_x86.msm' DiskId='1' /> |
---|
33 | <Merge Id='CRT Policy' Language='0' src='C:\Program Files\Common Files\Merge Modules\policy_8_0_Microsoft_VC80_CRT_x86.msm' DiskId='1' /> |
---|
34 | <!-- Exporter files --> |
---|
35 | <Directory Id="SoftimageFolder" LongName="Softimage" Name="Softimg"> |
---|
36 | <Directory Id='INSTALLDIR' Name='XSI_5.0'> |
---|
37 | <Directory Id='XSIAppDir' Name="App" LongName="Application"> |
---|
38 | <Directory Id='XSIBinDir' Name="bin"> |
---|
39 | <Component Id='OgreMainComp' Guid='B79A13E2-E64C-47F0-B412-F0D543639161'> |
---|
40 | <File Id='OgreMainDLL' Name='OgreMain.dll' DiskId='1' |
---|
41 | src='..\..\Common\bin\release\OgreMain.dll' Vital='yes' /> |
---|
42 | </Component> |
---|
43 | <Component Id='DevilComp' Guid='4DA618E1-B767-4732-A24D-A2A9C807F6C1'> |
---|
44 | <File Id='DevilDLL1' Name='devil.dll' DiskId='1' |
---|
45 | src='..\..\Common\bin\release\devil.dll' Vital='yes' /> |
---|
46 | <File Id='DevilDLL2' Name='ilu.dll' DiskId='1' |
---|
47 | src='..\..\Common\bin\release\ilu.dll' Vital='yes' /> |
---|
48 | <File Id='DevilDLL3' Name='ilut.dll' DiskId='1' |
---|
49 | src='..\..\Common\bin\release\ilut.dll' Vital='yes' /> |
---|
50 | </Component> |
---|
51 | <Component Id='ZlibComp' Guid='E20394B5-5686-42A6-B2F5-1F48B678BAD1'> |
---|
52 | <File Id='ZlibDLL' Name='zlib1.dll' DiskId='1' |
---|
53 | src='..\..\Common\bin\release\zlib1.dll' Vital='yes' /> |
---|
54 | </Component> |
---|
55 | </Directory> |
---|
56 | <Directory Id='XSIPluginDir' Name="Plugins"> |
---|
57 | <Component Id='PluginDLLComp' Guid='0DD17F80-C75B-469D-BDE4-9B6841B645B3'> |
---|
58 | <File Id='OgreXSIPlugin' Name='OgreExp.dll' LongName='OgreXSIExporter.dll' DiskId='1' |
---|
59 | src='..\bin\release\OgreXSIExporter.dll' Vital='yes' /> |
---|
60 | </Component> |
---|
61 | </Directory> |
---|
62 | </Directory> |
---|
63 | </Directory> |
---|
64 | </Directory> |
---|
65 | <!-- Docs --> |
---|
66 | <Directory Id="ProgramFilesFolder" Name="PFiles"> |
---|
67 | <Directory Id="OGREFolder" Name="OGRE"> |
---|
68 | <Directory Id="OGREXSIFOLDER" Name="XSI5Exp" LongName="XSI v5 Exporter"> |
---|
69 | <Component Id="DocsComp" Guid="9F67071C-B3D9-4A2D-9F76-FBEDE59CFB4D"> |
---|
70 | <File Id="ReadmeFile" Name="Readme.htm" DiskId="1" |
---|
71 | src="..\OGREXSI_Readme.html" Vital="no"> |
---|
72 | <Shortcut Id="ReadmeShortcut" Directory="OGREXSI5ProgMenuDir" Name="Readme"/> |
---|
73 | </File> |
---|
74 | <File Id="ScreenshotPage1" Name="page1.gif" DiskId="1" |
---|
75 | src="..\page1.gif" Vital="no"/> |
---|
76 | <File Id="ScreenshotPage2" Name="page2.gif" DiskId="1" |
---|
77 | src="..\page2.gif" Vital="no"/> |
---|
78 | <File Id="ScreenshotPage3" Name="page3.gif" DiskId="1" |
---|
79 | src="..\page3.gif" Vital="no"/> |
---|
80 | |
---|
81 | </Component> |
---|
82 | </Directory> |
---|
83 | </Directory> |
---|
84 | </Directory> |
---|
85 | <!-- Start menu --> |
---|
86 | <Directory Id="ProgramMenuFolder" Name="PMenu" LongName="Programs"> |
---|
87 | <Directory Id="OGREProgramMenuDir" Name='OGRE'> |
---|
88 | <Directory Id="OGREXSI5ProgMenuDir" Name="XSI5" LongName="XSI v5 Exporter"/> |
---|
89 | </Directory> |
---|
90 | </Directory> |
---|
91 | |
---|
92 | |
---|
93 | </Directory> |
---|
94 | |
---|
95 | <Feature Id='ExporterFeature' Level='1' ConfigurableDirectory="INSTALLDIR" Title='Exporter' |
---|
96 | Description='The main exporter files; THIS MUST BE INSTALLED IN YOUR XSI_5.x folder.' |
---|
97 | Absent='disallow' AllowAdvertise='no'> |
---|
98 | <ComponentRef Id='PluginDLLComp' /> |
---|
99 | <ComponentRef Id='OgreMainComp' /> |
---|
100 | <ComponentRef Id='DevilComp' /> |
---|
101 | <ComponentRef Id='ZlibComp' /> |
---|
102 | <MergeRef Id='CRT' /> |
---|
103 | <MergeRef Id='CRT Policy' /> |
---|
104 | <Condition Level="0">FILEEXISTS</Condition> |
---|
105 | </Feature> |
---|
106 | <Feature Id="DocsFeature" Level='1' ConfigurableDirectory="OGREXSIFOLDER" Title='Documentation' |
---|
107 | AllowAdvertise='no'> |
---|
108 | <ComponentRef Id="DocsComp" /> |
---|
109 | </Feature> |
---|
110 | <!-- enable UI --> |
---|
111 | <UIRef Id="WixUI" /> |
---|
112 | </Product> |
---|
113 | </Wix> |
---|
114 | |
---|
115 | |
---|
116 | |
---|