2010-12-19 8 views
0

Que puis-je ajouter au registre des gains pour que le menu contextuel de l'explorateur, lorsque vous faites un clic droit sur un fichier, contienne une entrée qui appelle "\ path \ to \ exe" "path \ to \ this \ file \ vous \ cliquez-droit \ sur "? Si cela est possible dans Inno setup, pourriez-vous m'en donner quelques exemples? (Ainsi que se débarrasser de la clé de registre lors de la désinstallation)Registre de configuration Inno

Merci.

Répondre

0

Ce que je l'ai fait dans MSBuild Launch Pad (http://msbuildlaunchpad.codeplex.com/) est comme ça,

  1. Votre application doit gérer les arguments de l'Explorateur Windows correctement.
  2. La clé de Registre suivante sont utilisés par l'installateur,

    [Registre]

    Racine: HKCR; Sous-clé: SystemFileAssociations.sln \ shell \ MSBuild; ValueType: string; Drapeaux: uninsdeletekey deletekey; ValueName: Icône; ValueData: "" "{app} \ MSBuild_APPICON.ico" ""

    Racine: HKCR; Sous-clé: SystemFileAssociations.csproj \ shell \ MSBuild; ValueType: string; ValueData: "" "{app} \ MSBuild_APPICON.ico" ""; Drapeaux: uninsdeletekey deletekey; ValueName: Icon

    Racine: HKCR; Sous-clé: SystemFileAssociations.vbproj \ shell \ MSBuild; ValueType: string; ValueData: "" "{app} \ MSBuild_APPICON.ico" ""; Drapeaux: uninsdeletekey deletekey; ValueName: Icon

    Racine: HKCR; Sous-clé: SystemFileAssociations.vcxproj \ shell \ MSBuild; ValueType: string; ValueData: "" "{app} \ MSBuild_APPICON.ico" ""; Drapeaux: uninsdeletekey deletekey; ValueName: Icon

    Racine: HKCR; Sous-clé: SystemFileAssociations.oxygene \ shell \ MSBuild; ValueType: string; ValueData: "" "{app} \ MSBuild_APPICON.ico" ""; Drapeaux: uninsdeletekey deletekey; ValueName: Icon

    Racine: HKCR; Sous-clé: SystemFileAssociations.shfbproj \ shell \ MSBuild; ValueType: string; ValueData: "" "{app} \ MSBuild_APPICON.ico" ""; Drapeaux: uninsdeletekey deletekey; ValueName: Icon

    Racine: HKCR; Sous-clé: SystemFileAssociations.ccproj \ shell \ MSBuild; ValueType: string; ValueData: "" "{app} \ MSBuild_APPICON.ico" ""; Drapeaux: uninsdeletekey deletekey; ValueName: Icône Racine: HKCR; Sous-clé: SystemFileAssociations.proj \ shell \ MSBuild; ValueType: string; ValueData: "" "{app} \ MSBuild_APPICON.ico" ""; Drapeaux: uninsdeletekey deletekey; ValueName: Icon

    Racine: HKCR; Sous-clé: SystemFileAssociations.sln \ shell \ MSBuild \ command; ValueType: string; ValueData: "" "{app} \ MSBuildLaunchPad.exe" "" "% 1" ""; Drapeaux: uninsdeletekey deletekey

    Racine: HKCR; Sous-clé: SystemFileAssociations.csproj \ shell \ MSBuild \ command; ValueType: string; ValueData: "" "{app} \ MSBuildLaunchPad.exe" "" "% 1" ""; Drapeaux: uninsdeletekey deletekey

    Racine: HKCR; Sous-clé: SystemFileAssociations.vbproj \ shell \ MSBuild \ command; ValueType: string; ValueData: "" "{app} \ MSBuildLaunchPad.exe" "" "% 1" ""; Drapeaux: uninsdeletekey deletekey

    Racine: HKCR; Sous-clé: SystemFileAssociations.vcxproj \ shell \ MSBuild \ command; ValueType: string; ValueData: "" "{app} \ MSBuildLaunchPad.exe" "" "% 1" ""; Drapeaux: uninsdeletekey deletekey

    Racine: HKCR; Sous-clé: SystemFileAssociations.oxygene \ shell \ MSBuild \ commande; ValueType: string; ValueData: "" "{app} \ MSBuildLaunchPad.exe" "" "% 1" ""; Drapeaux: uninsdeletekey deletekey

    Racine: HKCR; Sous-clé: SystemFileAssociations.shfbproj \ shell \ MSBuild \ command; ValueType: string; ValueData: "" "{app} \ MSBuildLaunchPad.exe" "" "% 1" ""; Drapeaux: uninsdeletekey deletekey

    Racine: HKCR; Sous-clé: SystemFileAssociations.ccproj \ shell \ MSBuild \ command; ValueType: string; ValueData: "" "{app} \ MSBuildLaunchPad.exe" "" "% 1" ""; Drapeaux: uninsdeletekey deletekey

    Racine: HKCR; Sous-clé: SystemFileAssociations.proj \ shell \ MSBuild \ command; ValueType: string; ValueData: "" "{app} \ MSBuildLaunchPad.exe" "" "% 1" ""; Drapeaux: uninsdeletekey deletekey

Questions connexes