<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
  <Fragment>
	  <ComponentGroup Id="ShortcutComponents">
		  <Component Id="StartMenuFolderShortcut" Directory="StartMenuProgramsFolder" Guid="d21fc601-55f3-44bf-9b36-d0971dd9452d">
			  <Shortcut Id="ApplicationStartMenuShortcut"
                          Name="!(bind.Property.ProductName)"
                          Description="!(bind.Property.ProductName)"
						  Icon="icon.ico"
                          Target="[#Elwig.exe]"
                          WorkingDirectory="InstallFolder"/>
			  <RemoveFolder Id="StartMenuProgramsFolder" On="uninstall"/>
			  <RegistryValue Root="HKCU" Key="Software\!(bind.Property.Manufacturer)\!(bind.Property.ProductName)" Name="start_menu_installed" Type="integer" Value="1" KeyPath="yes"/>
		  </Component>
		  
		  <Component Id="DesktopFolderShortcut" Directory="DesktopFolder" Guid="b7a88e37-a62f-4c60-9464-bd0b384f9803">
			  <Shortcut Id="DesktopShortcut"
                          Name="!(bind.Property.ProductName)"
                          Description="!(bind.Property.ProductName)"
						  Icon="icon.ico"
                          Target="[#Elwig.exe]"
                          WorkingDirectory="InstallFolder"/>
			  <RegistryValue Root="HKCU" Key="Software\!(bind.Property.Manufacturer)\!(bind.Property.ProductName)" Name="desktop_installed" Type="integer" Value="1" KeyPath="yes"/>
		  </Component>
	  </ComponentGroup>
  </Fragment>
</Wix>
