I tried to install the new CouchDB 3.0.0-RC1 using the installer for Windows.
I went through the setup process using the default values.
The installation process shows some progress with copying files however it rolls back at the end
and shows the dialog with the message "Apache CouchDB setup Wizard ended prematurely".
I am logged in with Administrator privileges.
Just run the installer on Windows 10 Pro with default values.
CouchDB is installed correctly and registered as a service.

Added Screenshot for failed installation.
Windows Event Logs shows:
Product: Apache CouchDB -- Installation failed.
Windows Event message:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MsiInstaller" />
<EventID Qualifiers="0">11708</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-02-15T17:32:57.021024000Z" />
<EventRecordID>5057</EventRecordID>
<Channel>Application</Channel>
<Computer>XXXXXX</Computer>
<Security UserID="S-1-5-21-143990235-1749869768-1250630748-1001" />
</System>
<EventData>
<Data>Product: Apache CouchDB -- Installation failed.</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>
</Data>
<Binary>7B34434437373645302D464144462D343833312D414635362D4538304533394633344346437D</Binary>
</EventData>
</Event>
Windows Event Logs shows another message with error code: 1603
Das Produkt wurde durch Windows Installer installiert. Produktname: Apache CouchDB. Produktversion: 3.0.0. Produktsprache: 1033. Hersteller: The Apache Software Foundation. Erfolg- bzw. Fehlerstatus der Installation: 1603.
Event Message (XML):
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MsiInstaller" />
<EventID Qualifiers="0">1033</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-02-15T17:32:57.021024000Z" />
<EventRecordID>5058</EventRecordID>
<Channel>Application</Channel>
<Computer>XXXXXX</Computer>
<Security UserID="S-1-5-21-143990235-1749869768-1250630748-1001" />
</System>
<EventData>
<Data>Apache CouchDB</Data>
<Data>3.0.0</Data>
<Data>1033</Data>
<Data>1603</Data>
<Data>The Apache Software Foundation</Data>
<Data>(NULL)</Data>
<Data>
</Data>
<Binary>7B34434437373645302D464144462D343833312D414635362D4538304533394633344346437D3030303032303962336337333131663365656538666466303436376138663764366263363030303030393034</Binary>
</EventData>
</Event>
@ahaus Thanks for this report. I've tested on Win10 Pro (English) locally and can't reproduce.
Can you please do the following. From an administrative command prompt, change to the directory in which the .msi is stored, then run:
msiexec /l* log.txt /i apache-couchdb-3.0.0.msi
do the exact same thing you did to cause the failure above, and attach the log.txt file to this bug? Thanks.
log.txt
Attached log.txt
I won't be able to look at this until Tuesday earliest. Here's the problem:
Action 20:19:57: WriteAdminIniFile.
SFXCA: Extracting custom action to temporary directory: C:\WINDOWS\Installer\MSI14D0.tmp-\
SFXCA: Failed to get requested CLR info. Error code 0x80131700
SFXCA: Ensure that the proper version of the .NET Framework is installed, or that there is a matching supportedRuntime element in CustomAction.config. If you are binding to .NET 4 or greater add useLegacyV2RuntimeActivationPolicy=true to the <startup> element.
CustomAction WriteAdminIniFile returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 20:19:58: InstallFinalize. Return value 3.
What happens if you install the .NET Framework 3.5 SP1 offline installer first?
https://docs.microsoft.com/en-us/dotnet/framework/install/dotnet-35-windows-10 Use the Control Panel way to install this.
I can run CouchDB 3.0.0-RC1 installer on one of Windows 10 box, and it is working.
From Windows registry, .Net Framework 3.5.30729.4926 was installed on this box.
@jiangphcn Thanks for the hint. Installing the .NET Framework 3.5 SP1 resolved the issue.
Great and closing
I also ended in the same trap on Windows Server 2019 + CouchDB 3.0.0. Maybe you could mention it in the upgrade guide?:
@oldrich-svec It's on the download page:
https://neighbourhood.ie/download-apache-couchdb-win/
And it's on the "Installation on Windows page":
https://docs.couchdb.org/en/stable/install/windows.html
Do you think we need it on the upgrading page, too?
I've added a notice to the Release Notes page in https://github.com/apache/couchdb-documentation/pull/500
That will shortly show up on docs.couchdb.org (the RTD queue is busy).
I am also getting this error, It will not allow me to install and tells me the setup wizard ended prematurely. Was there any solution to this?
@Sid-Turner-Ellis Install the .NET Framework 3.5 first. Does that work?
@wohali Which should i download? There is 3.1 and 5.0 and then run times vs the sdk
@wohali That worked a treat. Thanks a lot
Most helpful comment
I've added a notice to the Release Notes page in https://github.com/apache/couchdb-documentation/pull/500
That will shortly show up on docs.couchdb.org (the RTD queue is busy).