Hotfix install never finishes?

I'm trying to install ReSharper 2.0 for VS 2005, am prompted for the
hotfix, I say to install it, go through the dialogs including the
agreement dialog for the hotfix, and then ... I just see an install
dialog saying "Please wait while Windows configures Microsoft Visual
Studio 2005 Professional Edition - ENU" with a Cancel button. I've
waited 5 minutes, and seeing nothing happen - click Cancel. It goes on
with the rest of the ReSharper install and everything seems fine ... but
obviously the hotfix hasn't gone into place.

I tried to download the hotfix separately, but it's not available for
download from MS direct.

16 comments
Comment actions Permalink

Chris,

I encountered the same thing back when I first installed it (see
http://blog.devstone.com/aaron/archive/2006/05/22/1607.aspx).  Fortunately
this is a one-time thing; in other words, you won't have to reapply the VS
hotfix with each rev of R#.  For me, it took (literally) 1.5 hrs on a
dual-core 2.16 GHz laptop but it did eventually finish.

Aaron

"Chris Morris" <chris.morris@einstruction.com> wrote in message
news:e8h9fv$lfk$1@is.intellij.net...

I'm trying to install ReSharper 2.0 for VS 2005, am prompted for the
hotfix, I say to install it, go through the dialogs including the
agreement dialog for the hotfix, and then ... I just see an install dialog
saying "Please wait while Windows configures Microsoft Visual Studio 2005
Professional Edition - ENU" with a Cancel button. I've waited 5 minutes,
and seeing nothing happen - click Cancel. It goes on with the rest of the
ReSharper install and everything seems fine ... but obviously the hotfix
hasn't gone into place.

>

I tried to download the hotfix separately, but it's not available for
download from MS direct.



0
Comment actions Permalink

Hello Aaron and Chris,

unfortunately I have no idea why hotfix installation took so long on your
machines. Perhaps the problem was in
the installation process waiting for some external condition / process. If
you're able to repeat this problem, please
invoke ReSharper's installer with '/l' command line key. This will bring
you a log file in Notepad after the installation
finishes, and you may attach the log file to a post to this thread.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Chris,

I encountered the same thing back when I first installed it (see
http://blog.devstone.com/aaron/archive/2006/05/22/1607.aspx).
Fortunately this is a one-time thing; in other words, you won't have
to reapply the VS hotfix with each rev of R#.  For me, it took
(literally) 1.5 hrs on a dual-core 2.16 GHz laptop but it did
eventually finish.

Aaron

"Chris Morris" <chris.morris@einstruction.com> wrote in message
news:e8h9fv$lfk$1@is.intellij.net...

>> I'm trying to install ReSharper 2.0 for VS 2005, am prompted for the
>> hotfix, I say to install it, go through the dialogs including the
>> agreement dialog for the hotfix, and then ... I just see an install
>> dialog saying "Please wait while Windows configures Microsoft Visual
>> Studio 2005 Professional Edition - ENU" with a Cancel button. I've
>> waited 5 minutes, and seeing nothing happen - click Cancel. It goes
>> on with the rest of the ReSharper install and everything seems fine
>> ... but obviously the hotfix hasn't gone into place.
>>
>> I tried to download the hotfix separately, but it's not available for
>> download from MS direct.
>>


0
Comment actions Permalink

Dmitry Shaporenkov (JetBrains) wrote:

Hello Aaron and Chris,

unfortunately I have no idea why hotfix installation took so long on
your machines. Perhaps the problem was in
the installation process waiting for some external condition / process.


I dunno what it's doing. Unfortunately, I'm well into a run of it right
now on my machine - I just now read your message - I don't have time to
cancel it and start over.

It's writing data to a temp file (currently at about 7 MB) and it's just
pounding my hard drive, scanning mostly Visual Studio files it seems
(according to Filemon), then writes to the temp file a bunch. It's not
writing a lot of data for the amount of activity it's generating - this
seems like a bug in the hotfix or somesuch.

Ah ... finally getting some feedback on the MSI UI - it was "Gathering
required information" for a while (20 minutes?) ... now it says "Time
remaining: 15 minutes".

Temp file is at 9 MB. This hotfix just replaces one file, right? :)

Well, if you don't hear back from me - assume it took me about 40
minutes to get the danged hotfix installed.

0
Comment actions Permalink

Dmitry Shaporenkov (JetBrains) wrote:

If you're able to repeat this problem, please
invoke ReSharper's installer with '/l' command line key. This will bring
you a log file in Notepad after the installation
finishes, and you may attach the log file to a post to this thread.


Well, the hotfix finally finished, but the ReSharper install failed and
then rolled back. Attached is the log file (which, I swear, is the same
name of the file temp that got up to 9MB in size with the hotfix - but
now it's only a MB or so) - attached.

Ah, wait. There are two neighbor files to my tmp file. I'm going to zip
them all up (the others look like the hotfix files).

Ok - zip attached. ReS86.000 and ReS86.tm0 look like files from the
hotfix, ReS86.tmp is the file shown in Notepad at the end of the
ReSharper failed install.

0
Comment actions Permalink

Well, the hotfix finally finished, but the ReSharper install failed and
then rolled back.


Here's the text from the error dialog.

Error 1722. There is a problem with this Windows Installer package. A
program run as part of the setup did not finish as expected. Contact
your support personnel or package vendor.

0
Comment actions Permalink

Hello Chris,

have you tried to re-run the installation and / or reboot? The error 1722
seems to happen from time to time with all Windows Installer-based
installations; it may also be related to an anti-virus software. Unfortunately,
I've failed to recognize known installation problems in the log
files you posted.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> Well, the hotfix finally finished, but the ReSharper install failed
>> and then rolled back.
>>

Here's the text from the error dialog.

Error 1722. There is a problem with this Windows Installer package. A
program run as part of the setup did not finish as expected. Contact
your support personnel or package vendor.



0
Comment actions Permalink

Dmitry Shaporenkov (JetBrains) wrote:

Hello Chris,

have you tried to re-run the installation and / or reboot? The error
1722 seems to happen from time to time with all Windows Installer-based
installations; it may also be related to an anti-virus software.
Unfortunately, I've failed to recognize known installation problems in
the log
files you posted.


This morning I rebooted fresh. Re-ran ReSharper install. Failed again in
the same way.

I rebooted and then ran the Visual Studio 2005 repair install. It did a
few reboots doing its thing, including a reboot right at the end.

I re-ran the ReSharper install after that and it still fails in the same
way. It appears to be failing right after a console window appears briefly.

0
Comment actions Permalink

Hello Chris,

could you please attach the installation log captured wit '/l' command-line
key to the installer? Thanks.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Dmitry Shaporenkov (JetBrains) wrote:

>> Hello Chris,
>>
>> have you tried to re-run the installation and / or reboot? The error
>> 1722 seems to happen from time to time with all Windows
>> Installer-based
>> installations; it may also be related to an anti-virus software.
>> Unfortunately, I've failed to recognize known installation problems
>> in
>> the log
>> files you posted.

This morning I rebooted fresh. Re-ran ReSharper install. Failed again
in the same way.

I rebooted and then ran the Visual Studio 2005 repair install. It did
a few reboots doing its thing, including a reboot right at the end.

I re-ran the ReSharper install after that and it still fails in the
same way. It appears to be failing right after a console window
appears briefly.



0
Comment actions Permalink

Dmitry Shaporenkov (JetBrains) wrote:

Hello Chris,

could you please attach the installation log captured wit '/l'
command-line key to the installer? Thanks.


Here you go.

0
Comment actions Permalink

Hello Chris,

looks like the problem is caused by a failure of ReSharper custom installation
actions. I suggest that you do the following

1) Run the installation with '/l' key
2) Wait until the 'Error 1722' dialog appears but don't close it (otherwise
the rollback process will be initiated)
3) While the error dialog is on screen, run the following command from the
command line (this will launch the custom installation
actions):

