Вопрос How to add an external compress method to inno script?

  • Автор темы Автор темы nizcoz
  • Дата начала Дата начала

nizcoz

Участник
Hi! How to add an external compress method to inno script? and which is the best method? Thanks!!!
 
Последнее редактирование:
Any tutorial available? I read about this, but i don´t understand how add compress method to my script.
 
Por ejemplo en el caso de los envases dentro de Inno ...
Код:
[Setup]
Compression = lzma2
CompressionThreads = auto
LZMABlockSize = 262144
LZMADictionarySize = 262144
LZMAMatchFinder = BT
LZMANumFastBytes = 273
LZMAUseSeparateProcess = yes
MergeDuplicateFiles = yes
SolidCompression = yes
Y empacadores externos en las secciones pertinentes de la ...
 
Последнее редактирование:
Por ejemplo en el caso de los envases dentro de Inno ...
Код:
[Setup]
Compression = lzma2
CompressionThreads = auto
LZMABlockSize = 262144
LZMADictionarySize = 262144
LZMAMatchFinder = BT
LZMANumFastBytes = 273
LZMAUseSeparateProcess = yes
MergeDuplicateFiles = yes
SolidCompression = yes

This is the best compression with inno setup? What does each command line do?

Y empacadores externos en las secciones pertinentes de la ...

I dont understand it, sorry.
 
Thanks for your answers!

Open the FAQ by InnoSetup. They all described ...

I can not find it, there is nothing about it.

For packing / unpacking external archives there is a section on this forum http://krinkels.org/forums/arxivatory-i-kompressory.239/...

I can`t find any solution for me in there. Only about packing / unpacking external archives and not the tutorial to use them in inno setup script.
 
^ ^ I wish add .rar file (data.rar) to my script (and install it) instead of inno compression. Is this possible?
 
nizcoz, ISDone 0.6 final
http://krinkels.org/resources/isdone.67/
#define unrar
if not ISRarExtract ( 0, 0, ExpandConstant('{src}\data.rar'), ExpandConstant('{app}'), false, '') then break;

@vint56, I copy from the ISDone_Example.iss to my script, errors:



this code is part of my script

another CurStepChanged (part of ISDone_Example)




If i eliminate the first CurStepChanged (from my script), the compile keep going and second error:




This is from my script.

Another CurPageChanged: (from ISDone_Example)

Procedure CurPageChanged(CurPageID: Integer);
Begin
if (CurPageID = wpFinished) and ISDoneError then
begin
LabelTime3.Hide;
WizardForm.Caption:= ExpandConstant('{cm:Error}');
WizardForm.FinishedLabel.Font.Color:= clRed;
WizardForm.FinishedLabel.Caption:= SetupMessage(msgSetupAborted) ;
end;
end;

If i eliminate the code from my script (error 2), the compile keep going and in the installer:

 
Последнее редактирование:
nizcoz, rename CurStepChanged 1 и CurStepChanged2

procedure CurStepChanged(CurStep: TSetupStep);
begin
CurStepChanged1(CurStep);
CurStepChanged2(CurStep);
end;

[CustomMessages]
russian.CancelButton=Отменить распаковку
 
nizcoz, rename CurStepChanged 1 и CurStepChanged2

procedure CurStepChanged(CurStep: TSetupStep);
begin
CurStepChanged1(CurStep);
CurStepChanged2(CurStep);
end;

[CustomMessages]
russian.CancelButton=Отменить распаковку

Problems:



???? instead of seconds and minutes

I use a language selector with two lang: english and spanish and the isdone example only has english.ini
 
Последнее редактирование:
nizcoz,
[CustomMessages]
spanish.CancelButton=Cancelar desembalaje
english.CancelButton=Cancel unpacking
 
nizcoz,
[CustomMessages]
spanish.CancelButton=Cancelar desembalaje
english.CancelButton=Cancel unpacking

1) The functions: Totalspacelabel, freespacelabel and needspacelabel are not show.
2) If i cancel the installation not show cancel unpacking.
3) In the instalattion not show the seconds and the minutes, show ?????

When i cancel the install in the new installer

 
Последнее редактирование:
Is very difficult, I think i will use the inno compressor.......

Por ejemplo en el caso de los envases dentro de Inno ...
Код:
[Setup]
Compression = lzma2
CompressionThreads = auto
LZMABlockSize = 262144
LZMADictionarySize = 262144
LZMAMatchFinder = BT
LZMANumFastBytes = 273
LZMAUseSeparateProcess = yes
MergeDuplicateFiles = yes
SolidCompression = yes
Y empacadores externos en las secciones pertinentes de la ...

Is this the best compression? I have a intel pentium b940 2ghz , 4 gb ram, windows 7.

Another question........... how add a message at the finish of the cancel in the install?? (Cancel while installing).¨the installation was succefully aborted¨ (english and spanish)

Sorry bad english.
 
Последнее редактирование:
how add a message at the finish of the cancel in the install?? (Cancel while installing).¨the installation was succefully aborted¨ (english and spanish)

Sorry bad english.
 
Назад
Сверху