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

Notification

Icon
Error

"Error 1316. The specified account already exists." when installing for VS2019 with Chocolatey
LucasT
#1 Posted : Monday, April 8, 2019 2:41:21 PM(UTC)
Rank: Member

Groups: Registered
Joined: 6/25/2015(UTC)
Posts: 11
Location: France

I have the following (custom) Chocolatey script:

Quote:
Install-ChocolateyPackage 'ncrunch2019' 'msi' '/quiet /norestart' '\\some\network\path\to\NCrunch_VS2019_3.25.0.3.msi'


It fails with error 1316, and the MSI log contains the following:

Quote:

MSI (s) (18:44) [15:29:53:779]: SECREPAIR: Error determining package source type
MSI (s) (18:44) [15:29:53:779]: SECUREREPAIR: SecureRepair Failed. Error code: 524DC4857F0
MSI (s) (18:44) [15:29:53:779]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (18:44) [15:29:53:779]: Product: NCrunch for Visual Studio 2019 -- Error 1316. The specified account already exists.


The same file installs just fine when it's executed manually. I'm not really sure what using Chocolatey changes though.

Some additional info:

  • I use the same script for the VS 2017 version, and it works fine
  • I already have NCrunch for VS 2017 installed


I can send the full log file if it helps.
Remco
#2 Posted : Monday, April 8, 2019 9:40:37 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,692

Thanks: 738 times
Was thanked: 944 time(s) in 899 post(s)
Thanks for sharing this issue.

Unfortunately this problem is outside the boundaries of what we are able to provide support for. We ourselves don't maintain support for chocolatey installers for NCrunch, so to troubleshoot a problem like this we would need to introduce and maintain an entirely new installation use beyond those we currently support. I'm sorry but we simply don't have the capacity to do that.
LucasT
#3 Posted : Tuesday, April 9, 2019 4:04:44 PM(UTC)
Rank: Member

Groups: Registered
Joined: 6/25/2015(UTC)
Posts: 11
Location: France

That's a custom chocolatey script though, so I don't expect you to maintain it. I just shared the issue in case it would ring a bell.
Remco
#4 Posted : Tuesday, April 9, 2019 11:32:26 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,692

Thanks: 738 times
Was thanked: 944 time(s) in 899 post(s)
LucasT;13352 wrote:
That's a custom chocolatey script though, so I don't expect you to maintain it. I just shared the issue in case it would ring a bell.


Sorry no ideas here :( Working with MSIs tends to be a bit of a minefield of problems like this.
michaelkroes
#5 Posted : Wednesday, April 10, 2019 12:01:13 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 134
Location: Netherlands

Thanks: 58 times
Was thanked: 26 time(s) in 24 post(s)
Did you have the initial NCrunch for visual studio 2019 version installed? If so would you mind checking to uninstall all the NCrunch for Visual Studio 2019 versions that might be present. The original installer had an upgrade issue. This is the only thing I can think of that could be affected by this.
LucasT
#6 Posted : Wednesday, April 10, 2019 3:52:20 PM(UTC)
Rank: Member

Groups: Registered
Joined: 6/25/2015(UTC)
Posts: 11
Location: France

Thanks for the suggestion, but that was the first time I was installing the VS 2019 version.
I'll try to figure it out if the next release still has this issue.
LucasT
#7 Posted : Friday, May 3, 2019 9:00:49 AM(UTC)
Rank: Member

Groups: Registered
Joined: 6/25/2015(UTC)
Posts: 11
Location: France

FWIW v3.27.0.3 fixed this issue, thanks!

I guess it's related to the following changelog item:

Quote:
Added support for quiet installations with the NCrunch for Visual Studio 2019 installer

michaelkroes
#8 Posted : Friday, May 3, 2019 9:02:24 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 134
Location: Netherlands

Thanks: 58 times
Was thanked: 26 time(s) in 24 post(s)
Glad it helped!
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.039 seconds.