Error Installing on Vista

While trying to install LINQ preview for visual studio 2005 on a vista machine i'm getting the following error message:

The specified path is too long: C:\ProgramData\Application Data\Microsoft.

Anyone?

[213 byte] By [Lior83] at [2008-1-8]
# 1
Are you using a Sony Vaio computer by any chance?
sefjwm at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,LINQ Project General...
# 2
Yes I do! Why?
Lior83 at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,LINQ Project General...
# 3

Hi,

I am getting the same error. I am using sony vaio laptop. Please help me get it resolved.

Thanks in advance,

Sachin

SachinPatel at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,LINQ Project General...
# 4

I can't help directly, but you might want to look at this post to see if it gives you any pointers

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1106331&SiteID=1

Also, you might want to try running the installer as msiexec /i "LINQ Preview (May 2006).msi" /log log.txt and seeing if the log says anything else interesting.....

ben2004uk at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,LINQ Project General...
# 5
No luck with that....
Lior83 at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,LINQ Project General...
# 6
Here is the part of the log with the error:
...
InstallFiles: File: AssemblyInfo.vb, Directory: C:\Program Files\LINQ Preview\Samples\VB\Hands On Labs\XLinq Hands on Lab\Exercises\Exercise1\Start\My Project\, Size: 1229
InstallFiles: File: CSharp3CodeDomProvider.dll, Directory: C:\Program Files\LINQ Preview\Bin\, Size: 76592
InstallFiles: File: Resources.resx, Directory: C:\Program Files\LINQ Preview\Samples\VB\Hands On Labs\Visual Basic 9.0 - XML Integration with XLinq\Sources\VBXmlExercise1To3\VBXmlExercise1To3\My Project\, Size: 5612
InstallFiles: File: Interop.EnvDTE80.dll, Directory: C:\ProgramData\Application Data\Microsoft\MSEnvShared\Addins\, Size: 135168
DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,
Error 1320. The specified path is too long: C:\ProgramData\Application Data\Microsoft
MSI (s) (68:5C) [00:00:05:497]: Product: Microsoft .NET LINQ Preview (May 2006) -- Error 1320. The specified path is too long: C:\ProgramData\Application Data\Microsoft

DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,
Are you sure you want to cancel?
Action ended 0:00:07: InstallFinalize. Return value 2.
Action 0:00:07: Rollback. Rolling back action:
Rollback: Copying new files
Rollback: Creating folders
Rollback: CommitRemoveSamplesFolder
...

Lior83 at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,LINQ Project General...
# 7
Ok here is everything I have found out about this error.

It only seems to happen on Sony Vaio computers running Vista.

In every case I have seen the installer is trying to go to a path that is similar to XP. In your Program Data folder in Vista there are shortcuts/simlinks to these folders.
These are hidden system files so you will need to be admin and unhide them in your folder options.

There are two fixes:

1) use the msiexec command to run your msi installer, this command differs depending on what you are installing (this problem happens to multiple types of software). The one I support is run by msiexec /i <path to the msi installer> /qb

2) take that shortcut\simlink the path is looking for (it is in the error message) and move it to the dekstop. Move it back after the install. Good luck.

sefjwm at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,LINQ Project General...
# 8
Thanks!!!!!!!!!!!!

I had to read it twice ... ;-)

Lior83 at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,LINQ Project General...

Visual Studio Orcas

Site Classified