v2.4.2.4334 beta on VS2005 'Package Load Failure'

Project:VS.Php for Visual Studio 2005
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I installed a trial version of v2.4.1.4263 for VS2005 and it told me I had 30 days remaining. I briefly tested it and most things worked.

I then tried upgrading to the v2.4.2.4334 beta for VS2005 and I get:
Package Load Failure
Package 'vs.php' has failed to load properly ...

It asks me if I want to disable it. If I do, I receive the 'Make sure the application for the project type (.phpproj) is installed' error instead. I can run 'devenv /resetskippkgs' and it just shows me the first error message again.

As well as upgrading from a working v2.4.1 install to this beta, I also tried uninstalling completely (via the uninstaller, then ensuring all files and registry entries were gone) and reinstalling the beta 'fresh'.

It seems to me like the v2.4.2.4334 build for VS2005 is simply broken. This is a shame, because I intended to purchase v2.4 but I have run into a number of bugs already in v2.4.1.4263; I was hoping to try out the beta to see if that fixed any of those problems, but it just won't work at all.

Updates

#1 submitted by Nekromanter on Wed, 2008-01-02 02:59

Hi. Try to run devenv /ResetSkipPkgs.

#2 submitted by StevenChamberlain on Wed, 2008-01-02 05:26

Hi,

I already explained in the bug report that "I can run 'devenv /resetskippkgs' and it just shows me the first error message again." Running that command loads Visual Studio, and it immediately shows "Package 'vs.php' has failed to load properly ...". I do not see the VS.Php splash screen at all (with the Continue/Register/Cancel buttons).

I've tried to look into this myself, and I'm suspicious that VS.Php may have switched to VS2008 for development between the v2.4.1 and v2.4.2 builds. I believe there may be some kind of runtime libraries missing from the installer. I'm using XP x64, so it's perhaps a 64-bit-specific issue. I'm continue investigating...

#3 submitted by StevenChamberlain on Wed, 2008-01-02 05:34

Fixed!

My suspicions were correct; I manually installed the VC++ 2008 runtime on my machine and VS.Php v2.4.2 works now:
http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en

Although I'm running XP x64, I had to download the x86 (32-bit) runtime for VS.Php to work. That must be because it's built as a 32-bit app.

AFAIK the files installed by that download are supposed to be included in the installer. Perhaps the build was only tested on machines which had VS2008 already installed, therefore nobody noticed...

Comments

    Interesting that we install

    Interesting that we install the VC9 x86 runtime with VS.Php. there might be something wrong with the installer.

    Thanks