Yesterday I tried to install the MSBuild Extension Pack on a brand new Windows Server 2008 R2 instance. I immediately got a dialog titled "Installation Incomplete" with the message...
"The installer was interrupted before MSBuild Extension Pack v4.0.2.0 could be installed. You need to restart the installer to try again."
Checking the event log found two error messages, one from Windows Installer telling me...
"Windows Installer installed the product. Product Name: MSBuild Extension Pack v4.0.2.0. Product Version: 4.0.2. Product Language: 1033. Manufacturer: Mike Fourie. Installation success or error status: 1603."
Googling "Windows Installer 1603" found a wide variety of results, including two MSDN pages each describing 1603 differently. One claimed SYSTEM didn't have enough privileges. Another claimed a required file was open. A wild goose chase ensued and in the end, neither was right.
If you have a misbehaving .msi
that isn't giving a very descriptive error message, the best thing to do is turn on Windows Installer logging and check that before doing anything else. To turn it on, follow the steps in KB223300.
The Installer
key may not exist, you may have to create it yourself. If you don't want to use regedit.exe
, you can use PowerShell instead.
cd HKLM:\SOFTWARE\Policies\Microsoft\Windows
dir
If there is no Installer
key...
New-Item Installer
New-ItemProperty Installer -Name Logging -PropertyType String -Value voicewarmupx
Run the .msi
again and go back to PowerShell.
cd $env:temp
dir msi* | foreach { notepad $_ }
Go through the log and find the real problem. In my case, the .msi
wanted .NET Framework 3.5 installed and wouldn't allow a later version. It tried to tell me, but the error dialog encountered its own error and failed too (something about controls and bitmaps being three pixels too wide).
I had installed .NET Framework 4.0 but checking the file system I found that didn't include a directory for .NET Framework 3.5. (Which I thought was odd, but anyway.) Installing .NET Framework 3.5 through the Add Feature Wizard fixed the issue.
Don't forget to turn off Windows Installer logging when you're done.
There are 0 comments.
browse with Pivot
Codility Nitrogenium Challenge
OS X Lock
HACT '13
Codility Challenges
Priority Queue
Architecture (13)
ASP.NET (2)
ASP.NET MVC (13)
Brisbane Flood (1)
Building Neno (38)
C# (4)
Challenges (3)
Collections (1)
Communicator (1)
Concurrency Control (2)
Configuration (1)
CSS (5)
DataAnnotations (2)
Database (1)
DotNetOpenAuth (2)
Entity Framework (1)
FluentNHibernate (2)
Inversion of Control (5)
JavaScript (1)
jQuery (4)
Kata (2)
Linq (7)
Markdown (4)
Mercurial (5)
NHibernate (20)
Ninject (2)
OpenID (3)
OS X (1)
Pivot (6)
PowerShell (8)
Prettify (2)
RSS (1)
Spring (3)
SQL Server (5)
T-SQL (2)
Validation (2)
Vim (1)
Visual Studio (2)
Windows Forms (3)
Windows Service (1)
Comments
Leave a Comment
Please register or login to leave a comment.