|
|
|
#1
|
|||
|
|||
|
i run the script Main(Compact.Mode).iss
it gives me an error Line 40: column 1: Identified Expected. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
what is your inno setup version ANSI or UNICODE? |
|
#3
|
|||
|
|||
|
Quote:
it was line 140.. sorry again I am using Ansi version of Innoset up. |
|
#4
|
||||
|
||||
|
Quote:
find this line and change this to Code:
type #ifdef UNICODE PChar = PAnsiChar; #endif Code:
#ifdef UNICODE type PChar = PAnsiChar; #endif |
| The Following 3 Users Say Thank You to y_thelastknight For This Useful Post: | ||
|
#5
|
|||
|
|||
|
Quote:
Many thanks y_thelastknight! |
|
#6
|
|||
|
|||
|
Quote:
this solved my problem. I have a little question to ask again. I use classical method of compression i.e. freearc (-m0)>precomp>srep>freearc (-mx) >innosetup. lets assume my data file is data1.arc (after final -mx compression). What changes i have to make in archieves.ini for this method of compression.? |
|
#7
|
|||
|
|||
|
Quote:
Code:
if not ISArcExtract ( 0, 33, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISSRepExtract ( 0, 33, ExpandConstant('{app}\data1.srep'),ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 34, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}'), '', true, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
|
|
#8
|
||||
|
||||
|
kostaskaraivalis You missed the Precomp part..
Code:
if not ISArcExtract ( 0, 25, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISPrecompExtract( 0, 25, ExpandConstant('{app}\data1.pcf'), ExpandConstant('{app}\data1.srep'), true) then break;
if not ISSRepExtract ( 0, 25, ExpandConstant('{app}\data1.srep'),ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}'), '', true, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Copy file with Inno Setup Script | emrahcey | Software | 1 | 02-07-2010 08:24 |