Here the failures I get when running the script:
Operation finished with result: Success Download erfolgreich! Download Directory
C:\MSSQLEXPRESS-M1-Install-main\src\Temp
Start-Process : Dieser Befehl kann aufgrund des folgenden Fehlers nicht ausgeführt werden: Das System kann die
angegebene Datei nicht finden.
In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:72 Zeichen:5
-
Start-Process -FilePath $fullInstallerPath -ArgumentList "/q" -Wa ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
- FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Start-Process : Dieser Befehl kann aufgrund des folgenden Fehlers nicht ausgeführt werden: Das System kann die
angegebene Datei nicht finden.
In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:79 Zeichen:1
- Start-Process -FilePath "$setupFolderPath/SETUP.EXE" -ArgumentList $s ...
-
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Start-Process : Dieser Befehl kann aufgrund des folgenden Fehlers nicht ausgeführt werden: Das System kann die
angegebene Datei nicht finden.
In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:82 Zeichen:1
- Start-Process -FilePath "$setupFolderPath/SETUP.EXE" -ArgumentList $s ...
-
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
New-Item : Ein Element mit dem angegebenen Namen "C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\Log"
ist bereits vorhanden.
In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:88 Zeichen:1
- New-Item -Path $logDir -ItemType Directory
-
+ CategoryInfo : ResourceExists: (C:\Program File...PRESS\MSSQL\Log:String) [New-Item], IOException
+ FullyQualifiedErrorId : DirectoryExist,Microsoft.PowerShell.Commands.NewItemCommand
New-Item : Ein Element mit dem angegebenen Namen "C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\DATA"
ist bereits vorhanden.
In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:91 Zeichen:1
- New-Item -Path $dataDir -ItemType Directory
-
+ CategoryInfo : ResourceExists: (C:\Program File...RESS\MSSQL\DATA:String) [New-Item], IOException
+ FullyQualifiedErrorId : DirectoryExist,Microsoft.PowerShell.Commands.NewItemCommand
Ausnahme beim Aufrufen von "SetAccessRule" mit 1 Argument(en): "Manche oder alle Identitätsverweise konnten nicht
übersetzt werden."
In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:98 Zeichen:1
- $acl.SetAccessRule($accessRule)
-
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : IdentityNotMappedException
Ausnahme beim Aufrufen von "SetAccessRule" mit 1 Argument(en): "Manche oder alle Identitätsverweise konnten nicht
übersetzt werden."
In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:103 Zeichen:1
- $acl.SetAccessRule($accessRule)
-
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : IdentityNotMappedException Copy-Item : Der Pfad "C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\Binn\Templates\master.mdf" kann nicht gefunden werden, da er nicht vorhanden ist. In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:120 Zeichen:1
- Copy-Item -Path "$installedPath\Binn\Templates\master.mdf" -Destinati ...
-
+ CategoryInfo : ObjectNotFound: (C:\Program File...ates\master.mdf:String) [Copy-Item], ItemNotFoundExce
ption
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
Copy-Item : Der Pfad "C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\Binn\Templates\mastlog.ldf" kann
nicht gefunden werden, da er nicht vorhanden ist.
In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:121 Zeichen:1
- Copy-Item -Path "$installedPath\Binn\Templates\mastlog.ldf" -Destinat ...
-
+ CategoryInfo : ObjectNotFound: (C:\Program File...tes\mastlog.ldf:String) [Copy-Item], ItemNotFoundExce
ption
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
New-ItemProperty : Der Pfad "HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQLServer\Parameters"
kann nicht gefunden werden, da er nicht vorhanden ist.
In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:126 Zeichen:1
- New-ItemProperty -Path $registryPath -Name $name -Value $value -Force
-
+ CategoryInfo : ObjectNotFound: (HKLM:\SOFTWARE\...rver\Parameters:String) [New-ItemProperty], ItemNotFo
undException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.NewItemPropertyCommand
New-ItemProperty : Der Pfad "HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQLServer\Parameters"
kann nicht gefunden werden, da er nicht vorhanden ist.
In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:129 Zeichen:1
- New-ItemProperty -Path $registryPath -Name $name -Value $value -Force
-
+ CategoryInfo : ObjectNotFound: (HKLM:\SOFTWARE\...rver\Parameters:String) [New-ItemProperty], ItemNotFo
undException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.NewItemPropertyCommand
New-ItemProperty : Der Pfad "HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQLServer\Parameters"
kann nicht gefunden werden, da er nicht vorhanden ist.
In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:132 Zeichen:1
- New-ItemProperty -Path $registryPath -Name $name -Value $value -Force
-
+ CategoryInfo : ObjectNotFound: (HKLM:\SOFTWARE\...rver\Parameters:String) [New-ItemProperty], ItemNotFo
undException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.NewItemPropertyCommand
Start-Process : Dieser Befehl kann aufgrund des folgenden Fehlers nicht ausgeführt werden: Das System kann die
angegebene Datei nicht finden.
In C:\MSSQLEXPRESS-M1-Install-main\src\install2019Express.ps1:136 Zeichen:1
- Start-Process -FilePath "$setupFolderPath/SETUP.EXE" -ArgumentList "/ ...
-
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Der Name für den Dienst ist ungültig.
Sie erhalten weitere Hilfe, wenn Sie NET HELPMSG 2185 eingeben.
SQL Installation completed, press any key to exit