[GRASS-SVN] r54628 - grass/trunk/mswindows

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 14 07:03:57 PST 2013


Author: martinl
Date: 2013-01-14 07:03:57 -0800 (Mon, 14 Jan 2013)
New Revision: 54628

Modified:
   grass/trunk/mswindows/GRASS-Installer.nsi.tmpl
Log:
wingrass/nsis: associate .py file with pythonw.exe (fix no response)

Modified: grass/trunk/mswindows/GRASS-Installer.nsi.tmpl
===================================================================
--- grass/trunk/mswindows/GRASS-Installer.nsi.tmpl	2013-01-14 12:20:24 UTC (rev 54627)
+++ grass/trunk/mswindows/GRASS-Installer.nsi.tmpl	2013-01-14 15:03:57 UTC (rev 54628)
@@ -624,8 +624,8 @@
 	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GRASS_BASE}" "Publisher" "${PUBLISHER}"
         
         ;File Association
-        ${registerExtension} "$INSTALL_DIR\extrabin\python.exe"  ".py"  "Python File"
-        ${registerExtension} "$INSTALL_DIR\extrabin\python.exe"  ".pyc" "Compiled Python File"
+        ${registerExtension} "$INSTALL_DIR\extrabin\pythonw.exe" ".py"  "Python File"
+        ${registerExtension} "$INSTALL_DIR\extrabin\pythonw.exe" ".pyc" "Compiled Python File"
         ${registerExtension} "$INSTALL_DIR\extrabin\pythonw.exe" ".pyw" "Python File (no console)"
 
 	;Create the Desktop Shortcut
@@ -1011,7 +1011,7 @@
         ;File Association
         ${unregisterExtension} ".py"  "Python File"
         ${unregisterExtension} ".pyc" "Compiled Python File"
-        ${unregisterExtension} ".py"  "Python File (no console)"
+        ${unregisterExtension} ".pyw" "Python File (no console)"
 SectionEnd
 
 ;----------------------------------------------------------------------------------------------------------------------------



More information about the grass-commit mailing list