diff options
author | daid <daid303@gmail.com> | 2012-08-01 14:01:15 +0400 |
---|---|---|
committer | daid <daid303@gmail.com> | 2012-08-01 14:01:15 +0400 |
commit | db0b12881b2913709f11ed33c8361c1d71d27dde (patch) | |
tree | df708eb2975209dccf57384d41a187cc5530b16f | |
parent | f377c210df7adbaacee1aceabb49818e255a56aa (diff) |
-rw-r--r-- | scripts/win32/installer.nsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/win32/installer.nsi b/scripts/win32/installer.nsi index 7a41ac74b8..cfcc26aeb7 100644 --- a/scripts/win32/installer.nsi +++ b/scripts/win32/installer.nsi @@ -108,7 +108,8 @@ SectionEnd Section "Open STL files with Cura" WriteRegStr HKCR .stl "" "Cura STL model file" - WriteRegStr HKCR "Cura STL model file\DefaultIcon" "" "$INSTDIR\stl.ico,0" + DeleteRegValue HKCR .stl "Content Type" + WriteRegStr HKCR "Cura STL model file\DefaultIcon" "" "$INSTDIR\Cura\stl.ico,0" WriteRegStr HKCR "Cura STL model file\shell" "" "open" WriteRegStr HKCR "Cura STL model file\shell\open\command" "" '"$INSTDIR\python\python.exe" "$INSTDIR\Cura\cura.py" "%1"' SectionEnd |