Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
Ever since I published my blog post describing 1935 errors in more detail, I have been contacted by customers who have received various different 1935 errors during setup that have HRESULT values that are not listed in the table of common error codes in that post. Most of the HRESULT values correspond to common Win32 error codes, and so I decided to post a link to a table of those common errors. However, over the course of this weekend I was not able to find a good page to link to. However, I did find a nice resource that my former team (Windows Embedded) published that provides a handy way to translate some of the error codes. You can look at the page here, and I'll provide a brief summary as well.
Many common Win32 HRESULT values take the form 0x8007xxxx, where "xxxx" is some 4 digit number. You can open a cmd prompt and type net helpmsg xxxx (where xxxx is that additional 4 digit number left over after dropping the first 4 digits after 0x) to display a text explanation of what this error code means. For example, here are some common HRESULTs that are seen in some 1935 errors
Sometimes error codes will be displayed as very large negative numbers like -2147024891. In order to use net helpmsg, you need to first convert this number to hexadecimal. To do this, I usually do the following:
I also use a tool called errlook.exe to translate HRESULT values into human readable error strings. This tool is a utility that ships as part of some versions of Visual Studio and it will index header files if you have any Platform SDKs installed on your machine, so it will provide translations for a lot of errors that net helpmsg cannot. In addition, I found a link to a command line tool called err.exe that is available for download here. It is listed as an Exchange Server tool but it appears to be a generic error code lookup utility and you don't have to have Visual Studio to get it.
Hopefully this will help you narrow down some of the common root causes of 1935 errors that can occur during .NET Framework or other product setups. Also, if anyone knows of a nice web page that contains a comprehensive list of error codes that I can link to in addition to the above tricks, please post a comment....
Details about the .NET Framework 2.0 setup packaging Available command line switches for .NET Framework