Ultimate Guide to Effective Package Verification

Ultimate Guide to Effective Package Verification

Michael Lv8

Ultimate Guide to Effective Package Verification

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

Package Validation

The validation tool checks your project for compliance with each of the internal consistency evaluators (ICEs). The files containing these ICEs are those installed with the MsiVal2.msi tool (part of the Microsoft Windows Installer Platform SDK) to validate the installation and merge module packages for Windows logo compliance. Advanced Installer will not install those files by default, it will automatically detect them if they are installed. However if the MsiVal2.msi tool is not installed but present on your computer Advanced Installer will automatically prompt you to install it. If this tool is not present on your computer you need to manually browse for the ICE files. The predefined Microsoft ICE evaluation files detected by Advanced Installer are:

  • Full MSI Validation Suite - Runs darice.cub, it performs up to 99 checks to ensure that the installation databases are internally consistent.
  • Merge Module Validation Suite - Runs mergemod.cub, used to test the internal consistency of merge modules.
  • Windows XP Logo Program Suite - Runs XPlogo.cub, which is part of Microsoft Windows XP logo verification program. The tests in XPlogo.cub are a subset of the tests in darice.cub.
  • Windows Vista Logo Program Suite - Runs Vstalogo.cub, which is part of Microsoft Windows Vista logo verification program. The tests in Vstalogo.cub are a subset of the tests in darice.cub.

Tools Dialog

NoteTo benefit from the newly internal consistency evaluators it is recommended to have installed the newest MsiVal2.msi tool.

Build Settings

Enable ICE validation for Msi packages

Run selected ICE evaluation file at the MSI package build time. If no predefined evaluation files are detected use the [Browse ] button to locate the evaluation file.

https://techidaily.com

Enable ICE validation for Merge Module packages

Run selected ICE evaluation file at the Merge Module package build time. If no predefined evaluation files are detected use the [Browse ] button to locate the evaluation file.

Enable Advanced Installer best practice rules

Run the Advanced Installer Best Practice evaluators at build time.

https://techidaily.com

Enable App-V 5 resource compatibility check

By enabling this option you will get an “Issue List” with resources that don’t meet the App-V 5 standards. The compatibility check will be performed at build time and it will include Drivers , Scheduled tasks and Firewall settings .

Enable UWP resource compatibility check

Verifies that the package resources and settings are attuned to Universal Windows Platform best practices. The check is performed at build time and all detected compatibility issues are shown in the “Issue List” pane.

https://techidaily.com

Enable UWP manifest validation

Run the UWP manifest validation at build time.

Enable validation using WACK

Uses appcert.exe from the Windows App Certification Kit to validate an MSI or UWP AppX build. If you build your project via command line, you have to be aware that by enabling WACK, the uninstall process will not be silent. The validation will provide an output log as well as a more user-friendly HTML log.

To run these validation tests requires you to install Windows SDK.

https://techidaily.com

Define Rules

Suppress Warning messages.

No validation warnings will be displayed to the user.

Suppress specific ICEs.

The ICEs you specify separated by “;” character will not run.

NoteThe validation result is displayed as information in the build log and will not affect the build result. After the build operation is finished the validation result is displayed in the Issue Pane list allowing user to locate the problem in Advanced Installer UI (if possible).

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: Ultimate Guide to Effective Package Verification
  • Author: Michael
  • Created at : 2024-10-24 23:59:21
  • Updated at : 2024-10-28 22:48:34
  • Link: https://fox-where.techidaily.com/ultimate-guide-to-effective-package-verification/
  • License: This work is licensed under CC BY-NC-SA 4.0.