Install error with 2.0.1/VS 2005 on Vista RC1

While trying to install 2.0.1 for VS 2005 on Vista RC1, I get an install error. I've attached the install log.



Attachment(s):
ReSFD39.zip
16 comments
Comment actions Permalink

Hello Oren,

in the log I see the usual problem with running custom action "InstallUtil.exe..."
during installation,
nothing specific to Vista. A couple of things to look at:

1) Please make sure that VS assemblies Extensibility, EnvDTE, VSLangProj
are installed into GAC
2) If the error repeats, please try to re-run the installation until the
error dialog appears but don't
close the error dialog to delay rollback process. While the dialog is on
screen, run manually the following
command:

>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"

(this is what the failed custom action was trying to do) and pay attention
to the result of it. Thanks.

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

While trying to install 2.0.1 for VS 2005 on Vista RC1, I get an
install error. I've attached the install log.



0
Comment actions Permalink

Two things -- if it's a known error, is it scheduled to be fixed in an upcoming maintanance release; if so, any ETA?

Second, when I ran the command line from an elevated cmd prompt, the install util succeeded:

Is there a way that the installer can be modified to not execute that action but instead to provide a batch file that an end-user can run to get it working (or fix the issue some other way)?

Thanks,
--Oren

C:\Program Files\Microsoft Visual Studio 8\VC>C:\Windows\Microsoft.NET\Framework
\v2.0.50727\InstallUtil.exe /VsVersion="8.0" /InstallDir="C:\Program Files\JetBr
ains\ReSharper\VS2005
" "C:\Program Files\Microsoft Visual Studio 8\Common7\ID
E
PrivateAssemblies\JetBrains.ReSharper.VS.dll"
Microsoft (R) .NET Framework Installation utility Version 2.0.50727.112
Copyright (c) Microsoft Corporation. All rights reserved.


Running a transacted installation.

Beginning the Install phase of the installation.
See the contents of the log file for the C:\Program Files\Microsoft Visual Studi
o 8\Common7\IDE\PrivateAssemblies\JetBrains.ReSharper.VS.dll assembly's progress
.
The file is located at C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Pr
ivateAssemblies\JetBrains.ReSharper.VS.InstallLog.
Installing assembly 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Priv
ateAssemblies\JetBrains.ReSharper.VS.dll'.
Affected parameters are:
installdir = C:\Program Files\JetBrains\ReSharper\VS2005\
logtoconsole =
vsversion = 8.0
assemblypath = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Private
Assemblies\JetBrains.ReSharper.VS.dll
logfile = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssem
blies\JetBrains.ReSharper.VS.InstallLog

The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the C:\Program Files\Microsoft Visual Studi
o 8\Common7\IDE\PrivateAssemblies\JetBrains.ReSharper.VS.dll assembly's progress
.
The file is located at C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Pr
ivateAssemblies\JetBrains.ReSharper.VS.InstallLog.
Committing assembly 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Priv
ateAssemblies\JetBrains.ReSharper.VS.dll'.
Affected parameters are:
installdir = C:\Program Files\JetBrains\ReSharper\VS2005\
logtoconsole =
vsversion = 8.0
assemblypath = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Private
Assemblies\JetBrains.ReSharper.VS.dll
logfile = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssem
blies\JetBrains.ReSharper.VS.InstallLog

The Commit phase completed successfully.

The transacted install has completed.

C:\Program Files\Microsoft Visual Studio 8\VC>

0
Comment actions Permalink

Hello Oren,

it's not actually an error - rather, I'd say it's lack of advanced diagnostics.


So I've not quite understood - have you finally been able to install ReSharper?
Or is the installation still failing with the same error but InstallUtil.exe
completes OK
when run manually? Thanks.


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

Two things -- if it's a known error, is it scheduled to be fixed in an
upcoming maintanance release; if so, any ETA?

Second, when I ran the command line from an elevated cmd prompt, the
install util succeeded:

Is there a way that the installer can be modified to not execute that
action but instead to provide a batch file that an end-user can run to
get it working (or fix the issue some other way)?

Thanks,
--Oren
C:\Program Files\Microsoft Visual Studio
8\VC>C:\Windows\Microsoft.NET\Framework
\v2.0.50727\InstallUtil.exe /VsVersion="8.0" /InstallDir="C:\Program
Files\JetBr
ains\ReSharper\VS2005
" "C:\Program Files\Microsoft Visual Studio
8\Common7\ID
E
PrivateAssemblies\JetBrains.ReSharper.VS.dll"
Microsoft (R) .NET Framework Installation utility Version
2.0.50727.112
Copyright (c) Microsoft Corporation. All rights reserved.
Running a transacted installation.

