source: trunk/Installer/Libraries/CS Map/CSMap.wxs

Last change on this file was 6194, checked in by jng, 13 years ago

#1805: Installer changes:

  • Update to use WiX 3.5
  • Update FdoRegUtil.exe to use registration by library path (made possible with new APIs in FDO 3.6)
  • Add version resources to custom action projects (required by WiX 3.5)
  • Update CS-Map installer component to write the dictionary path to serverconfig.ini and webconfig.ini instead of the MENTOR_DICTIONARY_PATH environment variable
  • Update file offsets and version numbers
File size: 1.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3 <?if "$(var.MgPlatform)" = "x64" ?>
4 <?define Win64 = "yes" ?>
5 <?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
6 <?else ?>
7 <?define Win64 = "no" ?>
8 <?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
9 <?endif ?>
10 <Fragment>
11 <DirectoryRef Id="CsMapParentFolder">
12 <Directory Id="CSMAPLOCATION" Name="CS-Map">
13 <Component Id="CsMapComponent" Win64="$(var.Win64)" Guid="552EAF5E-2420-4C2A-A52C-62B456EE1F64">
14 <CreateFolder />
15 <IniFile Id="INISETSERVERDICTPATH"
16 Action="addLine"
17 Directory="SERVERBINLOCATION"
18 Key="MentorDictionaryPath"
19 Name="serverconfig.ini"
20 Section="GeneralProperties"
21 Value="[dir_Dictionaries_0]"/>
22 <IniFile Id="INISETWEBDICTPATH"
23 Action="addLine"
24 Directory="WEBROOTLOCATION"
25 Key="MentorDictionaryPath"
26 Name="webconfig.ini"
27 Section="GeneralProperties"
28 Value="[dir_Dictionaries_0]"/>
29 </Component>
30 </Directory>
31 </DirectoryRef>
32 <Feature Id="CSMapFeature" Display="hidden" Title="!(loc.CSMapFeature)" Level="1" Description="!(loc.CSMapFeature_Description)" Absent="disallow" AllowAdvertise="no" TypicalDefault="install" InstallDefault="local">
33 <ComponentRef Id="CsMapComponent"/>
34 <ComponentGroupRef Id="group_CSMAPDICTFILES"/>
35 </Feature>
36 </Fragment>
37</Wix>
Note: See TracBrowser for help on using the repository browser.