Protocol (scheme) for windows
See original GitHub issue- Version: 5.4.2
- Target: Windows
I’m trying to build my application for OSX and for Windows. Right now my package.json looks like below:
"build": {
"appId": "",
"app-category-type": "",
"dmg": {},
"win": {
"iconUrl": ""
},
"protocols": [
{
"name": "App name",
"schemes": ["myapp"]
}
]
}
So everything working for OSX and I can open application using myapp://
scheme. How can I make the same for Windows?
Issue Analytics
- State:
- Created 7 years ago
- Comments:18 (4 by maintainers)
Top Results From Across the Web
Installing and Registering Protocol Handlers (Windows Search)
Installing a protocol handler involves copying the DLL(s) to an appropriate location in the Program Files directory, and then registering ...
Read more >Getting started with Protocol Handlers for your web app
Additionally, you can create custom schemes that your web app can handle by registering protocols that are prefixed with web+ . This is...
Read more >Abusing the MS Office protocol scheme - SySS Tech Blog
When installing Microsoft Office under a recent Windows system, some default handlers for protocols are added. This opens some possibilities an attacker can ......
Read more >List of URI schemes - Wikipedia
Scheme Purpose Status
aaa aaas Diameter Protocol Permanent
acap Application Configuration Access Protocol Permanent
acct Identifying user account Permanent
Read more >New Microsoft Office Attack Vector via "ms-msdt" Protocol ...
New Microsoft Office Attack Vector via "ms-msdt" Protocol Scheme (CVE-2022-30190), Author: Xavier Mertens.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I figured out my problem. I didn’t set the installer to
perMachine: true
, so it was installing for a single user, and apparently the registry keys don’t work in that case.@develar this is quite easy to implement via the NSIS script. I’m using the following macro to make it work:
And then I just call it for each protocol. It could be done here for the protocols defined in the Build configuration.