Hello galung cornelius
Welcome to the Microsoft Community.
Sorry to hear that you are faced with this failure when installing a game. Could you specify which game it is? The "ShellExecuteEx failed; code 1 incorrect function" error during installation could be related to permissions, compatibility issues, or system restrictions. Here're some suggestions to troubleshoot:
1. Disable Antivirus/Firewall Temporarily
- Security software might block the installer. Temporarily disable your antivirus (e.g., Windows Defender, Norton, McAfee) and try installing again. Disclaimer: Temporarily turn off antivirus protection. However, keep in mind that if you do so, your device may be vulnerable to threats. So please turn it on immediately once issue fixed.
2. Run the Installer as Administrator
- Right-click the game's installer file
- Select Run as administrator to grant elevated privileges.
3. Check Installer Compatibility
- Right-click the installer > Properties > Compatibility tab.
- Enable Run this program in compatibility mode and select an older OS version (e.g., Windows 7 or 8).
- Check Run this program as an administrator and click Apply.
4. Verify Installer Integrity
- If downloaded, the file might be corrupted:
- Steam/Epic Games: Use the platform’s "Verify Integrity" option.
- Manual Download: Redownload the installer from the official source.
5. Shorten the Installation Path
- Avoid long or special-character paths (e.g., C:\Games instead of nested folders).
6. Update Windows
- Outdated OS components can cause issues:
- Go to Settings > Windows Update.
- Install all pending updates and restart your PC.
7. Clear Temporary Files
- Press Windows + R, type %temp%, and delete all files in the Temp folder.
- Restart your PC and retry the installation.
Let me know if you need further clarification!
Best Regards,
William.Y | Microsoft Community Support Specialist