Beginning the Install phase of the installation.
See the contents of the log file for the C:\Program Files\Microsoft
Visual Studi
o 8\Common7\IDE\PrivateAssemblies\JetBrains.ReSharper.VS.dll
assembly's progress
.
The file is located at C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\Pr
ivateAssemblies\JetBrains.ReSharper.VS.InstallLog.
Installing assembly 'C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\Priv
ateAssemblies\JetBrains.ReSharper.VS.dll'.
Affected parameters are:
installdir = C:\Program Files\JetBrains\ReSharper\VS2005\
logtoconsole =
vsversion = 8.0
assemblypath = C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\Private
Assemblies\JetBrains.ReSharper.VS.dll
logfile = C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\PrivateAssem
blies\JetBrains.ReSharper.VS.InstallLog
The Install phase completed successfully, and the Commit phase is
beginning.
See the contents of the log file for the C:\Program Files\Microsoft
Visual Studi
o 8\Common7\IDE\PrivateAssemblies\JetBrains.ReSharper.VS.dll
assembly's progress
.
The file is located at C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\Pr
ivateAssemblies\JetBrains.ReSharper.VS.InstallLog.
Committing assembly 'C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\Priv
ateAssemblies\JetBrains.ReSharper.VS.dll'.
Affected parameters are:
installdir = C:\Program Files\JetBrains\ReSharper\VS2005\
logtoconsole =
vsversion = 8.0
assemblypath = C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\Private
Assemblies\JetBrains.ReSharper.VS.dll
logfile = C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\PrivateAssem
blies\JetBrains.ReSharper.VS.InstallLog
The Commit phase completed successfully.

The transacted install has completed.

C:\Program Files\Microsoft Visual Studio 8\VC>



0
Comment actions Permalink

I have not gotten it to install yet. I followed your directions and ran the command after the error dialog appeared and before I hit ok.

I've also verified that the three assemblies are in the GAC already too.

0
Comment actions Permalink

Hello Oren,

have you any previous build of ReSharper ever installed on that machine?
Thanks.


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

I have not gotten it to install yet. I followed your directions and
ran the command after the error dialog appeared and before I hit ok.

I've also verified that the three assemblies are in the GAC already
too.



0
Comment actions Permalink

Nope, the machine is basically a clean install of Vista RC1 with very few applications installed on it.

0
Comment actions Permalink

I am having the exact same issue - looks like the first bomb is trying to install the second VS hotfix - then the R# install crashes and burns.

Any more ideas on what is causing this???? Let me know if you want another log and I'll send it your way.

thanks,

_howard

0
Comment actions Permalink

Hello Howard,

surely, please send us the log from failed installation.


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

I am having the exact same issue - looks like the first bomb is trying
to install the second VS hotfix - then the R# install crashes and
burns.

Any more ideas on what is causing this???? Let me know if you want
another log and I'll send it your way.

thanks,

_howard



0
Comment actions Permalink

I think that the VS Patch is a Vista bug -- if you grab the patch from the temp directory and attempt to run it manually, it still doesn't work.

The workaround for the VS Patch is to grant Everyone full control over the Visual Studio 8 directory in Program Files. After the patch installs, just remove the Everyone permission (Users already have a Read ACL).

The ACL's didn't appear to affect the ReSharper install itself though.

--Oren

0
Comment actions Permalink

Hello Oren,

actually ReSharper needs to be installed under an administrative account.
And it requires full control
over the VS directory you mentioned, because it installs files there. So
I haven't quite realized,
have you succeeded with installer ReSharper or not? Thanks.


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

I think that the VS Patch is a Vista bug -- if you grab the patch from
the temp directory and attempt to run it manually, it still doesn't
work.

The workaround for the VS Patch is to grant Everyone full control over
the Visual Studio 8 directory in Program Files. After the patch
installs, just remove the Everyone permission (Users already have a
Read ACL).

The ACL's didn't appear to affect the ReSharper install itself though.

--Oren



0
Comment actions Permalink

I think the issue with the MSP is something else related to the way Windows Installer works with UAC.

When the ReSharper installer runs, Vista prompts for an Admin credential, so the installer does run with the admin token.

I also tried installing ReSharper when logged in as an Admin as well with the same results.

The net result is that no, I haven't yet gotten ReSharper to install yet...

0
Comment actions Permalink

Hi All,

Any update on this problem? I REALLY miss my R#!!!

0
Comment actions Permalink

Hello Howard,

I guess the best way for us to investigate this issue is to install Vista
RC1 and check it. We'll do that ASAP.


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

Hi All,

Any update on this problem? I REALLY miss my R#!!!



0
Comment actions Permalink

Hello Oren and others,

we've tried to install ReSharper on Vista machine and got the same errors
as you. It seems that ReSharper doesn't correctly
request permissions necessary for installation which causes a failure later.
We'll investigate this issue. The workaround in our
case was very simple: just run the installer *.exe as an administrator (context
menu -> "Run as administrator" on ReSharper's
installer *.exe). Hopefully this will also work for you.



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

While trying to install 2.0.1 for VS 2005 on Vista RC1, I get an
install error. I've attached the install log.



0
Comment actions Permalink

That seems to have done the trick. I wonder how Run as administrator is different than the UAC prompt that pops up anyway.

Thanks!
--Oren

0
Comment actions Permalink

i'm also having problems. This is with the latest build of vista which is 5728.

I'm attaching my install log in case its helpful. I will try running the install as admin and see if that helps.



Attachment(s):
log.txt
0

Please sign in to leave a comment.