FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Informations file records (https://fileforums.com/showthread.php?t=99414)

Titeuf 31-07-2017 10:01

Informations file records
 
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

Quote:

Originally Posted by 78372 (Post 461232)
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

1 Attachment(s)
Quote:

Originally Posted by Titeuf (Post 461359)
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

Quote:

Originally Posted by 78372 (Post 461360)
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

Quote:

Originally Posted by Titeuf (Post 461362)
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

Code:

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\*'),ExpandConstant('{app}\*'),false);
    end;
end;


78372 05-08-2017 00:52

Quote:

Originally Posted by macut18 (Post 461404)
This way does not work for me.

What's the problem you are having?

macut18 05-08-2017 02:21

1 Attachment(s)
Quote:

Originally Posted by 78372 (Post 461406)
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

Quote:

Originally Posted by 78372 (Post 461405)
No idea it will work or not, this code is written in notepad

Code:

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\*'),ExpandConstant('{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


All times are GMT -7. The time now is 08:19.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com