Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/ogre/Tools/XSIExport/setup/xsi6install.wxs @ 52

Last change on this file since 52 was 6, checked in by anonymous, 17 years ago

=…

File size: 4.2 KB
Line 
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 v6.x Exporter'
6                Id='5F080D9B-BFE5-4aff-9105-E1DECFBA208F'
7                Language='1033' Codepage='1252'
8                Version='1.4.5' Manufacturer='OGRE Project'>
9
10        <Package Id='????????-????-????-????-????????????' Keywords='Installer'
11                Description="OGRE XSI v6.x Exporter Installer"
12                        Comments='Softimage XSI v6.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 v6.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_6.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                                                </Directory>
44                                                <Directory Id='XSIPluginDir' Name="Plugins">
45                                                        <Component Id='PluginDLLComp' Guid='F98C0110-D997-4770-B72F-F3125D309259'>
46                                                                <File Id='OgreXSIPlugin' Name='OgreExp.dll' LongName='OgreXSIExporter.dll' DiskId='1'
47                                                                        src='..\bin\release\OgreXSIExporter.dll' Vital='yes' />
48                                                        </Component>
49                                                </Directory>
50                                        </Directory>
51                                </Directory>
52                        </Directory>
53                        <!-- Docs -->
54                        <Directory Id="ProgramFilesFolder" Name="PFiles">
55                                <Directory Id="OGREFolder" Name="OGRE">
56                                        <Directory Id="OGREXSIFOLDER" Name="XSI6Exp" LongName="XSI v6 Exporter">
57                                                <Component Id="DocsComp" Guid="60A46847-04AA-4de8-BFE8-0B7AACCE8CF6">
58                                                        <File Id="ReadmeFile" Name="Readme.htm" DiskId="1"
59                                                                src="..\OGREXSI_Readme.html" Vital="no">
60                                                                <Shortcut Id="ReadmeShortcut" Directory="OGREXSI6ProgMenuDir" Name="Readme"/>
61                                                        </File>
62                                                        <File Id="ScreenshotPage1" Name="page1.gif" DiskId="1"
63                                                                src="..\page1.gif" Vital="no"/>
64                                                        <File Id="ScreenshotPage2" Name="page2.gif" DiskId="1"
65                                                                src="..\page2.gif" Vital="no"/>
66                                                        <File Id="ScreenshotPage3" Name="page3.gif" DiskId="1"
67                                                                src="..\page3.gif" Vital="no"/>
68                                                               
69                                                </Component>
70                                        </Directory>
71                                </Directory>
72                        </Directory>
73                        <!-- Start menu -->
74                        <Directory Id="ProgramMenuFolder" Name="PMenu" LongName="Programs">
75                                <Directory Id="OGREProgramMenuDir" Name='OGRE'>
76                                        <Directory Id="OGREXSI6ProgMenuDir" Name="XSI6" LongName="XSI v6 Exporter"/>
77                                </Directory>
78                        </Directory>
79                       
80
81                </Directory>
82
83                <Feature Id='ExporterFeature' Level='1' ConfigurableDirectory="INSTALLDIR" Title='Exporter'
84                        Description='The main exporter files; THIS MUST BE INSTALLED IN YOUR XSI_6.0 folder.'
85                        Absent='disallow' AllowAdvertise='no'>
86                        <ComponentRef Id='PluginDLLComp' />
87                        <ComponentRef Id='OgreMainComp' />
88                        <MergeRef Id='CRT' />
89                        <MergeRef Id='CRT Policy' />
90                        <Condition Level="0">FILEEXISTS</Condition>
91                </Feature>
92                <Feature Id="DocsFeature" Level='1' ConfigurableDirectory="OGREXSIFOLDER" Title='Documentation'
93                        AllowAdvertise='no'>
94                        <ComponentRef Id="DocsComp" />
95                </Feature>
96                <!-- enable UI -->
97                <UIRef Id="WixUI" />
98        </Product>
99</Wix>
100
101       
102
Note: See TracBrowser for help on using the repository browser.