diff --git a/NSIS Installer for KeyInsert.nsi b/NSIS Installer for KeyInsert.nsi index daafa3f..d370605 100644 --- a/NSIS Installer for KeyInsert.nsi +++ b/NSIS Installer for KeyInsert.nsi @@ -50,6 +50,15 @@ Section "Quick Launch Shortcut" CreateShortCut "$QUICKLAUNCH\KeyInsert.lnk" "$INSTDIR\KeyInsert.exe" "" "$INSTDIR\KeyInsert.exe" "" "" "" "KeyInsert" SectionEnd +Section "Associate with *.KeyInsert files" + WriteRegStr HKCR "Applications\KeyInsert.exe\shell\open\command" "" "$\"$INSTDIR\KeyInsert.exe$\" $\"%1$\"" + WriteRegStr HKCR ".KeyInsert\OpenWithList\KeyInsert.exe" "" "" + WriteRegStr HKCR ".KeyInsert" "" "KeyInsert_auto_file" + WriteRegStr HKCR "KeyInsert_auto_file\shell\open\command" "" "$\"$INSTDIR\KeyInsert.exe$\" $\"%1$\"" + WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.KeyInsert\OpenWithList" "j" "KeyInsert.exe" + WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.KeyInsert\UserChoice" "Progid" "Applications\KeyInsert.exe" +SectionEnd + ; Functions Function .onInit diff --git a/Properties/AssemblyInfo.vb b/Properties/AssemblyInfo.vb index 5a834c3..8914cb1 100644 --- a/Properties/AssemblyInfo.vb +++ b/Properties/AssemblyInfo.vb @@ -28,5 +28,5 @@ Imports System.Runtime.InteropServices ' You can specify all values by your own or you can build default build and revision ' numbers with the '*' character (the default): - - + +