install.bat does not work with spaces in path
alexsapps opened this issue · 0 comments
I extracted the ZIP installer's contents into a path containing spaces and install.bat failed.
To reproduce, extract and rename the folder to fhir-server 5.1.0
(contains a space, instead of fhir-server-5.1.0
) and run install.bat.
PS C:\Users...\Git\linuxforhealth-FHIR-server> . ".\fhir-server 5.1.0\fhir-server-dist\install.bat"
Executing "C:\Users...\Git\linuxforhealth-FHIR-server\fhir-server 5.1.0\fhir-server-dist\install.bat" to deploy the fhir-server web application...
Deploying fhir-server in location: C:\Users...\Git\linuxforhealth-FHIR-server\fhir-server 5.1.0\liberty-runtime
'5.1.0\liberty-runtime' is not recognized as an internal or external command,
operable program or batch file.
The Liberty installation directory does not exist; attempting to create it...
Extracting the Liberty runtime...
C:\Users...\AppData\Local\Temp\3_.vbs(5, 5) Microsoft VBScript runtime error: Path not foundCreating the Liberty defaultServer...
'C:\Users...\Git\linuxforhealth-FHIR-server\fhir-server' is not recognized as an internal or external command,
operable program or batch file.
Error creating server definition: 0