Trying to install 1.1.3 onto VS2010 Ultimate, I get "Error 1001. Object reference not set to an instance of an object."

Issue #42 resolved
Anonymous created an issue

No description provided.

Comments (8)

  1. Anonymous

    Same for me with Express. Part of install - right at the end. Does not happen if 2010 version not checked.

  2. Sergey Antonov repo owner

    Can you make an installation log with folowing command and send it to me ?

    msiexec /i "C:\Downloads\HgSccPackageSetup.msi" /L*v "C:\Downloads\hgscc_log.txt"

    (change C:\Downloads to the path, where you extracted the hgscc133.zip)

  3. Sergey Antonov repo owner

    Thanks for the log.

    Looks like the installer class can't find a registry key for visual studio installation path for some reason.

    Can you check please what value have the folowing registry key (for VS2008) ?

    HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\Setup\VS\EnvironmentPath

    I have several ideas about that:

    1. The key above does not exists
    2. Registry redirection between 32/64 bit registry hives. But this is less likely, becasue the log says it run as 32-bit app.
    3. Visual Studio Express Editions does not support visual studio extensions. But, some people have this issue even with ultimate editions.
  4. Sergey Antonov repo owner

    There is indeed a bug in installer, that it doesn't check the visual studio edition before registering itself. I will fix that check in the next version.

    But, if you have an Express edition of Visual Studio, then you still will not able to install the HgSccPackage, because Expess editions does not support addons/extensions/packages.

    Only Standard editions or above have support for installing addons/packages.

    Here is a link with summary:

    http://stackoverflow.com/questions/86562/what-is-missing-in-the-visual-studio-2008-express-editions

    http://msdn.microsoft.com/en-us/library/zcbsd3cz(VS.80).aspx

    "Extensibility" - The standard on this says "Consume Extensions" while the profesional says "All". What does it mean by "Extensibility" and what is the difference between "Consume Extensions" and "all"?

    With Standard, you can install and use Visual Studio extensions that others have built. With Professional, you can build them yourself. For more information on Extensibility and what it means, see the following article: http://msdn.microsoft.com/vstudio/extend/vseoverview/

  5. Sergey Antonov repo owner

    This bug is fixed in HgSccPackage v1.5.2.

    The installer now checks if any of MS Visual Studio 2008/2010 installed (Standard edition of above) and will not install if you have only Express edition.

  6. Log in to comment