I installed it over a previous installation and it also failed to install. I think i got similar errors, all pointing to the SQL Express database.
Having spent another day unsuccessfully tweaking IIS, WPA and installing/uninstalling MS SQL Server editions, I finally managed to install it
without a fresh Win 10 install. Just follow the steps outlined
here and the 2021 R1 release is good to go:
0. First, from the Control Panel → "Programs and Features", uninstall everything that says
Milestone,
XProtect, and
Microsoft SQL. Make sure that you uninstall every component that says SQL. (This will also remove any SQL databases, used by XProtect and/or other applications!)
Note: Alternatively, a freeware application like
Revo Uninstaller can help you with this part.
1. Next, delete these folders and files:
C:\ProgramData\Milestone\
C:\Program Files\Milestone\
C:\Program Files(x86)\Milestone\
C:\Program Files (x86)\Common Files\VideoOS\
C:\ProgramData\VideoDeviceDrivers\
C:\Program Files\Microsoft SQL Server\
2. Delete the following registry keys:
(
Important: Perform a full export of the Windows Registry before making any changes to it!)
HKLM\Software\VideoOS
HKLM\Software\SurveillanceSystem
HKLM\Software\Milestone
HKLM\Software\Wow6432node\VideoOS
HKLM\Software\Wow6432node\Milestone
3. Finally, you need to remove IIS and WPA. From the Control panel, select "Add or remove programs and features". (On a Windows server, this has to be made from the Server Manager.)
Remove these two Windows services:
1. World Wide Web Publishing service (IIS - Internet Information Services).
2. Windows Process Activation service (WPA).