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 v4.x Exporter' |
---|
6 | Id='B84EB4AC-1106-4106-9A80-8CDED07B29AA' |
---|
7 | Language='1033' Codepage='1252' |
---|
8 | Version='1.2.0' Manufacturer='OGRE Project'> |
---|
9 | |
---|
10 | <Package Id='????????-????-????-????-????????????' Keywords='Installer' |
---|
11 | Description="OGRE XSI v4.x Exporter Installer" |
---|
12 | Comments='Softimage XSI v4.x 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 v4.x 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_4.x'> |
---|
37 | <Directory Id='XSIAppDir' Name="App" LongName="Application"> |
---|
38 | <Directory Id='XSIBinDir' Name="bin"> |
---|
39 | <Component Id='OgreMainComp' Guid='82C1A880-7F1F-4ccc-964D-B5288DAF4BEF'> |
---|
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='4B788D33-713E-4c77-9C7A-77C49DBC87E0'> |
---|
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='244AC8D3-DC9A-4fc0-B3B2-28B8556E9C00'> |
---|
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='873D61AA-171A-4a2d-9E41-E961EE6203A8'> |
---|
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="9D5CEB96-C86D-47a4-A0C9-D3441CAD96FA"> |
---|
70 | <File Id="ReadmeFile" Name="Readme.htm" DiskId="1" |
---|
71 | src="..\OGREXSI_Readme.html" Vital="no"> |
---|
72 | <Shortcut Id="ReadmeShortcut" Directory="OGREXSIProgMenuDir" 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="OGREXSIProgMenuDir" Name="XSI4" LongName="XSI v4 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_4.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 | |
---|