/[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 463 by johnpye, Sun Apr 16 10:18:16 2006 UTC
# Line 42  Section "ASCEND (required)" Line 42  Section "ASCEND (required)"
42    SetOutPath $INSTDIR    SetOutPath $INSTDIR
43        
44    ; Put file there    ; Put file there
45    File "_ascend.dll"    File "_ascpy.dll"
46    File "ascend.bat"    File "..\..\ascend.dll"
47    File "config.py"    File "config.py"
48    File "*.py"    File "*.py"
49    SetOutPath $INSTDIR\glade    SetOutPath $INSTDIR\glade
50    File "glade\*"    File "glade\*.glade"
51      File "glade\*.png"
52    SetOutPath $INSTDIR\models    SetOutPath $INSTDIR\models
53    File "..\..\models\*.a4c"    File "..\..\models\*.a4c"
54    File "..\..\models\*.a4l"    File "..\..\models\*.a4l"
# Line 58  Section "ASCEND (required)" Line 59  Section "ASCEND (required)"
59    File "ascend.syn"    File "ascend.syn"
60    
61    WriteINIstr $APPDATA\.ascend.ini Directories librarypath "$DOCUMENTS\ascdata;$INSTDIR\models"    WriteINIstr $APPDATA\.ascend.ini Directories librarypath "$DOCUMENTS\ascdata;$INSTDIR\models"
62    
63      ClearErrors
64      FileOpen $0 $INSTDIR\ascend.bat w
65      IfErrors done
66      FileWrite $0 "@echo off"
67      FileWriteByte $0 "13"
68      FileWriteByte $0 "10"
69      FileWrite $0 "cd "
70      FileWrite $0 $INSTDIR
71      FileWriteByte $0 "13"
72      FileWriteByte $0 "10"
73      FileWrite $0 "c:\Python24\python gtkbrowser.py"
74      FileWriteByte $0 "13"
75      FileWriteByte $0 "10"
76    
77      FileClose $0
78      done:
79    
80        
81    ; Write the installation path into the registry    ; Write the installation path into the registry
82    WriteRegStr HKLM SOFTWARE\ASCEND "Install_Dir" "$INSTDIR"    WriteRegStr HKLM SOFTWARE\ASCEND "Install_Dir" "$INSTDIR"

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

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