2010-10-14 23:25:44 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- Platform specific variables -->
|
|
|
|
<?if $(var.Platform) = x64 ?>
|
|
|
|
<?define Win64 = "yes" ?>
|
|
|
|
<?define ProductName = "FreeSWITCH (64 bit)" ?>
|
|
|
|
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
|
|
|
|
<?else ?>
|
|
|
|
<?define Win64 = "no" ?>
|
|
|
|
<?define ProductName = "FreeSWITCH" ?>
|
|
|
|
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
|
|
|
|
<?endif ?>
|
|
|
|
|
|
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
|
|
|
<Product Id="b004a325-1272-47e5-a415-a74e9fc99865" Name="$(var.ProductName)" Language="1033" Version="1.0.0.0" Manufacturer="FreeSWITCH" UpgradeCode="3af7020b-1348-45e8-a0cf-80909d4eb421">
|
2010-10-20 10:46:27 -04:00
|
|
|
<Package InstallerVersion="300" Compressed="yes" />
|
2010-10-14 23:25:44 -04:00
|
|
|
|
|
|
|
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
|
|
|
|
|
|
|
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
|
|
|
<Directory Id="$(var.PlatformProgramFilesFolder)">
|
|
|
|
<Directory Id="INSTALLLOCATION" Name="FreeSWITCH">
|
2010-10-20 10:46:27 -04:00
|
|
|
<Directory Id="MODLOCATION" Name="mod">
|
|
|
|
</Directory>
|
|
|
|
<Directory Id="CONFLOCATION" Name="conf">
|
|
|
|
</Directory>
|
|
|
|
<Directory Id="SOUNDLOCATION" Name="sounds">
|
|
|
|
</Directory>
|
2010-10-14 23:25:44 -04:00
|
|
|
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
|
|
|
|
<!-- <Component Id="ProductComponent" Guid="6f1498a7-d029-430b-b9d9-fe12e17bdbab"> -->
|
|
|
|
<!-- TODO: Insert files, registry keys, and other resources here. -->
|
|
|
|
<!-- </Component> -->
|
2010-10-20 10:54:49 -04:00
|
|
|
<?if $(var.Platform) != x64 ?>
|
2010-10-20 10:46:27 -04:00
|
|
|
<Merge Id="CrtFiles_x86"
|
|
|
|
SourceFile="$(env.CommonProgramFiles)\Merge Modules\Microsoft_VC100_CRT_x86.msm"
|
|
|
|
DiskId="1"
|
|
|
|
Language="1033"/>
|
|
|
|
<?endif ?>
|
|
|
|
<?if $(var.Platform) = x64 ?>
|
|
|
|
<Merge Id="CrtFiles_x64"
|
|
|
|
SourceFile="$(env.CommonProgramFiles)\Merge Modules\Microsoft_VC100_CRT_x64.msm"
|
|
|
|
DiskId="1"
|
|
|
|
Language="1033"/>
|
|
|
|
<?endif ?>
|
2010-10-14 23:25:44 -04:00
|
|
|
</Directory>
|
|
|
|
</Directory>
|
2010-10-22 15:10:14 -04:00
|
|
|
<Directory Id="ProgramMenuFolder">
|
|
|
|
<Directory Id="ApplicationProgramsFolder" Name="FreeSWITCH"/>
|
|
|
|
</Directory>
|
2010-10-14 23:25:44 -04:00
|
|
|
</Directory>
|
|
|
|
|
2010-10-22 15:10:14 -04:00
|
|
|
<DirectoryRef Id="ApplicationProgramsFolder">
|
|
|
|
<Component Id="ApplicationShortcut" Guid="B554D1D1-C8C6-4d46-A3E7-4BA836EF929B">
|
|
|
|
<Shortcut Id="ApplicationStartMenuShortcut"
|
|
|
|
Name="FreeSWITCH"
|
|
|
|
Description="FreeSWITCH Telephony SoftSwitch"
|
|
|
|
Target="[INSTALLLOCATION]FreeSwitchConsole.exe"
|
|
|
|
WorkingDirectory="INSTALLLOCATION"/>
|
|
|
|
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
|
2010-11-05 11:36:13 -04:00
|
|
|
<RegistryValue Root="HKCU" Key="Software\FreeSWITCH\FreeSWITCH" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
2010-11-05 11:12:25 -04:00
|
|
|
</Component>
|
|
|
|
<Component Id="FSCliShortcut" Guid="D209546C-C728-4d8f-BDB2-29AED8824282">
|
|
|
|
<Shortcut Id="FSCliStartMenuShortcut"
|
|
|
|
Name="FS_Cli"
|
|
|
|
Description="FreeSWITCH Command Line Interface"
|
|
|
|
Target="[INSTALLLOCATION]fs_cli.exe"
|
|
|
|
WorkingDirectory="INSTALLLOCATION"/>
|
2010-11-05 11:36:13 -04:00
|
|
|
<RegistryValue Root="HKCU" Key="Software\FreeSWITCH\FS_CLI" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
2010-10-22 15:10:14 -04:00
|
|
|
</Component>
|
|
|
|
</DirectoryRef>
|
|
|
|
|
2010-10-14 23:25:44 -04:00
|
|
|
<Feature Id="ProductFeature" Title="FreeSWITCH Core" Level="1">
|
|
|
|
<!-- TODO: Remove the comments around this ComponentRef element and the Component above in order to add resources to this installer. -->
|
|
|
|
<!-- <ComponentRef Id="ProductComponent" /> -->
|
|
|
|
|
|
|
|
<!-- Note: The following ComponentGroupRef is required to pull in generated authoring from project references. -->
|
|
|
|
<ComponentGroupRef Id="Product.Generated" />
|
2010-10-20 10:54:49 -04:00
|
|
|
<?if $(var.Platform) != x64 ?>
|
2010-10-20 10:46:27 -04:00
|
|
|
<MergeRef Id="CrtFiles_x86"/>
|
|
|
|
<?endif ?>
|
|
|
|
<?if $(var.Platform) = x64 ?>
|
|
|
|
<MergeRef Id="CrtFiles_x64"/>
|
|
|
|
<?endif ?>
|
2010-11-05 11:12:25 -04:00
|
|
|
</Feature>
|
|
|
|
<Feature Id="ProductFeatureFreeSWITCH" Title="FreeSWITCH" Level="1">
|
2010-10-22 15:10:14 -04:00
|
|
|
<ComponentRef Id="ApplicationShortcut" />
|
|
|
|
</Feature>
|
2010-11-05 11:12:25 -04:00
|
|
|
<Feature Id="ProductFeatureFSCli" Title="FreeSWITCH Command Line Interface" Level="1">
|
|
|
|
<ComponentRef Id="FSCliShortcut" />
|
|
|
|
</Feature>
|
2010-10-14 23:25:44 -04:00
|
|
|
<Feature Id="ProductFeatureConf" Title="FreeSWITCH Configuration Sample" Level="1">
|
|
|
|
<ComponentGroupRef Id="FreeSWITCHConfFiles" />
|
|
|
|
</Feature>
|
|
|
|
<Feature Id="ProductFeatureSounds" Title="FreeSWITCH Sounds 8Khz" Level="1">
|
|
|
|
<ComponentGroupRef Id="FreeSWITCHSoundFiles8" />
|
|
|
|
</Feature>
|
|
|
|
<UIRef Id="WixUI_Mondo" />
|
|
|
|
</Product>
|
|
|
|
</Wix>
|