Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <Product ProductCode="USBScaleCommunication" xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper">
- <RelatedProducts>
- <EitherProducts>
- <DependsOnProduct Code=".NETFramework,Version=v4.5" />
- <DependsOnProduct Code=".NETFramework,Version=v4.0" />
- </EitherProducts>
- <EitherProducts>
- <DependsOnProduct Code="Microsoft.Windows.Installer.4.5" />
- </EitherProducts>
- <!-- Also depends on MSI4.5 or greater, which is included on all of the OS levels supported (see package.xml) -->
- </RelatedProducts>
- <PackageFiles CopyAllPackageFiles="false">
- <PackageFile Name="setup.exe" PublicKey="30818902818100AE95539793B5C5B7BA857A62202303FAEAE70FB873F074B3CBA638699AECCE74CD9E0C9CF70D4E758E868E343A9FA1E7B97650D85FA42EA04126826B281B72AAD9BB5A3E23601D53EF12B7C31005F8BBE5804E82758BF0F3C9D927AA66CB4FF94F35AC77E802EC52A1AAF928D870F6941FB22B9E85761E61675C735AD81D65770203010001" Hash="0E4F29825FDC88A2343BCE40F6B6351950EAF9F5" />
- </PackageFiles>
- <InstallChecks>
- <FileCheck Property="APIGIDResult" SpecialFolder="WindowsFolder" SearchPath="system32" FileName="apigid32.dll" SearchDepth="1" />
- <RegistryCheck Property="USBScaleRegResult" Key="Computer\HKEY_CLASS_ROOT\ElaneScaleDLL.ElaneUSBScale\Clsid" />
- </InstallChecks>
- <Commands Reboot="Defer">
- <Command PackageFile="setup.exe">
- <InstallConditions>
- <BypassIf Property="USBScaleRegResult" Compare="ValueEqualTo" Value="{ED0F70E3-6A9A-445D-BBC5-8E49B21E8D47}" />
- <BypassIf Property="APIGIDResult" Compare="ValueExists" Value="N/A for ValueExists and ValueNotExists" />
- </InstallConditions>
- <ExitCodes>
- <ExitCode Value="0" Result="Success" />
- <DefaultExitCode Result="Success" String="Installationsuccess." FormatMessageFromSystem="true" />
- </ExitCodes>
- </Command>
- </Commands>
- </Product>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement