A simple code.
Can I have a simple code to clear it if uninstall from registriy?
Thank you...
REGEDIT4
[HKEY_CLASSES_ROOT\*\shell\MitNpOeffnen]
@="Mit &Notepad öffnen"
[HKEY_CLASSES_ROOT\*\shell\MitNpOeffnen\command]
@="notepad.exe \"%1\""
9 posts
Thank you...
REGEDIT4
[HKEY_CLASSES_ROOT\*\shell\MitNpOeffnen]
@="Mit &Notepad öffnen"
[HKEY_CLASSES_ROOT\*\shell\MitNpOeffnen\command]
@="notepad.exe \"%1\""
WriteRegStr "file.ini" "Section" "Value Name" "Value" Very easy (for me)...Originally posted by deguixOne problem with your excample is that the registry does NOT have 'file.ini' it should be HKEY-... entry depending on the registry branch you want to use.
If you don't want to look in the documentation...:
Very easy (for me)...WriteRegStr "file.ini" "Section" "Value Name" "Value"
[HKEY_CLASSES_ROOT\*\shell\MitNpOeffnen]
@="Mit &Notepad öffnen"
[HKEY_CLASSES_ROOT\*\shell\MitNpOeffnen\command]
@="notepad.exe \"%1\""
WriteRegStr_"HKEY_CLASSES_ROOT"_"\*\shell\MitNpOeffnen"_"Mit &Notepad öffnen"_""
WriteRegStr_"HKEY_CLASSES_ROOT"_"\*\shell\MitNpOeffnen\command"_"Mit &Notepad öffnen"_"$INSTDIR\Programm.exe"
;clear
DeleteRegValue "HKEY_CLASSES_ROOT"_"\*\shell\MitNpOeffnen"_"Mit &Notepad öffnen"_""
WriteRegStr HKCR "*\shell\MitNpOeffnen" "" "Mit &Notepate öffnen"
WriteRegStr HKCR "*\shell\MitNpOeffnen\command" "" '"$INSTDIR\Programm.exe"'
#...
DeleteRegKey HKCR "*\shell\MitNpOeffnen"