apple / apple/foundationdb

Windows MSI installer fails to run in a headless environment

Open
#277 5 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

I'm trying to setting up an [automated windows testing environment](https://ci.appveyor.com/project/josephg/node-foundationdb) for the FDB nodejs bindings and I'm running into an issue installing foundationdb via `msiexec`:

```
> msiexec /a foundationdb-5.1.5-x64.msi /passive /qn /norestart /log install.log
```

But the MSI is stubbornly refusing to run. I'm getting this error:

```
DEBUG: Error 2203: Database: C:\foundationdb-5.1.5-x64.msi. Cannot open database file. System error -2147287035
MSI (s) (80:44) [21:08:54:011]: Product: FoundationDB -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2203. The arguments are: C:\foundationdb-5.1.5-x64.msi, -2147287035,

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2203. The arguments are: C:\foundationdb-5.1.5-x64.msi, -2147287035,
```

(Neither my cmd window nor the MSI file is in the c:\ root directory. The problem persists even when I use an absolute path to the MSI).

If I run the installer from an admin cmd window I get a completely empty install.log instead.

Install.log file attached.
[install.log](https://github.com/apple/foundationdb/files/1958697/install.log)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `msiexec` command against `foundationdb-5.1.5-x64.msi` in the reported headless environment and inspect the attached `install.log`. Determine why the MSI cannot run or produce useful logging there; done means the installer completes successfully in the automated environment with a nonempty, usable log.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.