1<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> 2 <Product Id='*' UpgradeCode='2df79540-9c19-11df-b5e4-00262db1b537' 3 Name='@PRODUCT_NAME@' Version='@PROD_WIX_VERSION@' 4 Manufacturer='Oracle' Language='1033'> 5 6 <!-- Store files as a compressed 'cabinet' embedded in the .MSI file. --> 7 <!-- Let WiX generate guid for us. --> 8 <Package Id='*' 9 Keywords="Embedded Database Datastore" 10 Description='@PRODUCT_NAME@ @PROD_WIX_VERSION@' 11 Comments='includes sources and binaries' InstallerVersion='300' 12 Compressed='yes' Platform="x86" 13 Languages="1033" SummaryCodepage="1252" /> 14 <!-- The upgrade id should be the same to the UpgradeCode of the previous version you want upgrade --> 15 <Upgrade Id='529068a1-2ba8-11df-8e8e-00262db1b537'> 16 <UpgradeVersion OnlyDetect="yes" 17 Minimum="@PROD_WIX_VERSION@" 18 Property="NEWERFOUND" 19 IncludeMinimum="no" 20 Language='1033'/> 21 <UpgradeVersion OnlyDetect="no" 22 Minimum="@PROD_WIX_VERSION_MIN@" 23 Maximum="@PROD_WIX_VERSION@" 24 Property="UPGRADEDFOUND" 25 IncludeMinimum="yes" 26 IncludeMaximum="no" 27 Language='1033'/> 28 </Upgrade> 29 30 <Media Id='1' Cabinet='dbcore.cab' EmbedCab='yes' /> 31 <Property Id="ApplicationUsers"><![CDATA[AnyUser]]></Property> 32 <Property Id="LicenseType"><![CDATA[Open]]></Property> 33 34 <!-- The ARP* properties affect the Add/Remove Programs dialog --> 35 <Property Id="ARPURLINFOABOUT"><![CDATA[http://www.oracle.com]]></Property> 36 <Property Id="ARPCONTACT"><![CDATA[berkeleydb-info_us@oracle.com]]></Property> 37 <Property Id="ARPNOMODIFY"><![CDATA[1]]></Property> 38 <Property Id="ARPNOREPAIR"><![CDATA[1]]></Property> 39 <Property Id="INSTALLLEVEL"><![CDATA[200]]></Property> 40 41 <Directory Id="TARGETDIR" Name="SourceDir"> 42 <Directory Id="DesktopFolder" Name="." /> 43 <Directory Id="FavoritesFolder" Name="." /> 44 <Directory Id="ProgramFilesFolder" Name="."> 45 <Directory Id="OracleFolder" Name="Oracle"> 46 <Directory Id="INSTALLDIR" 47 Name="@PRODUCT_NAME@ @PROD_WIX_VERSION@"> 48 <Directory Id="INSTALLUTIL" Name="installutil"> 49 </Directory> 50 </Directory> <!-- installdir --> 51 </Directory> <!-- folder --> 52 </Directory> <!-- ProgramFilesFolder --> 53 <Directory Id="ProgramMenuFolder" Name="."> 54 <Directory Id="BerkeleyDbMenu" 55 Name="@PRODUCT_NAME@ @PROD_WIX_VERSION@" /> 56 </Directory> 57 </Directory> 58 <!-- template for location of Visual Studio Merge Modules. This 59 is in C:\Program Files\Common Files\Merge Modules\.... See 60 the FindMergeModules function in s_winmsi.fcn for how this is 61 found. 62 NOTE: this results in warnings in "light.exe" that are documented 63 in the WiX manual and can be safely ignored. Errors cannot be 64 ignored. 65 --> 66 <DirectoryRef Id="INSTALLDIR"> 67 <Merge Id="VCRedist" SourceFile="@MERGE_MODULES_LOCATION@" DiskId="1" Language="0"/> 68 </DirectoryRef> 69 <!-- Features: 70 o required stuff 71 o doc 72 o runtime (includes C++) 73 o java runtime 74 o BDB SQL runtime 75 o STL runtime 76 o C# runtime 77 o C/C++ devo 78 o examples 79 --> 80 <Feature Id="Complete" Title="@PRODUCT_NAME@ @PROD_WIX_VERSION@" Description="Complete installation" 81 Display="expand" Level="1" ConfigurableDirectory="INSTALLDIR"> 82 83 <Feature Id="AlwaysInstall" Title="Always Install" 84 Description="@PRODUCT_NAME@" Display="hidden" Level="1" 85 AllowAdvertise="no" 86 Absent="disallow" ConfigurableDirectory="INSTALLDIR"> 87 <ComponentGroupRef Id="db_required"/> 88 </Feature> 89 <Feature Id="CoreRuntime" Title="Core Runtime" Description="Release build of C and C++ runtime libraries and utilities." AllowAdvertise="no" Display="expand" Level="1" InstallDefault="source" ConfigurableDirectory="INSTALLDIR"> 90 <ComponentGroupRef Id="group_runtime" Primary="yes"/> 91 <MergeRef Id="VCRedist"/> 92 </Feature> 93 <Feature Id="CoreDevo" Title="C Development files" Description="C header and library files required for development of C applications. This option includes the Core Runtime." AllowAdvertise="no" Display="expand" Level="1" InstallDefault="source" ConfigurableDirectory="INSTALLDIR"> 94 <ComponentGroupRef Id="group_devo" Primary="yes"/> 95 <ComponentGroupRef Id="group_runtime"/> 96 </Feature> 97 <Feature Id="Documentation" Title="Documentation" Description="@PRODUCT_NAME@ Documentation." AllowAdvertise="no" Display="expand" Level="1" InstallDefault="source" ConfigurableDirectory="INSTALLDIR"> 98 <ComponentGroupRef Id="group_doc"/> 99 <ComponentRef Id="ondisk_doc"/> 100 </Feature> 101 <Feature Id="JavaRuntime" Title="Java runtime and development files" Description="Java .jar files required for development and running of Java applications. This option includes the Core Runtime." AllowAdvertise="no" Display="expand" Level="1" InstallDefault="source" ConfigurableDirectory="INSTALLDIR"> 102 <ComponentGroupRef Id="group_java"/> 103 <ComponentGroupRef Id="group_runtime"/> 104 </Feature> 105 <Feature Id="STLRuntime" Title="STL runtime and development files" Description="STL libraries and header files required for development and running of applications using BDB's C++ Standard Template Library (STL) interface. This option includes the Core Runtime." AllowAdvertise="no" Display="expand" Level="1" InstallDefault="source" ConfigurableDirectory="INSTALLDIR"> 106 <ComponentGroupRef Id="group_cxx"/> 107 <ComponentGroupRef Id="group_runtime"/> 108 </Feature> 109 <Feature Id="CSharpRuntime" Title="C# runtime and development files" Description="C# libraries required for development and running of applications using BDB's C# interface. This option includes the Core Runtime." AllowAdvertise="no" Display="expand" Level="1" InstallDefault="source" ConfigurableDirectory="INSTALLDIR"> 110 <ComponentGroupRef Id="group_csharp"/> 111 <ComponentGroupRef Id="group_runtime"/> 112 </Feature> 113 <Feature Id="SQLRuntime" Title="SQL runtime and development files" Description="Libraries and header files required for development and running of applications using BDB's SQL interface. This option includes the Core Runtime." AllowAdvertise="no" Display="expand" Level="1" InstallDefault="source" ConfigurableDirectory="INSTALLDIR"> 114 <ComponentGroupRef Id="group_sql"/> 115 <ComponentGroupRef Id="group_runtime"/> 116 </Feature> 117 <Feature Id="Examples" Title="Examples (all languages)" Description="@PRODUCT_NAME@ examples for all language interfaces." AllowAdvertise="no" Display="expand" Level="1" InstallDefault="source" ConfigurableDirectory="INSTALLDIR"> 118 <ComponentGroupRef Id="group_examples"/> 119 <ComponentGroupRef Id="group_devo"/> 120 <ComponentGroupRef Id="group_runtime"/> 121 </Feature> 122 </Feature> <!-- end of all Features --> 123 124 <!-- UI: reference the Wix library --> 125 <!-- WixUI_FeatureTree is a canned UI that goes directly to 126 a custom install without "typical" and "full" options --> 127 <UIRef Id="WixUI_FeatureTree" /> 128 <UIRef Id="WixUI_ErrorProgressText" /> 129 <!-- Use our own End User License Agreement (EULA) --> 130 <WixVariable Id="WixUILicenseRtf" Value="License.rtf"/> 131 132 <CustomAction Id='PreventDowngrade' Error='A later version of @PRODUCT_NAME@ is already installed. If you want to downgrade, you need to uninstall it first.' /> 133 134 <InstallExecuteSequence> 135 <Custom Action='PreventDowngrade' After='FindRelatedProducts'>NEWERFOUND</Custom> 136 <RemoveExistingProducts After='InstallInitialize' /> 137 </InstallExecuteSequence> 138 139 <InstallUISequence> 140 <Custom Action='PreventDowngrade' After='FindRelatedProducts'>NEWERFOUND</Custom> 141 </InstallUISequence> 142 </Product> 143</Wix> 144