forked from Mirrors/freeswitch
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>
|
|
@ -67,11 +67,11 @@
|
|||
<RegistryValue Root="HKCU" Key="Software\FreeSWITCH\FS_CLI" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
|
||||
<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" /> -->
|
||||
|
||||
<!-- 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. -->
|
||||
<ComponentGroupRef Id="Product.Generated" />
|
||||
<?if $(var.Platform) != x64 ?>
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
<ItemGroup>
|
||||
<Compile Include="Fragments\FreeSWITCHConfFiles.wxs" />
|
||||
<Compile Include="Fragments\FreeSWITCHSoundFiles8.wxs" />
|
||||
<Compile Include="FreeSWITCHConsole.wxs" />
|
||||
<Compile Include="Product.wxs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -791,6 +792,7 @@
|
|||
<Project>{1af3a893-f7be-43dd-b697-8ab2397c0d67}</Project>
|
||||
<Private>True</Private>
|
||||
<DoNotHarvest>
|
||||
True
|
||||
</DoNotHarvest>
|
||||
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
|
||||
<RefTargetDir>INSTALLLOCATION</RefTargetDir>
|
||||
|
|
Loading…
Reference in New Issue