Answered by:
.NET framework 4.0 installation error. (0x80070642)

Question
-
Ok. I searched for a while, but I still can't get .NET to install.
I am trying to install version 4.0.
I downloaded it from HERE
My computer has Windows 7 Starter. Yeah yeah it was included.
The installer just starts, and when it's right about to finish, bam.
"An error was encountered
Unspecified error"
I checked out the log file, as was suggested in one of the previous questions.
The error code at the end says:
Installation failed with error code: (0x80070642), "User cancelled installation. "
Any help would be appreciated.
Sunday, August 28, 2011 3:59 AM
Answers
-
Apparently it was a matter of administrative privileges. I already fixed it, sorry for the trouble. It seems that even if the installer asks for the administrator's password, it still wont install correctly. So I changed the account types (there's two). And it ran smoothly. Again, sorry for the trouble.
- Marked as answer by Intrebute Monday, August 29, 2011 9:28 PM
Monday, August 29, 2011 9:28 PM
All replies
-
Please paste the full log.
Please mark those posts as answer which answers your question. FarazSunday, August 28, 2011 5:24 AM -
As Faraz said, we need to see all the logs to help you.
Please do this:
Collect the logs with this:
After you run Collect.exe, you'll find vslogs.cab in your %temp% directory. Please upload vslogs.cab to a public site, like SkyDrive, and post the link here.
Sunday, August 28, 2011 1:07 PM -
Oh my god, uploading the log completely slipped my mind. Sorry about that.
Sunday, August 28, 2011 8:27 PM -
Your vslogs.cab contains no install logs for .NET Framework 4.0, or any other framework for that matter. Is it possible that you cleared your %temp% directory after the install attempt, but before you ran Collect.exe?
Please retry the full installer, then rerun Collect.exe, etc.
Monday, August 29, 2011 1:20 PM -
Apparently it was a matter of administrative privileges. I already fixed it, sorry for the trouble. It seems that even if the installer asks for the administrator's password, it still wont install correctly. So I changed the account types (there's two). And it ran smoothly. Again, sorry for the trouble.
- Marked as answer by Intrebute Monday, August 29, 2011 9:28 PM
Monday, August 29, 2011 9:28 PM -
Glad you got it to work :-)
Thanks for sharing your solution.
Monday, August 29, 2011 9:52 PM