"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe" /VsVersion="8.0"


          /InstallDir="C:\Program Files\JetBrains\ReSharper\VS2005"
         "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
PrivateAssemblies\JetBrains.ReSharper.VS.dll"

Please wait the InstallUtil.exe to finish and check the resulting errors.

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Dmitry Shaporenkov (JetBrains) wrote:

>> Hello Chris,
>>
>> could you please attach the installation log captured wit '/l'
>> command-line key to the installer? Thanks.
>>

Here you go.



0
Comment actions Permalink

Dmitry Shaporenkov (JetBrains) wrote:

3) While the error dialog is on screen, run the following command from
the command line (this will launch the custom installation
actions):

>> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe"
>> /VsVersion="8.0"


         /InstallDir="C:\Program Files\JetBrains\ReSharper\VS2005"
        "C:\Program Files\Microsoft Visual Studio
8\Common7\IDE
PrivateAssemblies\JetBrains.ReSharper.VS.dll"



Attached is the console output from the above command - something is
failing in there.

0
Comment actions Permalink

Chris Morris wrote:

Installing assembly 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\JetBrains.ReSharper.VS.dll'.


Is it a pathing problem? If I still leave the installer up (so it
doesn't roll back everything) and open this assembly in Reflector and
drill-down, I'm soon prompted by Reflector for assemblies that live in
C:\Program Files\JetBrains\ReSharper\VS2005\bin -- is the
InstallUtil.exe command failing because dependent assemblies can't be found?

0
Comment actions Permalink

Hello Chris,

please repeat the experiment but also add the '/ShowCallStack' argument to
InstallUtil.exe :

InstallUtil.exe /ShowCallStack /VsVersion... (as before).


This will show additional diagnostics. Sorry for troubles - I must have figured
out that the argument
is necessary earlier.

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Dmitry Shaporenkov (JetBrains) wrote:

>> 3) While the error dialog is on screen, run the following command
>> from
>> the command line (this will launch the custom installation
>> actions):
>>> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe"
>>> /VsVersion="8.0"
>>>
>> /InstallDir="C:\Program Files\JetBrains\ReSharper\VS2005" "C:\Program
>> Files\Microsoft Visual Studio
>> 8\Common7\IDE
PrivateAssemblies\JetBrains.ReSharper.VS.dll"
>>

