add windows installer start menu item

This commit is contained in:
Jeff Lenk 2010-10-22 14:10:14 -05:00
parent 13d8d33e3d
commit 9187055301
1 changed files with 17 additions and 1 deletions

View File

@ -43,8 +43,23 @@
<?endif ?>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder">
<Directory Id="ApplicationProgramsFolder" Name="FreeSWITCH"/>
</Directory>
</Directory>
<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"/>
<RegistryValue Root="HKCU" Key="Software\Microsoft\FreeSWITCH" 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" /> -->
@ -57,7 +72,8 @@
<?if $(var.Platform) = x64 ?>
<MergeRef Id="CrtFiles_x64"/>
<?endif ?>
</Feature>
<ComponentRef Id="ApplicationShortcut" />
</Feature>
<Feature Id="ProductFeatureConf" Title="FreeSWITCH Configuration Sample" Level="1">
<ComponentGroupRef Id="FreeSWITCHConfFiles" />
</Feature>