Advertisement
Guest User

Package

a guest
May 13th, 2013
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Product ProductCode="USBScaleCommunication" xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper">
  3.  
  4. <RelatedProducts>
  5. <EitherProducts>
  6. <DependsOnProduct Code=".NETFramework,Version=v4.5" />
  7. <DependsOnProduct Code=".NETFramework,Version=v4.0" />
  8. </EitherProducts>
  9. <EitherProducts>
  10. <DependsOnProduct Code="Microsoft.Windows.Installer.4.5" />
  11. </EitherProducts>
  12. <!-- Also depends on MSI4.5 or greater, which is included on all of the OS levels supported (see package.xml) -->
  13. </RelatedProducts>
  14.  
  15. <PackageFiles CopyAllPackageFiles="false">
  16. <PackageFile Name="setup.exe" PublicKey="30818902818100AE95539793B5C5B7BA857A62202303FAEAE70FB873F074B3CBA638699AECCE74CD9E0C9CF70D4E758E868E343A9FA1E7B97650D85FA42EA04126826B281B72AAD9BB5A3E23601D53EF12B7C31005F8BBE5804E82758BF0F3C9D927AA66CB4FF94F35AC77E802EC52A1AAF928D870F6941FB22B9E85761E61675C735AD81D65770203010001" Hash="0E4F29825FDC88A2343BCE40F6B6351950EAF9F5" />
  17. </PackageFiles>
  18. <InstallChecks>
  19. <FileCheck Property="APIGIDResult" SpecialFolder="WindowsFolder" SearchPath="system32" FileName="apigid32.dll" SearchDepth="1" />
  20. <RegistryCheck Property="USBScaleRegResult" Key="Computer\HKEY_CLASS_ROOT\ElaneScaleDLL.ElaneUSBScale\Clsid" />
  21. </InstallChecks>
  22. <Commands Reboot="Defer">
  23. <Command PackageFile="setup.exe">
  24. <InstallConditions>
  25. <BypassIf Property="USBScaleRegResult" Compare="ValueEqualTo" Value="{ED0F70E3-6A9A-445D-BBC5-8E49B21E8D47}" />
  26. <BypassIf Property="APIGIDResult" Compare="ValueExists" Value="N/A for ValueExists and ValueNotExists" />
  27. </InstallConditions>
  28. <ExitCodes>
  29. <ExitCode Value="0" Result="Success" />
  30. <DefaultExitCode Result="Success" String="Installationsuccess." FormatMessageFromSystem="true" />
  31. </ExitCodes>
  32. </Command>
  33. </Commands>
  34. </Product>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement