how to fix this errorFailed to launch 'myapp:show?username=abcd@gmail.com&password=******&id=xxx' because the scheme does not have a registered handler.

Dineshkumar.S 446 Reputation points
2023-06-08T10:57:29.3833333+00:00

I have my Windows application which opens by clicking a link on the web page I have added the registry details in the nsis script file after that I created an exe file for testing the same When I click the link mentioned above in the heading it is showing the following error as below

Failed to launch 'myapp:show?username=abcd@gmail.com&password=******&id=xxx' because the scheme does not have a registered handler.

how to fix this error any suggestions I will add the regsitry script also below for the referenece

;Register the custom URL scheme during the installation

	WriteRegStr HKCR "myapp" "" "URL:myapp"
	WriteRegStr HKCR "myapp" "URL:Alert Prorocol" ""
	WriteRegStr HKCR "myapp\DefaultIcon" "" "$INSTDIR\Blimey.exe,1" 
	WriteRegStr HKCR "myapp\shell\open\command" "" '"$INSTDIR\Blimey.exe" "%1"'
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,203 questions
{count} votes