Skip to content

Instantly share code, notes, and snippets.

@urbushey
Created January 31, 2012 02:51
Show Gist options
  • Save urbushey/1708406 to your computer and use it in GitHub Desktop.
Save urbushey/1708406 to your computer and use it in GitHub Desktop.
INNO Setup .iss script to add several keys to the registry
[Registry]
Root: HKCR; Subkey: "giffile\shell\Copy image to clipboard\command"; Flags: uninsdeletekey; ValueType: string; ValueData: """{app}\copytoclipboard.exe"" ""%1"""
Root: HKCR; Subkey: "jpegfile\shell\Copy image to clipboard\command"; Flags: uninsdeletekey; ValueType: string; ValueData: """{app}\copytoclipboard.exe"" ""%1"""
Root: HKCR; Subkey: "Paint.Picture\shell\Copy image to clipboard\command"; Flags: uninsdeletekey; ValueType: string; ValueData: """{app}\copytoclipboard.exe"" ""%1"""
Root: HKCR; Subkey: "pngfile\shell\Copy image to clipboard\command"; Flags: uninsdeletekey; ValueType: string; ValueData: """{app}\copytoclipboard.exe"" ""%1"""
Root: HKCR; Subkey: "TIFImage.Document\shell\Copy image to clipboard\command"; Flags: uninsdeletekey; ValueType: string; ValueData: """{app}\copytoclipboard.exe"" ""%1"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment