Log in

View Full Version : Informations file records


Titeuf
31-07-2017, 10:01
Hello everyone,
Is it possible to put in a different location the file "records.ini"!
Because if one of my friends, deletes or does not burn the iso file, of course the installation does not work!
Example: teams like Codex, etc .. in their file * .so there is no file records!
I hope that you understand me.
Thank you for your reply

KaktoR
31-07-2017, 10:06
Yes, as long Installer uses UltraARC.

Records.ini is a part of UltraARC.

Titeuf
31-07-2017, 10:11
Yes I know, but there is no solution to include the file records in no example Setup.exe or other

78372
31-07-2017, 10:15
Just edit the setup script and allow the setup to read records.ini from temp folder.

Titeuf
31-07-2017, 10:36
Ohla I'm a novice, I just start!
Could you please give me a written example!
Thank you in advance

Titeuf
04-08-2017, 02:31
Just edit the setup script and allow the setup to read records.ini from temp folder.
Hi,
Could you please give me a written example!
thank

78372
04-08-2017, 03:27
Hi,
Could you please give me a written example!
thank

A module of UltraArc
Just put records.ini in UltraArc folder and compile the script

Titeuf
04-08-2017, 04:14
Hi 78372,
Thank you for your help, it's great!
One more thing, please, I want to copy the folder crack since install it to the directory of the game on the computer, (ex: as codex) what is the code to put?
Thank you for your help,
Titeuf

macut18
05-08-2017, 00:24
A module of UltraArc
Just put records.ini in UltraArc folder and compile the script

This way does not work for me.

78372
05-08-2017, 00:51
Hi 78372,
Thank you for your help, it's great!
One more thing, please, I want to copy the folder crack since install it to the directory of the game on the computer, (ex: as codex) what is the code to put?
Thank you for your help,
Titeuf

No idea it will work or not, this code is written in notepad


var
NewCheckBox1: TNewCheckBox;
procedure InitializeWizard();
begin
NewCheckBox1 := TNewCheckBox.Create(WizardForm);
with NewCheckBox1 do
begin
Parent := WizardForm.SelectDirPage;
Left := ScaleX(0);
Top := ScaleY(96);
Width := ScaleX(169);
Height := ScaleY(17);
Caption := 'Copy Crack from .\CRACK DIR';
end;
NewCheckBox1.TabOrder := 5;
end;

procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssPostInstall then
begin
if NewCheckBox1.Checked then
FileCopy(ExpandConstant('{src}\CRACK\*'),ExpandCon stant('{app}\*'),false);
end;
end;

78372
05-08-2017, 00:52
This way does not work for me.

What's the problem you are having?

macut18
05-08-2017, 02:21
What's the problem you are having?

I used UltraArcPro_Example in UltraARC 2800 R2 Edition

78372
05-08-2017, 02:34
This example is for UltraArc 3040/2410

Titeuf
05-08-2017, 23:54
No idea it will work or not, this code is written in notepad


var
NewCheckBox1: TNewCheckBox;
procedure InitializeWizard();
begin
NewCheckBox1 := TNewCheckBox.Create(WizardForm);
with NewCheckBox1 do
begin
Parent := WizardForm.SelectDirPage;
Left := ScaleX(0);
Top := ScaleY(96);
Width := ScaleX(169);
Height := ScaleY(17);
Caption := 'Copy Crack from .\CRACK DIR';
end;
NewCheckBox1.TabOrder := 5;
end;

procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssPostInstall then
begin
if NewCheckBox1.Checked then
FileCopy(ExpandConstant('{src}\CRACK\*'),ExpandCon stant('{app}\*'),false);
end;
end;

Hello,
Thank you for your help.
In what part, I have to put your in in the * .iss file please?
Thank you

78372
05-08-2017, 23:55
In the [Code] section