FS-4203 --resolve add service setup to windows installer
This commit is contained in:
parent
da9aacc62e
commit
d015395566
|
@ -0,0 +1,51 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||||
|
<Fragment>
|
||||||
|
<DirectoryRef Id="INSTALLLOCATION">
|
||||||
|
<Component Id="cmpBEF12B96A80D45AC32F3B692E94A57C9" Guid="*">
|
||||||
|
<File Id="fil7DBC560A735C4208B3E7DF75D1D1E513" Name="FreeSwitchConsole.exe" Source="$(var.FreeSwitchConsole.TargetDir)\FreeSwitchConsole.exe" KeyPath="yes"/>
|
||||||
|
<ServiceInstall
|
||||||
|
Type="ownProcess"
|
||||||
|
Account="localSystem"
|
||||||
|
Vital="no"
|
||||||
|
Name="FreeSWITCH"
|
||||||
|
DisplayName="FreeSWITCH Multi Protocol Switch"
|
||||||
|
Description="FreeSWITCH service control"
|
||||||
|
Start="demand"
|
||||||
|
ErrorControl="ignore"
|
||||||
|
Interactive="no"
|
||||||
|
Arguments=" -service "/>
|
||||||
|
<ServiceControl Id="StartService" Stop="both" Remove="uninstall" Name="FreeSWITCH" Wait="no" />
|
||||||
|
</Component>
|
||||||
|
</DirectoryRef>
|
||||||
|
</Fragment>
|
||||||
|
<Fragment>
|
||||||
|
<ComponentGroup Id="FreeSwitchConsole.Binaries">
|
||||||
|
<ComponentRef Id="cmpBEF12B96A80D45AC32F3B692E94A57C9" />
|
||||||
|
</ComponentGroup>
|
||||||
|
</Fragment>
|
||||||
|
<Fragment>
|
||||||
|
<ComponentGroup Id="FreeSwitchConsole.Symbols" />
|
||||||
|
</Fragment>
|
||||||
|
<Fragment>
|
||||||
|
<DirectoryRef Id="INSTALLLOCATION">
|
||||||
|
<Component Id="cmp7AC01B2B6EDD58CE539876AB86975286" Guid="*">
|
||||||
|
<File Id="filA3A7609AFEB16B75D819A0208EFFF451" Source="$(var.FreeSwitchConsole.ProjectDir)\FreeSwitchConsole.2010.vcxproj" />
|
||||||
|
</Component>
|
||||||
|
</DirectoryRef>
|
||||||
|
</Fragment>
|
||||||
|
<Fragment>
|
||||||
|
<ComponentGroup Id="FreeSwitchConsole.Sources">
|
||||||
|
<ComponentRef Id="cmp7AC01B2B6EDD58CE539876AB86975286" />
|
||||||
|
</ComponentGroup>
|
||||||
|
</Fragment>
|
||||||
|
<Fragment>
|
||||||
|
<ComponentGroup Id="FreeSwitchConsole.Content" />
|
||||||
|
</Fragment>
|
||||||
|
<Fragment>
|
||||||
|
<ComponentGroup Id="FreeSwitchConsole.Satellites" />
|
||||||
|
</Fragment>
|
||||||
|
<Fragment>
|
||||||
|
<ComponentGroup Id="FreeSwitchConsole.Documents" />
|
||||||
|
</Fragment>
|
||||||
|
</Wix>
|
|
@ -66,12 +66,12 @@
|
||||||
WorkingDirectory="INSTALLLOCATION"/>
|
WorkingDirectory="INSTALLLOCATION"/>
|
||||||
<RegistryValue Root="HKCU" Key="Software\FreeSWITCH\FS_CLI" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
<RegistryValue Root="HKCU" Key="Software\FreeSWITCH\FS_CLI" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
||||||
</Component>
|
</Component>
|
||||||
</DirectoryRef>
|
</DirectoryRef>
|
||||||
|
|
||||||
<Feature Id="ProductFeature" Title="FreeSWITCH Core" Level="1">
|
<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. -->
|
<!-- TODO: Remove the comments around this ComponentRef element and the Component above in order to add resources to this installer. -->
|
||||||
<!-- <ComponentRef Id="ProductComponent" /> -->
|
<!-- <ComponentRef Id="ProductComponent" /> -->
|
||||||
|
<!-- The following Ref pulls in FreeSWITCHconsole.wxs items -->
|
||||||
|
<ComponentRef Id="cmpBEF12B96A80D45AC32F3B692E94A57C9"/>
|
||||||
<!-- Note: The following ComponentGroupRef is required to pull in generated authoring from project references. -->
|
<!-- Note: The following ComponentGroupRef is required to pull in generated authoring from project references. -->
|
||||||
<ComponentGroupRef Id="Product.Generated" />
|
<ComponentGroupRef Id="Product.Generated" />
|
||||||
<?if $(var.Platform) != x64 ?>
|
<?if $(var.Platform) != x64 ?>
|
||||||
|
@ -87,12 +87,12 @@
|
||||||
<Feature Id="ProductFeatureFSCli" Title="FreeSWITCH Command Line Interface" Level="1">
|
<Feature Id="ProductFeatureFSCli" Title="FreeSWITCH Command Line Interface" Level="1">
|
||||||
<ComponentRef Id="FSCliShortcut" />
|
<ComponentRef Id="FSCliShortcut" />
|
||||||
</Feature>
|
</Feature>
|
||||||
<Feature Id="ProductFeatureConf" Title="FreeSWITCH Configuration Sample" Level="1">
|
<Feature Id="ProductFeatureConf" Title="FreeSWITCH Configuration Sample" Level="1">
|
||||||
<ComponentGroupRef Id="FreeSWITCHConfFiles" />
|
<ComponentGroupRef Id="FreeSWITCHConfFiles" />
|
||||||
</Feature>
|
</Feature>
|
||||||
<Feature Id="ProductFeatureSounds" Title="FreeSWITCH Sounds 8Khz" Level="1">
|
<Feature Id="ProductFeatureSounds" Title="FreeSWITCH Sounds 8Khz" Level="1">
|
||||||
<ComponentGroupRef Id="FreeSWITCHSoundFiles8" />
|
<ComponentGroupRef Id="FreeSWITCHSoundFiles8" />
|
||||||
</Feature>
|
</Feature>
|
||||||
<UIRef Id="WixUI_Mondo" />
|
<UIRef Id="WixUI_Mondo" />
|
||||||
</Product>
|
</Product>
|
||||||
</Wix>
|
</Wix>
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Fragments\FreeSWITCHConfFiles.wxs" />
|
<Compile Include="Fragments\FreeSWITCHConfFiles.wxs" />
|
||||||
<Compile Include="Fragments\FreeSWITCHSoundFiles8.wxs" />
|
<Compile Include="Fragments\FreeSWITCHSoundFiles8.wxs" />
|
||||||
|
<Compile Include="FreeSWITCHConsole.wxs" />
|
||||||
<Compile Include="Product.wxs" />
|
<Compile Include="Product.wxs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -791,6 +792,7 @@
|
||||||
<Project>{1af3a893-f7be-43dd-b697-8ab2397c0d67}</Project>
|
<Project>{1af3a893-f7be-43dd-b697-8ab2397c0d67}</Project>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
<DoNotHarvest>
|
<DoNotHarvest>
|
||||||
|
True
|
||||||
</DoNotHarvest>
|
</DoNotHarvest>
|
||||||
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
|
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
|
||||||
<RefTargetDir>INSTALLLOCATION</RefTargetDir>
|
<RefTargetDir>INSTALLLOCATION</RefTargetDir>
|
||||||
|
|
Loading…
Reference in New Issue