CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 17:50:58 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"d1ed105881a77c5f7e9536e9941422a7"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=Sk5sYdmOwavgPhqjyIVcjrg0ma1DKsVk7f73sKulFSm4OMIL2ia9x1mWPbrAwX9%2BxqkvYPQvgy0NOPPEpb%2F5%2B5YdsZt3TXtxz%2BD0nnNqZHv%2B5jdCAkzhQdbG39e%2B1N4uL1anvzl9WIOPfWCLkCaTo0npC4e8k%2F8S73kOBCZtTtK7X%2BvJx1rN9YiT2Ph2h4dKuu85bVZDrM6%2FXOYfQyvF%2BzFhF38A2x%2F%2FPz0vhMloy33lv4SXWAIGrPvpHsVzMOiEBdPG%2FdOHzlmUjYUfoJEGsQ%3D%3D--BV61Z1TqqMQF5OBu--4KZ1RaMmQKXSSEoi%2FwJzxg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.57314060.1753897858; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 17:50:58 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 17:50:58 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D732:18B1C9:62D5:799F:688A5B82
Create Custom Package · ikas-mc/ContextMenuForWindows11 Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 108
Create Custom Package
ikas edited this page Sep 29, 2024
·
7 revisions
Modify the package, then repackage and sign it
- Tools, use Microsoft's official MSIX Packaging Tool
- Certificate for signing, create a self-signed certificate
- Package to be modified, use ContextMenuCustom-CMC_ANY-X
Download and install MSIX Packaging Tool https://learn.microsoft.com/en-us/windows/msix/packaging-tool/package-editor
ContextMenuCustom-CMC_ANY-XXX
Min Version : 5.0.0.0
Download form github release or github actions
detail: https://learn.microsoft.com/en-us/windows/msix/package/create-certificate-package-signing
create certificate
#-Subject "CN=CMC-DEV"
#-FriendlyName "cmc-dev"
New-SelfSignedCertificate -Type Custom -Subject "CN=CMC-DEV" -KeyUsage DigitalSignature -FriendlyName "cmc-dev" -CertStoreLocation "Cert:\CurrentUser\My" -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}")
output
Thumbprint Subject
---------- -------
79F6CCA60D36A57C8672197D0DA0B6071A40AEB0 CN=CMC-DEV
export certificate as pfx
# -String xxxxxxxxxx password
# -cert Cert:\CurrentUser\My\{Thumbprint} Thumbprint
# -FilePath f:/test.pfx path
$password = ConvertTo-SecureString -String xxxxxxxxxx -Force -AsPlainText
Export-PfxCertificate -cert "Cert:\CurrentUser\My\79F6CCA60D36A57C8672197D0DA0B6071A40AEB0" -FilePath f:/test.pfx -Password $password
- Open
MSIX Packaging Tool
,ClickPackage editor
- Select ContextMenuCustom-CMC_ANY-XXX ,Then Click
Open
-
Signing preference
,Selectsign with a cert(.pfx)
, select pfx file -
Manifest file
ClickOpen file
, Will open Manifest file, we need modify it (See below for details) - Change
Version
, plus 1
<?xml version="1.0" encoding="utf-8"?>
<Package >
<!-- 1. Name : uuid, must be unique -->
<Identity Name="852637cb-5c5e-4695-93cd-d2b0ca79f6de" Publisher="CN=CMC-DEV" Version="5.0.5.0" />
<Properties>
<!-- 2. DisplayName PublisherDisplayName-->
<DisplayName>Custom Context Menu (Any)</DisplayName>
<PublisherDisplayName>touchwp</PublisherDisplayName>
<Logo>Images\StoreLogo.png</Logo>
</Properties>
<Applications>
<Application Id="App">
<!-- 3. DisplayName PublisherDisplayName -->
<uap:VisualElements
DisplayName="Custom Context Menu (Any)"
Description="Custom Context Menu (Any) For Win11"
/>
</uap:VisualElements>
<Extensions>
<desktop4:Extension Category="windows.fileExplorerContextMenus">
<desktop4:FileExplorerContextMenus>
<!-- 4. Clsid 9DD7188B-41FA-4C01-BFB2-F82DC1521DAD must be unique -->
<desktop5:ItemType Type="Directory" >
<desktop5:Verb Id="CustomMenu" Clsid="9DD7188B-41FA-4C01-BFB2-F82DC1521DAD" />
</desktop5:ItemType>
<desktop5:ItemType Type=".png" >
<desktop5:Verb Id="CustomMenu" Clsid="9DD7188B-41FA-4C01-BFB2-F82DC1521DAD" />
</desktop5:ItemType>
<desktop5:ItemType Type=".jpeg" >
<desktop5:Verb Id="CustomMenu" Clsid="9DD7188B-41FA-4C01-BFB2-F82DC1521DAD" />
</desktop5:ItemType>
<desktop5:ItemType Type="Directory\Background">
<desktop5:Verb Id="CustomMenu" Clsid="9DD7188B-41FA-4C01-BFB2-F82DC1521DAD" />
</desktop5:ItemType>
</desktop4:FileExplorerContextMenus>
</desktop4:Extension>
<com:Extension Category="windows.comServer">
<com:ComServer>
<com:SurrogateServer DisplayName="Custome Context Menu (Any)">
<!-- 5. Id 9DD7188B-41FA-4C01-BFB2-F82DC1521DAD must same as 4 -->
<com:Class Id="9DD7188B-41FA-4C01-BFB2-F82DC1521DAD" Path="ContextMenuCustomHost.dll" ThreadingModel="STA"/>
</com:SurrogateServer>
</com:ComServer>
</com:Extension>
</Extensions>
</Application>
</Applications>
</Package>
Name="852637cb-5c5e-4695-93cd-d2b0ca79f6de" Replace with a new guid
Clsid 9DD7188B-41FA-4C01-BFB2-F82DC1521DA, Replace with a new guid
support *, .xxx, Directory, Directory\Background
<desktop5:ItemType Type="Directory" >
<desktop5:Verb Id="CustomMenu" Clsid="9DD7188B-41FA-4C01-BFB2-F82DC1521DAD" />
</desktop5:ItemType>
<desktop5:ItemType Type=".png" >
<desktop5:Verb Id="CustomMenu" Clsid="9DD7188B-41FA-4C01-BFB2-F82DC1521DAD" />
</desktop5:ItemType>
<desktop5:ItemType Type=".jpeg" >
<desktop5:Verb Id="CustomMenu" Clsid="9DD7188B-41FA-4C01-BFB2-F82DC1521DAD" />
</desktop5:ItemType>
Clone this wiki locally
You can’t perform that action at this time.