I'm deploying my application using ClickOnce.
I want to register a file association but I can't manage to make it work: What should I use as ProgID in the File Associations section of the Publish Options?
ProgID. The programmatic identifier associated with an application (COM). This value automatically populates when you select a file extension from the list.
The best way to do it is to set up a reference computer, install applications, configure default programs and use Dism to export/import the custom default app associations or use a group policy. Go to Control Panel\All Control Panel Items\Default Programs and configure default apps associations.
Continue the search by pressing the "F3" key until a "ProgID" folder appears open in the left pane of the Registry Editor window. The ProgID appears in the Data column in the right pane of the Registry Editor window.
Some examples from the registry subkeysHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\ ~ \OpenWithProgids
:
Paint.Picture
VisualStudio.Launcher.csproj.15.0
Excel.CSV
Word.Document.12
WMP11.AssocFile.MP4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With