How to Handle .NET Framework Native Images in Software MSI Installation Packages?

When you find in a file which is suffixed by “.ni” in an application capture (For eg: Aclayers.ni.dll), this is an indication that it is a native image for an assembly. (The base assembly can be found in the application installation directory). These files cannot be added directly to the MSI package. Instead, it needs… Continue reading How to Handle .NET Framework Native Images in Software MSI Installation Packages?

How to Fix Custom Action Issues in MSI Installation?

When an installation fails, it may be because of the Custom Action(s) it contains. Here’s how to examine the MSI logs to troubleshoot the problem. Generate the MSI log and search for RETURN VALUE 3. This will help you identify and solve the problem in some cases. Further, the possible Return Values for CAs are:… Continue reading How to Fix Custom Action Issues in MSI Installation?

How to create a Windows Installer Patch using Wise Package

Step 1: Launch the Patch Creation tool from within your Wise product. The Patch Creation tool’s Welcome dialog appears. This dialog offers an outline of the steps for creating a patch. Step 2: Read the information on the Welcome dialog, and click Next when finished. The Specify Patch Settings File dialog appears. Step 3: The… Continue reading How to create a Windows Installer Patch using Wise Package

Understand the Windows Installer Logs

Here’s a fantastic document by Richard on “how to interpret Windows Installer logs”. This is a very essential and a noteworthy bookmark for every packager and administrator. Especially, Don’t miss the Annotated Verbose Installer Log section; it has a pdf file, which contains a log file generated on Vista. Special Thanks to Richard Mc Donald… Continue reading Understand the Windows Installer Logs

How to Troubleshoot an error using Windows Installer Logs

When you need to troubleshoot a failing install, it is often useful to use the policy hive rather than the command line to catch things like repairs and multi-package installs. The Windows Installer Log comes in very handy in this case. The log can be generated 2 ways (Other than the usual Msiexec <misname> /l*v… Continue reading How to Troubleshoot an error using Windows Installer Logs

Troubleshoot MSI Installation Issues and Functional Errors

If the application does not work after the install, there could be several possible reasons for this. I’ve tried to outline a few of the troubleshooting steps I take when I run into these types of errors. Read on to learn more.  The application does not work in user context ie., locked-down environment.  To test… Continue reading Troubleshoot MSI Installation Issues and Functional Errors

Disclaimer

General DisclaimerIf you are interested in linking, quoting, or reprinting articles from MSigeek in whole or in part, please do read the below copyright policy: * If you want link from your site to MSigeekYou are welcome to use short quotes from Msigeek in your website or blog as long as proper credit is given.… Continue reading Disclaimer

Published
Categorized as General

MSI Packaging Guidelines and Best Practices for Windows 7 / Vista

Here are few points which would prove handy while re-packaging an application for Vista / Windows 7. 1. If you must make a change on the system via a custom action, ensure that the custom action is deferred and the msidbCustomActionTypeNoImpersonate bit is set. This will ensure that the custom action inherits elevated privileges from the… Continue reading MSI Packaging Guidelines and Best Practices for Windows 7 / Vista