YouCantSpell / build / YouCantSpell.Installer.v61 / Product.wxs

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
	<Product
    Id="*"
    Name="You Can't Spell For ReSharper 6.1 ($(var.CoreAsmVersion))"
    Language="1033"
    Version="$(var.CoreAsmVersion)"
    Manufacturer="Aaron Dandy"
    UpgradeCode="b61c54df-ef38-4534-a99b-9b8887918ef2"
  >
    <Package
      Description="A ReSharper Spell Check Plug-in."
      InstallerVersion="200"
      Compressed="yes"
      InstallScope="perUser"
    />

    <Property Id="MSIFASTINSTALL" Value="7" />
    <Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
    <Upgrade Id="b61c54df-ef38-4534-a99b-9b8887918ef2">
      <UpgradeVersion Minimum="0.0.1"
							IncludeMinimum="yes"
							Maximum="3.0.0"
							IncludeMaximum="no"
							Property="PREVIOUSVERSIONSINSTALLED" />
    </Upgrade>

    <InstallExecuteSequence>
      <RemoveExistingProducts After="InstallInitialize" />
    </InstallExecuteSequence>

    <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" CompressionLevel="high" />

    <Property Id="RESHARPERDIRV61" Secure="yes">
      <RegistrySearch Id="RSInstallRegistryV61" Root="HKLM" Key="Software\JetBrains\ReSharper\v6.1"
        Name="InstallDir" Type="directory"/>
    </Property>

    <Condition Message='ReSharper 6.1 is required to proceed with the installation.'>
      Installed OR (RESHARPERDIRV61)
    </Condition>

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="LocalAppDataFolder">
        <Directory Id="D.AppDataFolder.JetBrains" Name="JetBrains" >
          <Directory Id="D.AppDataFolder.JetBrains.ReSharper" Name="ReSharper">
            <Directory Id="D.AppDataFolder.JetBrains.ReSharper.V" Name="v6.1">
              <Directory Id="D.AppDataFolder.JetBrains.ReSharper.V.Plugins" Name="Plugins">
                <Directory Id="D.AppDataFolder.JetBrains.ReSharper.V.Plugins.YouCantSpell" Name="YouCantSpell">
                  <Component Id="C.YCS.PerUser" Guid="2F4B77AE-DD30-4755-8C10-7C6D8B84DC8B">
                    <Registry Id="R.YouCantSpell" Root="HKCU" Key="Software\JetBrains\ReSharper\Plugins\YouCantSpell" KeyPath="yes" />
                    <File Source="..\..\bin\$(var.Configuration)\net35\YouCantSpell.ReSharper.Core.dll" />
                    <File Source="..\..\bin\$(var.Configuration)\net35\YouCantSpell.Core.dll" />
                    <File Source="..\..\bin\$(var.Configuration)\net35\NHunspell.dll" />
                    <File Source="..\..\bin\$(var.Configuration)\net35\Hunspellx86.dll" />
                    <File Source="..\..\bin\$(var.Configuration)\net35\Hunspellx64.dll" />
                    <File Source="..\..\NHunspell-License.txt" />
                    <File Source="..\..\LICENSE.txt" />
                    <RemoveFolder Id="Rem.Root" Directory="D.AppDataFolder.JetBrains" On="uninstall"/>
                    <RemoveFolder Id="Rem.Root.R" Directory="D.AppDataFolder.JetBrains.ReSharper" On="uninstall"/>
                    <RemoveFolder Id="Rem.Root.R.V" Directory="D.AppDataFolder.JetBrains.ReSharper.V" On="uninstall"/>
                    <RemoveFolder Id="Rem.Root.R.V.P" Directory="D.AppDataFolder.JetBrains.ReSharper.V.Plugins" On="uninstall"/>
                    <RemoveFolder Id="Rem.Root.R.V.P.YCS" Directory="D.AppDataFolder.JetBrains.ReSharper.V.Plugins.YouCantSpell" On="uninstall"/>
                  </Component>
                  <Component Id="C.YCS.PerUser.v6.1" Guid="{D68D9951-CF60-4C98-B1F6-9BE801B41358}">
                    <Registry Id="R.YouCantSpell.v6.1" Root="HKCU" Key="Software\JetBrains\ReSharper\Plugins\YouCantSpell" Name="ReSharperVer" Value="v6.1" Type="string" KeyPath="yes" />
                    <File Source="..\..\bin\$(var.Configuration)\net35\YouCantSpell.ReSharper.v61.dll" />
                  </Component>
                  <Directory Id="D.AppDataFolder.JetBrains.ReSharper.V.Plugins.YouCantSpell.Dic" Name="dic">
                    <Component Id="C.YCS.PerUser.Dic" Guid="{9D1A64A9-7B00-4121-9F4C-EF5C00F39FA5}">
                      <Registry Id="R.YouCantSpell.Dic" Root="HKCU" Key="Software\JetBrains\ReSharper\Plugins\YouCantSpell\Dic" KeyPath="yes" />
                      <File Source="..\..\dic\license_en_EN.txt" />
                      <File Source="..\..\dic\README_en_GB.txt" />
                      <File Source="..\..\dic\en_GB.aff" />
                      <File Source="..\..\dic\en_GB.dic" />
                      <File Source="..\..\dic\LICENSE_en_US.txt" />
                      <File Source="..\..\dic\README_en_US.txt" />
                      <File Source="..\..\dic\en_US.aff" />
                      <File Source="..\..\dic\en_US.dic" />
                      <File Source="..\..\dic\licentie_nl_NL.txt" />
                      <File Source="..\..\dic\nl_NL.aff" />
                      <File Source="..\..\dic\nl_NL.dic" />
                      <File Source="..\..\dic\copyright_russian-aot-ieyo.txt" />
                      <File Source="..\..\dic\russian-aot-ieyo.aff" />
                      <File Source="..\..\dic\russian-aot-ieyo.dic" />
                      <File Source="..\..\dic\LICENSE_sv_SE.txt" />
                      <File Source="..\..\dic\sv_SE.aff" />
                      <File Source="..\..\dic\sv_SE.dic" />
                      <File Source="..\..\dic\README_uk_UA.txt" />
                      <File Source="..\..\dic\uk_UA.aff" />
                      <File Source="..\..\dic\uk_UA.dic" />
                      <RemoveFolder Id="Rem.Root.R.V.P.YCS.Dic" Directory="D.AppDataFolder.JetBrains.ReSharper.V.Plugins.YouCantSpell.Dic" On="uninstall"/>
                    </Component>
                  </Directory>
                </Directory>
              </Directory>
            </Directory>
          </Directory>
        </Directory>
      </Directory>
    </Directory>

    <Feature Id="YCSFeature" Title="You Can't Spell" Level="1">
      <ComponentRef Id="C.YCS.PerUser"/>
      <ComponentRef Id="C.YCS.PerUser.v6.1"/>
      <ComponentRef Id="C.YCS.PerUser.Dic"/>
    </Feature>
    
    <WixVariable Id="WixUILicenseRtf" Value="..\..\LICENSE.RTF" />
    <UI>
      <UIRef Id="WixUI_Minimal" />
    </UI>

  </Product>
</Wix>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.