|
How can I know if MSI installed my feature or component? |
Determining whether Windows Installer installed a particular feature or component is fairly easy. The answers can be found in a Windows Installer verbose log file. The first thing to look for is the logging of the InstallValidate action. This action will log the installed, request, and action states of each feature and component in the installation package. MSI (s) (5C:F4): Doing action: InstallValidate Action start 1:51:18: InstallValidate. MSI (s) (5C:F4): Feature: Example; Installed: Absent; Request: Local; Action: Local MSI (s) (5C:F4): Component: Example; Installed: Absent; Request: Local; Action: Local Action ended 1:51:18: InstallValidate. Return value 1. In the log file snippet shown above, the "Example" feature will be installed locally since its action state is local. Furthermore, the component "Example" will also be installed locally given its action state. For professional MSI Packaging assistance, visit InstallWorld Professional Services. < Back to Frequently Asked Questions about Windows Installer < Back to Home
Only registered users can write comments. Please login or register. Powered by AkoComment 2.0! |