|
|
|
#1
|
||||
|
||||
|
Quote:
what is your inno setup version ANSI or UNICODE? |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
it was line 140.. sorry again I am using Ansi version of Innoset up. |
|
#3
|
||||
|
||||
|
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: | ||
|
#4
|
|||
|
|||
|
Quote:
Many thanks y_thelastknight! |
|
#5
|
|||
|
|||
|
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.? |
|
#6
|
|||
|
|||
|
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;
|
|
#7
|
||||
|
||||
|
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;
|
|
#8
|
|||
|
|||
|
Quote:
@ y_thelastknight you and kostaskaraivalis both used different variabales in archieve.ini i.e. 0,25 (your values) and 0,33 (kostaskaraivalis 's value). what effect those variable (in archieves.ini) make in this file or game compression.? BTW thanks for your reply. |
|
#9
|
|||
|
|||
|
Quote:
there is method without using precomp as well. |
| The Following User Says Thank You to kostaskaraivalis For This Useful Post: | ||
y_thelastknight (20-06-2013) | ||
![]() |
| 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 |