cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

cantoris
Adept I

An Error 1603 Fix

Since driver 2.2.3.1 (WHQL), my driver updates have failed with error 1603.  Factory reset install does the same.
The install log file shows it fails at the step "Starting the install of AMD Link MSIX......" with return code 1:
"Add-AppxProvisionedPackage : The parameter is incorrect."

If I open an elevated PowerShell prompt and CD to the folder:
C:\AMD\AMD-Software-Adrenalin-Edition-22.3.2-Win10-Win11-March24\Packages\Appx\amdlink\frommsstore\
and run the actual PowerShell command seen in the log file then the command succeeds.

If I open a CMD prompt to the same folder and run the full command seen in the log which uses cmd.exe to call powershell.exe first, then it fails with the same error as seen in the log.

The cause?
My "Documents\WindowsPowerShell" folder has a profile.ps1 (i.e. which applies to all PowerShell instances) that has a Set-Location command in it.  The AMD installer is passing paths to the MSIX and APPX files used by Add-AppxProvisionedPackage that are merely relative to the current folder (".\") and makes no allowance for profile scripts that could alter this.

What AMD need to do is alter the command line that uses PowerShell.exe to include the "-noprofile" switch so this situation will not occur.

Hope this helps someone else.  I'll email this the support people and hope they pass it on.

0 Likes
1 Reply
cantoris
Adept I

Re: An Error 1603 Fix

I didn't explicitly say, but removing the Set-Location command from my profile.ps1 allowed the driver to install correctly!