Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

3.2 installer mistakenly thinks VS2017 setup failed, no way to override this
jnm236
#1 Posted : Saturday, February 18, 2017 4:56:40 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/25/2015(UTC)
Posts: 57
Location: United States of America

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
I updated VS2017. It said I needed a restart and I restarted. Once restarted, it was already finished installing and ready to go.
At no point did any error message show up, nor was there any sign of failure.

So, after the restart, I ran the NCrunch 3.2 installer. It maintained that the VS install ended prematurely due to a failure and it is impossible to install.

To cope with this I tried modifying the VS2017 installation. I added a workload which I wanted. The installer completed successfully, no restart needed.
Tried NCrunch again. NCrunch still maintained that the last setup failed.

I'm currently trying a fullblown VS2017 repair.
I'll let you know if this works, however, I should not have to be doing this instead of getting work done.
Remco
#2 Posted : Saturday, February 18, 2017 10:55:44 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi, thanks for sharing this issue.

Do you still have the error message that the NCrunch installer was giving you? The NCrunch installer is mostly just an xcopy MSI into the VS directory. The error you've described doesn't seem like any of the error checks that are manually coded into the MSI.

Since it is still in pre-release, the VS2017 installer is not especially reliable. I had problems with it myself. MSIs themselves are also not 100% reliable, which is why there is also a manual installation option for NCrunch (see http://www.ncrunch.net/documentation/manual-installation-instructions).
jnm236
#3 Posted : Sunday, February 19, 2017 12:01:16 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/25/2015(UTC)
Posts: 57
Location: United States of America

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
Yes, I'm still having the problem. I didn't think of manual installation. I will do that, thanks!
jnm236
#4 Posted : Sunday, February 19, 2017 2:22:02 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/25/2015(UTC)
Posts: 57
Location: United States of America

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
This is a brand new installation of Windows. I needed to build for net20, so I went to "Turn Windows features on or off" and checked the .NET Framework 3.5 box.
Then I restarted. Then on a whim I tried the NCrunch installer again and it worked fine.

I hadn't run the VS installer before or after restarting the computer this time, so I have no idea why this unblocked the installer.
Remco
#5 Posted : Sunday, February 19, 2017 11:17:04 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
jnm236;9819 wrote:
This is a brand new installation of Windows. I needed to build for net20, so I went to "Turn Windows features on or off" and checked the .NET Framework 3.5 box.
Then I restarted. Then on a whim I tried the NCrunch installer again and it worked fine.

I hadn't run the VS installer before or after restarting the computer this time, so I have no idea why this unblocked the installer.


Ahh. Ok, this all makes sense now.

This is a known problem with the v3.2 installer. It was built with a component in the MSI that has a dependency on .NET 3.5, so if you try to run it on a machine without .NET 3.5 installed, it fails to run. This problem is fixed in v3.3 and will also be fixed in all future builds.
jnm236
#6 Posted : Sunday, February 19, 2017 1:29:51 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/25/2015(UTC)
Posts: 57
Location: United States of America

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
Beautiful!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.038 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download