Don't like ads? PRO users don't see any ads ;-)
Guest

9884959 (1)

By: dittodhole on Mar 27th, 2012  |  syntax: None  |  size: 1.77 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  3.         <Product Id="*"
  4.                          Name="!(wix.ProductName)"
  5.                          Language="1031"
  6.                          Version="1.2.10"
  7.                          Manufacturer="!(wix.Manufacturer)"
  8.                          UpgradeCode="02FD8E1A-A552-47AE-BDAA-F165702DE8DC">
  9.                 <Package InstallerVersion="200"
  10.                                  Compressed="yes" />
  11.                 <Media Id="1"
  12.                            Cabinet="media1.cab"
  13.                            EmbedCab="yes" />
  14.                 <Directory Id="TARGETDIR"
  15.                                    Name="SourceDir">
  16.                         <Directory Id="ProgramFilesFolder">
  17.                                 <Directory Id="ManufacturereFolder"
  18.                                         Name="!(wix.Manufacturer)">
  19.                                         <Directory Id="INSTALLLOCATION"
  20.                                                            Name="!(wix.ProductName)">
  21.                                                 <Component Id="ProductComponent" Guid="E1F74E0D-7A3F-4F48-A8C9-E223A923FB86">
  22.                                                         <File Id="Service.exe" Source="../Service/bin/$(var.Configuration)/Service.exe" />
  23.                                                         <File Id="log4net.dll" Source="../Service/bin/$(var.Configuration)/log4net.dll" />
  24.                                                         <ServiceInstall Id="Service.exe"
  25.                                                                                         Name="!(wix.ProductName)"
  26.                                                                                         DisplayName="!(wix.ProductName)"
  27.                                                                                         Type="ownProcess"
  28.                                                                                         Interactive="no"
  29.                                                                                         Start="auto"
  30.                                                                                         Vital="yes"
  31.                                                                                         ErrorControl="normal"
  32.                                                                                         Account="LOCALSYSTEM" />
  33.                                                         <ServiceControl Id="Service.exe"
  34.                                                                                         Name="!(wix.ProductName)"
  35.                                                                                         Start="install"
  36.                                                                                         Stop="both"
  37.                                                                                         Remove="uninstall"
  38.                                                                                         Wait="no" />
  39.                                                 </Component>
  40.                                         </Directory>
  41.                                 </Directory>
  42.                         </Directory>
  43.                 </Directory>
  44.                 <Feature Id="ProductFeature" Title="FirmenABC.Search.Service" Level="1">
  45.                         <ComponentRef Id="ProductComponent" />
  46.                         <ComponentGroupRef Id="Product.Generated" />
  47.                 </Feature>
  48.                 <WixVariable Id="Manufacturer" Value="Foo" />
  49.                 <WixVariable Id="ProductName" Value="Foobar"/>
  50.         </Product>
  51. </Wix>