"Stop Installation Idiocy" PCWorld’s Hassle Free PC article

While searching for news with “Windows Installer” in the subject, I recently came across the Hassle Free PC article Hassle-Free PC: Fix Stubborn Windows Install Errors where a reader asked for assistance with the Windows Installer dialogs under the subheading “Stop Installation Idiocy”. I thought I’d offer some deeper context on this scenario. First, if…

11

Where did my custom action permissions go? Terminal Server is special.

The other day a user complained that they were trying to donfigure Active Directory and their queries were intermittently getting access denied.  They had roughly identified the problem as having been related to the Windows 2003 server SP1 however they had not a clue why it worked intermittently.  I pecked at the edges saying it…

2

Billboard bug is fixed in MSI Vista

We’ve got a couple of pings on a billboard bug that I thought I’d share in case others are seeing this problem. Problem In Windows Installer 2 billboards showed one after another smoothly during InstallFiles action. With Windows Installer version 3, billboards showed twice during the install. The first time, the billboards showed during generating…

1

Most frequent problem with the msi-fusion interaction? Incorrect authoring of strong name.

Question Most frequent problem with the msi-fusion interaction? Answer Incorrect authoring of strong name. This particularly crops up at uninstall time as the MSIAssemblyName table ends up feeding the wrong identity to the Fusion API. This doesn’t break at install because the Fusion API does not need to use the identity during installation. Specific Instance…

2

Help Troubleshooing ‘Error 2902. Operation ixfAssemblyCopy called out of sequence.’

QuestionCan you help troubleshooting ‘Error 2902. Operation ixfAssemblyCopy called out of sequence.’? AnswerThe 2902 errors generally point to authoring issues. One case has been identified as authoring error wherein the win32 sxs components do not include a key path. For this case, adding a key path corrects the problem.

0

Our patches seem to work fine, yet none of the files on the disk are replaced.

Question I am seeing a very strange issue with patches on msi 2.0, our patches seem to work fine, yet none of the files on the disk are replaced. I tried regenerating the patches with the 2.0 toolset , but that did not help. Answer For MSI20 Patches, you will need to pass property REINSTALL=ALL….

4

How should I determine the success or failure of a Windows Installer install?

QuestionHow should I determine the success or failure of a Windows Installer install? Answer Generally there are two ways of invoking Windows Installer, a MSIExec command line call or an MSI API (MsiInstallProduct, MsiInstallProductEx, MsiReinstallProduct). For the MSIExec case If one is calling via the command line, they can look at the ERRORLEVEL of the…

2

How do I get a deep view of what Windows Installer is doing?

QuestionHow do I get a deep view of what Windows Installer is doing? Answer One of the comments I got from the PDC was that the SDK documentation and commercial tools lacked sufficient depth if one really wanted to figure out what was going on. Verbose logging helps but what’s happening in between log lines….

5

Any clues to why we’re seeing Error code 1912: Could not unregister type library for [file]?

QuestionAny clues to why we’re seeing Error code 1912: Could not unregister type library for [file]? Answer The error comes from the typelibrary API — so it’s what’s having an issue. From the log file: MSI (s) (84:FC) [11:44:22:589]: Executing op: TypeLibraryUnregister(,,FilePath=C:\Program Files\Microsoft CRM\Client\bin\BizOrganization.dll,LibID={E0DC0347-4D0F-31E6-9422-EE0F1A42C1BC},Version=258,,Language=0,,BinaryType=0) MSI (s) (84:FC) [11:44:22:616]: Note: 1: 1402 2: UNKNOWN\TypeLib\{E0DC0347-4D0F-31E6-9422-EE0F1A42C1BC}\1.2\0\win32 3: 2…

0

Insights into the underlying Windows Installer reboot behavior.

Here are a set of frequent and infrequent questions around Windows Installer’s reboot behavior QuestionWhat happens if the user reboots their machine during an installation? Answer This is called a suspended installation. If you’ll search the archives for the alias, you will found more information. The equivalent condition is a loss of power for the…

6