Steps to install Intel® SGX Software Components while VS 2022 is on the system.
The Intel® SGX installer GUI crashes.
The Intel® SGX software installer is not fully compatible with VS 2022 and may crash if VS 2022 is present while trying to install Intel® SGX components. Below are methods to install the Intel® SGX PSW and SDK if VS 2022 is present on the system.
Intel® SGX Platform Software Installation
Confirm that Intel® SGX is exposed and enabled in BIOS. If the BIOS shows that Intel® SGX is Software Controlled and you cannot change it to Enabled, boot into Windows and activate it with the Intel® SGX Activation App.
After enabling Intel® SGX, install the Intel® SGX driver and PSW using one of the methods below.
- Automatic Installation via Windows Update
Windows* Update automatically installs Intel® SGX components if Intel® SGX is enabled in BIOS.
Check Device Manager | System devices and Software Components list Intel® Software Guard Extensions. - Manual Installation
If you are not receiving Windows Updates, download the PSW 2.15.100.4 for Windows and Installation Guide and follow these steps:- Download the Intel® SGX PSW for Windows v2.15.100.4.zip
- Expand the zip file, open a command line, and navigate to: Intel SGX PSW for Windows v2.15.100.4\base\WindowsServer2019_Windows10\
- Execute: pnputil /add-driver sgx_base.inf /install
- Navigate to: Intel SGX PSW for Windows v2.15.100.4\PSW_INF_RS3_and_above
- Execute: pnputil /add-driver sgx_psw.inf /install
Intel® SGX SDK for Windows Installation
The Intel® SGX SDK for Windows does not integrate with Visual Studio* 2022. The Intel® SGX SDK integrates with VS 2017 and VS 2019.
Follow these steps to install the SDK if the GUI crashes:
- Make a copy of the SGX SDK installer package and change the extension of the Intel® SGX installer package from .exe to .zip.
- Extract the Intel® SGX installer .zip file
- Navigate to: Intel® SGX SDK/installs
- Double-click on the components you want to install:
- SGX_SDK_100.msi
- SEWizardVS20xx
- SEConfigureVS20xx