| 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 |
| 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" |