Attached is the console output from the above command - something is
failing in there.



0
Comment actions Permalink

Hello Chris,

I'm almost sure that the problem is that some necessary VS assembly is not
installed into GAC.
Candidates are Extensibility, EnvDTE etc; an additional argument I mentioned
in another post
will likely tell us exactly.

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Chris Morris wrote:

>> Installing assembly 'C:\Program Files\Microsoft Visual Studio
>> 8\Common7\IDE\PrivateAssemblies\JetBrains.ReSharper.VS.dll'.
>>

Is it a pathing problem? If I still leave the installer up (so it
doesn't roll back everything) and open this assembly in Reflector and
drill-down, I'm soon prompted by Reflector for assemblies that live in
C:\Program Files\JetBrains\ReSharper\VS2005\bin -- is the
InstallUtil.exe command failing because dependent assemblies can't be
found?




I


0
Comment actions Permalink

Dmitry Shaporenkov (JetBrains) wrote:

Hello Chris,

I'm almost sure that the problem is that some necessary VS assembly is
not installed into GAC.
Candidates are Extensibility, EnvDTE etc; an additional argument I
mentioned in another post
will likely tell us exactly.


Ok - I was chasing down my pathing hunch, but it didn't make any sense,
because all of the assemblies in Program Files\JetBrains\ReSharper also
appeared to be in ...\Common7\IDE\PrivateAssemblies.

But I did notice this - 5 files in PrivateAssemblies were /older/ than
the same files in Program Files\JetBrains\ReSharper:

JB.RS.BuildScriptSupport.dll
JB.RS.ContextActions.dll
JB.RS.FrameworkInfo.dll
JB.RS.TypeHierarchy.dll
JB.RS.VS.dll

I did have a beta install of ReSharper 2.0 installed previously, I
thought I'd uninstalled it already, it still looks like I have. Maybe
this is the problem?

The dates on the 5 old files are 3/18/2006.


I'll get you a re-run with the new stack switch you mentioned as well.

0
Comment actions Permalink

Chris Morris wrote:

I did have a beta install of ReSharper 2.0 installed previously, I
thought I'd uninstalled it already, it still looks like I have. Maybe
this is the problem?


Ah! I may have realized the problem. I had an old beta of R# installed,
then I was having problems on my main disk with a corrupt registry, so I
added a new hard drive with a brand new OS install, but recovered some
things from the old drive - including my original VS 2005 install
folders, which will still have the old R# files in it - but no proper
uninstaller to run.

I'm trying to re-run the installer after manually deleting the prior R#
files from the PrivateAssemblies folder.

And ... that worked :)

So ... after all that, it seems all I did was reprove your requirement
that prior versions be uninstalled first :)

0

Please sign in to leave a comment.