FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   ASIS: Advanced Simple Installer Script (https://fileforums.com/showthread.php?t=99481)

Titeuf 21-08-2019 08:51

Hello KaktoR,
I give you this message about a problem, message here =>https://fileforums.com/showpost.php?...postcount=1430

Would it be possible as on CIU to add the function "Create New CIU Project.bat" which is fine!
Thank you in advance for your answers,
cordially

KaktoR 25-08-2019 11:03

Yes it's possible. I will look at the issues next weekend.

Titeuf 25-08-2019 12:15

Quote:

Originally Posted by KaktoR (Post 482368)
Yes it's possible. I will look at the issues next weekend.

Hello KaktoR,
Ok in advance thank you

Titeuf 11-09-2019 03:34

Hello KaktoR,
Have you had time to look at the problems, please?
In advance thank you for your response.
cordially

KaktoR 14-09-2019 01:27

Yes but I don't know what's the problem.

Titeuf 18-09-2019 00:57

Quote:

Originally Posted by KaktoR (Post 482612)
Yes but I don't know what's the problem.

Hello KaktoR,
Excuse me for my late response, so the first thing is a request for ASIS:
"Would it be possible, as in the CIU, to add the function" Create a new CIU .bat project "which is fine!"

for the problem it's every time I use a compression method of the forum "Best Compression Methods for 'Specific' Games.Q & A" I have decompression errors, the last example here => and your answer here => in advance thank you for your answers,
Best regards

wangfeilong0317 01-10-2019 03:35

1 Attachment(s)
Hello, I translated Simplified Chinese, but it does not display properly.

mausschieber 13-10-2019 15:34

Error with Inno setup 6.0.2
 
Hi Bro

i have error when i use asis 7.1.3 with Inno setup 6.0.2

see picture
https://abload.de/thumb/errorw4jz9.png

Cesar82 13-10-2019 21:22

@mausschieber
This "CenterInsideControl" function no longer exists in Inno Setup 6...

A possible almost similar solution is:
Delete line in color red and insert this parts in blue color.
Code:

procedure AboutFormOnShow(Sender: TObject);
begin
  TSetupForm(Sender as TSetupForm).Left := WizardForm.Left + (( WizardForm.ClientWidth -  TSetupForm(Sender as TSetupForm).ClientWidth) div 2);
  TSetupForm(Sender as TSetupForm).Top :=  WizardForm.Top + ((WizardForm.ClientHeight - TSetupForm(Sender as TSetupForm).ClientHeight) div 2);
end;


procedure AboutButtonClick(Sender: TObject);
var
  AboutForm: TSetupForm;
  AboutOKButton: TNewButton;
  AboutLabel: TNewStaticText;
  LogoImage: TBitmapImage;
begin
  AboutForm := CreateCustomForm
  try
    AboutForm.ClientWidth := ScaleX(380);
    AboutForm.ClientHeight := ScaleY(280);
    AboutForm.Caption := SetupMessage(msgAboutSetupMenuItem);
    AboutForm.OnShow := @AboutFormOnShow;
    //AboutForm.CenterInsideControl(WizardForm, False);


Titeuf 15-10-2019 06:44

Hello everyone,
for some games, there are several *.ini files with the name of the player in different directories of the game, how and with what piece of code (for version 7.1.3)
I can do so that the name of the chosen player before the installation starts to change on all *.ini files?
In advance thank you for your answers,
cordially

Titeuf 21-10-2019 08:03

Hi,
Up please.
Thank

KaktoR 23-10-2019 11:42

Search

Code:

SetIniString('{#Section}', '{#Key}', WizardForm.UserInfoNameEdit.Text, ExpandConstant('{#INIFile}'));
After this add and change the ini file location manualy inside the script ('{app}\steam_emu.ini')

Code:

SetIniString('{#Section}', '{#Key}', WizardForm.UserInfoNameEdit.Text, ExpandConstant('{app}\steam_emu.ini'));
Maybe you have to change {#Section} and {#Key} too if the section/key is different in two ini files. If the sections and names are the same then just leave it like it is and only change the {#INIFile} for ini file #2, 3, 4, ...

Titeuf 24-10-2019 08:36

Quote:

Originally Posted by KaktoR (Post 483136)
Search

Code:

SetIniString('{#Section}', '{#Key}', WizardForm.UserInfoNameEdit.Text, ExpandConstant('{#INIFile}'));
After this add and change the ini file location manualy inside the script ('{app}\steam_emu.ini')

Code:

SetIniString('{#Section}', '{#Key}', WizardForm.UserInfoNameEdit.Text, ExpandConstant('{app}\steam_emu.ini'));
Maybe you have to change {#Section} and {#Key} too if the section/key is different in two ini files. If the sections and names are the same then just leave it like it is and only change the {#INIFile} for ini file #2, 3, 4, ...

Hello KaktoR,
it works perfectly after a first test, thank you!
Can you answer me for this: https://fileforums.com/showpost.php?...&postcount=726
Thanks in advance,
cordially

KaktoR 24-10-2019 10:47

Like I said earlier, I don't know what the problem is exactly.

I had a similar problem before with the game Frostpunk, where the install process just doesn't go further (no error message, stuck on like 49.4%, the archive just didn't unpack further at some point, while with CIU it works just fine).

I can't even tell you where the problem is exactly inside the code, because it won't happen on every data.

And I don't work on this anymore anyway. Maybe you noticed that I'm not much online since a few weeks, because I don't have the time for stuff like this at the moment.

artexjay 13-11-2019 12:17

How did you manage to get the the setup to check for system requirements? I can't seem to figure that out.

An excerpt of your code with a small explanation on what some of the code does would be great

Thanks


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

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