/[ascend]/trunk/pygtk/interface/create.nsi
ViewVC logotype

Diff of /trunk/pygtk/interface/create.nsi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 357 by johnpye, Mon Mar 6 06:30:21 2006 UTC revision 455 by johnpye, Wed Apr 5 07:50:22 2006 UTC
# Line 43  Section "ASCEND (required)" Line 43  Section "ASCEND (required)"
43        
44    ; Put file there    ; Put file there
45    File "_ascend.dll"    File "_ascend.dll"
46    File "ascend.bat"  
47    File "config.py"    File "config.py"
48    File "*.py"    File "*.py"
49    SetOutPath $INSTDIR\glade    SetOutPath $INSTDIR\glade
# Line 58  Section "ASCEND (required)" Line 58  Section "ASCEND (required)"
58    File "ascend.syn"    File "ascend.syn"
59    
60    WriteINIstr $APPDATA\.ascend.ini Directories librarypath "$DOCUMENTS\ascdata;$INSTDIR\models"    WriteINIstr $APPDATA\.ascend.ini Directories librarypath "$DOCUMENTS\ascdata;$INSTDIR\models"
61    
62      ClearErrors
63      FileOpen $0 $INSTDIR\ascend.bat w
64      IfErrors done
65      FileWrite $0 "@echo off"
66      FileWriteByte $0 "13"
67      FileWriteByte $0 "10"
68      FileWrite $0 "cd "
69      FileWrite $0 $INSTDIR
70      FileWriteByte $0 "13"
71      FileWriteByte $0 "10"
72      FileWrite $0 "c:\Python24\python gtkbrowser.py"
73      FileWriteByte $0 "13"
74      FileWriteByte $0 "10"
75    
76      FileClose $0
77      done:
78    
79        
80    ; Write the installation path into the registry    ; Write the installation path into the registry
81    WriteRegStr HKLM SOFTWARE\ASCEND "Install_Dir" "$INSTDIR"    WriteRegStr HKLM SOFTWARE\ASCEND "Install_Dir" "$INSTDIR"

Legend:
Removed from v.357  
changed lines
  Added in v.455

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22