102 |
File "Makefile.bt" |
File "Makefile.bt" |
103 |
File "ascend.syn" |
File "ascend.syn" |
104 |
|
|
105 |
; Set 'librarypath' in .ascend.ini |
${If} ${FileExists} "$APPDATA\.ascend.ini" |
106 |
WriteINIstr $APPDATA\.ascend.ini Directories librarypath "$DOCUMENTS\ascdata;$INSTDIR\models" |
MessageBox MB_OK "The '$APPDATA\.ascend.ini' is NOT being updated. Manually delete this file if ASCEND doesn't behave as expected." |
107 |
|
${Else} |
108 |
|
; Set 'librarypath' in .ascend.ini |
109 |
|
WriteINIstr $APPDATA\.ascend.ini Directories librarypath "$DOCUMENTS\ascdata;$INSTDIR\models" |
110 |
|
${EndIf} |
111 |
|
|
112 |
; Write the installation path into the registry |
; Write the installation path into the registry |
113 |
WriteRegStr HKLM SOFTWARE\ASCEND "Install_Dir" "$INSTDIR" |
WriteRegStr HKLM SOFTWARE\ASCEND "Install_Dir" "$INSTDIR" |