oneAPI Registration, Download, Licensing and Installation
Support for Getting Started questions for Intel oneAPI Toolkits, Intel Parallel Studio XE and Intel System Studio
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
743 Discussions

Fail to install oneAPI 2021 on Windows Server 2022

Zaikun
New Contributor I
109 Views

I tried installing oneAPI 2021 Fortran compilers on Windows Server 2022 using the following batch script.

 

:: URL for the offline installer of Intel OneAPI Fortran compiler. See
set URL=https://registrationcenter-download.intel.com/akdlm/irc_nas/18247/w_HPCKit_p_2021.4.0.3340_offline.exe

:: Component to install.
set COMPONENTS=intel.oneapi.win.ifort-compiler

:: Download the installer. curl is included by default in Windows since Windows 10, version 1803.
::cd %Temp%  :: CD does not work if %Temp% is on a different drive.
curl.exe --output webimage.exe --url %URL% --retry 5 --retry-delay 5
start /b /wait webimage.exe -s -x -f webimage_extracted --log extract.log

:: Install the compiler.
webimage_extracted\bootstrapper.exe -s --action install --components=%COMPONENTS% --eula=accept -p=NEED_VS2017_INTEGRATION=0 -p=NEED_VS2019_INTEGRATION=0 -p=NEED_VS2022_INTEGRATION=0 --log-dir=.
set installer_exit_code=%ERRORLEVEL%

:: Run the script that sets the environment variables.
call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"

:: Show the result of the installation.
echo The path to ifort is:
where ifort.exe
echo The path to ifx is:
where ifx.exe

:: Remove the installer.
del webimage.exe
rd /s/q "webimage_extracted"

:: Exit with the installer exit code.
exit /b %installer_exit_code%

 

 

 

It fails with the following message. 

Checking system requirements...
Done.
Wait while the installer is preparing...
Done.
Launching the installer...
Process crashed
D:\a\setup_mex\setup_mex>set installer_exit_code=-1073741819 

Here is a screenshot.

Screenshot_2023-01-12_15-46-52.png

In contrast, the same installation works well on Windows Server 2019. 

Is this a known issue, or did I overlook something?

Thank you very much. 

0 Kudos
1 Reply
Barbara_P_Intel
Moderator
90 Views

Moving this over to the Installation Forum. They are better equipped to help.

 

Reply