I tried to install MVC 4 RC for VS 2010 SP1 on Win 7 (using the web platform installer, and the standalone ASP.NET MVC 4 RC installer executable), but I keep having the following error: "Access is denied" (installation
logs).
Sounds like you don't have Write permissions in the Windows Temp directory. See the people who manage your server to get that permission set or if you can, set it yourself.
Click Start > Run > type in Explorer %TEMP% and hit Enter
now, right click the open folder in the left window and click properties.
Click Security and find your username or Users.
Make sure the Write & Modify permissions are checked. If not, check them and hit OK.
Thanks. I just checked the permissions, and they look fine: the temp folder is C:\Users\Tim\AppData\Local\Temp, and my account (user "Tim", group Administrators) has full control.
edit: btw, here's the web platform installer log file.
Just tried to install it, and had a look in the event viewer. All the entries I could find relating to the installation process :
(I've saved the entries as a EVTX if necessary)
Beginning a Windows Installer transaction: C:\Windows\Installer\1cd2b5.msi. Client Process Id: 3424.
Product: Microsoft Visual Studio 2010 Premium - ENU -- Configuration completed successfully.
Windows Installer reconfigured the product. Product Name: Microsoft Visual Studio 2010 Premium - ENU. Product Version: 10.0.40219. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 0.
Ending a Windows Installer transaction: C:\Windows\Installer\1cd2b5.msi. Client Process Id: 3424.
Beginning a Windows Installer transaction: C:\Windows\Installer\1cd2b5.msi. Client Process Id: 1384.
Product: Microsoft Visual Studio 2010 Premium - ENU -- Configuration completed successfully.
Windows Installer reconfigured the product. Product Name: Microsoft Visual Studio 2010 Premium - ENU. Product Version: 10.0.40219. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 0.
Ending a Windows Installer transaction: C:\Windows\Installer\1cd2b5.msi. Client Process Id: 1384.
Beginning a Windows Installer transaction: C:\ProgramData\Package Cache\{8FEC8DF9-6B13-4CAD-8FF3-063F332D16EB}v1.8.20505.0\Nuget.msi. Client Process Id: 4104.
Product: NuGet -- Installation completed successfully.
Windows Installer installed the product. Product Name: NuGet. Product Version: 1.8.20505.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0.
Ending a Windows Installer transaction: C:\ProgramData\Package Cache\{8FEC8DF9-6B13-4CAD-8FF3-063F332D16EB}v1.8.20505.0\Nuget.msi. Client Process Id: 4104.
Beginning a Windows Installer transaction: C:\ProgramData\Package Cache\{21895F64-4DA5-4D5E-A5AC-BED10B81A09E}v2.0.20505.0\AspNetWebPages2.msi. Client Process Id: 4104.
Product: Microsoft ASP.NET Web Pages 2 Runtime -- Installation completed successfully.
Windows Installer installed the product. Product Name: Microsoft ASP.NET Web Pages 2 Runtime. Product Version: 2.0.20505.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0.
Ending a Windows Installer transaction: C:\ProgramData\Package Cache\{21895F64-4DA5-4D5E-A5AC-BED10B81A09E}v2.0.20505.0\AspNetWebPages2.msi. Client Process Id: 4104.
Beginning a Windows Installer transaction: {21895F64-4DA5-4D5E-A5AC-BED10B81A09E}. Client Process Id: 4104.
Product: Microsoft ASP.NET Web Pages 2 Runtime -- Removal completed successfully.
Windows Installer removed the product. Product Name: Microsoft ASP.NET Web Pages 2 Runtime. Product Version: 2.0.20505.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Removal success or error status: 0.
Ending a Windows Installer transaction: {21895F64-4DA5-4D5E-A5AC-BED10B81A09E}. Client Process Id: 4104.
ts509
0 Points
6 Posts
Installing MVC4 on Windows 7 / VS 2010
Jul 30, 2012 01:48 PM|LINK
Hi
I tried to install MVC 4 RC for VS 2010 SP1 on Win 7 (using the web platform installer, and the standalone ASP.NET MVC 4 RC installer executable), but I keep having the following error: "Access is denied" (installation logs).
Any ideas on how I could solve this problem?
Thanks.
bbcompent1
All-Star
33097 Points
8529 Posts
Moderator
Re: Installing MVC4 on Windows 7 / VS 2010
Jul 30, 2012 01:53 PM|LINK
Sounds like you don't have Write permissions in the Windows Temp directory. See the people who manage your server to get that permission set or if you can, set it yourself.
Click Start > Run > type in Explorer %TEMP% and hit Enter
now, right click the open folder in the left window and click properties.
Click Security and find your username or Users.
Make sure the Write & Modify permissions are checked. If not, check them and hit OK.
Then try it again.
jsiahaan
Contributor
2324 Points
597 Posts
Re: Installing MVC4 on Windows 7 / VS 2010
Jul 30, 2012 01:56 PM|LINK
Hi,
It seems your user "Tim" has no an administrator previllage. Doesn't it? Try make it has an administrator previllage and try to install again.
Hope this can help
Indonesian Humanitarian Foundation
ts509
0 Points
6 Posts
Re: Installing MVC4 on Windows 7 / VS 2010
Jul 30, 2012 02:12 PM|LINK
Thanks. I just checked the permissions, and they look fine: the temp folder is C:\Users\Tim\AppData\Local\Temp, and my account (user "Tim", group Administrators) has full control.
edit: btw, here's the web platform installer log file.
bbcompent1
All-Star
33097 Points
8529 Posts
Moderator
Re: Installing MVC4 on Windows 7 / VS 2010
Jul 30, 2012 02:33 PM|LINK
I would still try running it as Administrator by right-clicking the file and click Run as Administrator.
ts509
0 Points
6 Posts
Re: Installing MVC4 on Windows 7 / VS 2010
Jul 30, 2012 02:37 PM|LINK
Just tried and I have the same problem (when running the installation, the executable was asking for administrator permission anyway).
I tried to install it on my old laptop, and no problems at all! (more or less the same setup, just a lot slower).
bbcompent1
All-Star
33097 Points
8529 Posts
Moderator
Re: Installing MVC4 on Windows 7 / VS 2010
Jul 30, 2012 02:48 PM|LINK
Its a long shot but it could be some quirky domain policy that's causing it.
ts509
0 Points
6 Posts
Re: Installing MVC4 on Windows 7 / VS 2010
Jul 30, 2012 02:58 PM|LINK
Quirky domain policy?
I formatted my laptop few weeks ago (when I got it). It's a member of the workgroup LUCCA, not of a domain.
bbcompent1
All-Star
33097 Points
8529 Posts
Moderator
Re: Installing MVC4 on Windows 7 / VS 2010
Jul 30, 2012 03:04 PM|LINK
Ok, generally most PCs usually are domain members so that being said, does the event viewer show any details when you run this installation?
ts509
0 Points
6 Posts
Re: Installing MVC4 on Windows 7 / VS 2010
Jul 31, 2012 07:15 AM|LINK
Just tried to install it, and had a look in the event viewer. All the entries I could find relating to the installation process :
(I've saved the entries as a EVTX if necessary)
Beginning a Windows Installer transaction: C:\Windows\Installer\1cd2b5.msi. Client Process Id: 3424.
Product: Microsoft Visual Studio 2010 Premium - ENU -- Configuration completed successfully.
Windows Installer reconfigured the product. Product Name: Microsoft Visual Studio 2010 Premium - ENU. Product Version: 10.0.40219. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 0.
Ending a Windows Installer transaction: C:\Windows\Installer\1cd2b5.msi. Client Process Id: 3424.
Beginning a Windows Installer transaction: C:\Windows\Installer\1cd2b5.msi. Client Process Id: 1384.
Product: Microsoft Visual Studio 2010 Premium - ENU -- Configuration completed successfully.
Windows Installer reconfigured the product. Product Name: Microsoft Visual Studio 2010 Premium - ENU. Product Version: 10.0.40219. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 0.
Ending a Windows Installer transaction: C:\Windows\Installer\1cd2b5.msi. Client Process Id: 1384.
Beginning a Windows Installer transaction: C:\ProgramData\Package Cache\{8FEC8DF9-6B13-4CAD-8FF3-063F332D16EB}v1.8.20505.0\Nuget.msi. Client Process Id: 4104.
Product: NuGet -- Installation completed successfully.
Windows Installer installed the product. Product Name: NuGet. Product Version: 1.8.20505.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0.
Ending a Windows Installer transaction: C:\ProgramData\Package Cache\{8FEC8DF9-6B13-4CAD-8FF3-063F332D16EB}v1.8.20505.0\Nuget.msi. Client Process Id: 4104.
Beginning a Windows Installer transaction: C:\ProgramData\Package Cache\{21895F64-4DA5-4D5E-A5AC-BED10B81A09E}v2.0.20505.0\AspNetWebPages2.msi. Client Process Id: 4104.
Product: Microsoft ASP.NET Web Pages 2 Runtime -- Installation completed successfully.
Windows Installer installed the product. Product Name: Microsoft ASP.NET Web Pages 2 Runtime. Product Version: 2.0.20505.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0.
Ending a Windows Installer transaction: C:\ProgramData\Package Cache\{21895F64-4DA5-4D5E-A5AC-BED10B81A09E}v2.0.20505.0\AspNetWebPages2.msi. Client Process Id: 4104.
Beginning a Windows Installer transaction: {21895F64-4DA5-4D5E-A5AC-BED10B81A09E}. Client Process Id: 4104.
Product: Microsoft ASP.NET Web Pages 2 Runtime -- Removal completed successfully.
Windows Installer removed the product. Product Name: Microsoft ASP.NET Web Pages 2 Runtime. Product Version: 2.0.20505.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Removal success or error status: 0.
Ending a Windows Installer transaction: {21895F64-4DA5-4D5E-A5AC-BED10B81A09E}. Client Process Id: 4104.