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)

Kamalxhero 19-01-2019 03:41

Quote:

Originally Posted by KaktoR (Post 478931)
For diskspan:
You have to edit Records.ini file

Code:

[Record1]
Type=Freearc_Original
Source={src}\Data1.bin.001
Output={app}
Disk=1

Make records.ini internal if you wish to not use it alongside Setup.exe (it will be extracted to %temp% folder then).

For the hardware issue:
I'm about to fix this. Have some brain breaks atm :D

brain breaks? :eek:
Thanks... :) for doing this.
it's pretty good.

Titeuf 19-01-2019 03:46

Quote:

Originally Posted by KaktoR (Post 478931)
For diskspan:
You have to edit Records.ini file

Code:

[Record1]
Type=Freearc_Original
Source={src}\Data1.bin.001
Output={app}
Disk=1

Make records.ini internal if you wish to not use it alongside Setup.exe (it will be extracted to %temp% folder then).

For the hardware issue:
I'm about to fix this. Have some brain breaks atm :D

Hello KaktoR,
For this :
Quote:

Make records.ini internal if you want to use it alongside Setup.exe (it will be extracted to% temp% folder then).
How should I do, please?
thank you

Kamalxhero 19-01-2019 03:58

Quote:

Originally Posted by Titeuf (Post 478933)
Hello KaktoR,
For this :


How should I do, please?
thank you

Simple :)

Open Settings.ini
Change 0 to 1

[ExtractSettings]
InternalRecords=1

Make sure,
you have configure records.ini
and DefaultinstallDir

Kamalxhero 19-01-2019 04:17

Another Bug!

set this and run test you will see!

[Background]
Enable = 0

then while installing,
try music off and on not working properly.

When installed finish
there's no Finish button available.
Only Pause Button available,
but it's in middle not in the right place.
and music button in right place..

No Finish button!

Finish button is nowhere to be found :D
and please hide that Pause/Resume button on Finish Page.

add ztool Decompress missing dlls Hif2raw and raw2hif
otherwise it won't work properly...

Kamalxhero 19-01-2019 05:05

Quote:

Originally Posted by KaktoR (Post 478936)
Yes there were some bugs if you disable crc check (I have fixed them just a minute ago) :D

Fixed some other bugs too.

Don't care for Hardware bug. Will be fixed soon. Disable System Check.

Test this out for the button problems

Thanks,
i just want your installer to be Perfect!
That's why i report those bugs :)

and Yes i have disable CRC,
for test run..

Oky i wll check and tell you if i found bugs.

New Features Request :)

Add Background ON/OFF button, while unpacking.
Actually no one need website button on unpacking, disable it on Unpacking,
and add Background ON/OFF button
like music ON/OFF

KaktoR 19-01-2019 06:28

I will see if it's possible

KaktoR 19-01-2019 10:12

1 Attachment(s)
Yes it's possible:
https://i.imgur.com/DnjlyGW.png

HW detection is now fixed too!

Code:

v7.1.1b
_____________________________________________________
-Fixed Music Button
-Fixed Hardware detection (thanks to peterf1999 for the help)
-Fixed Finish Button if CRC Check is not used
-Fixed some other bugs
-Website Button is now not visible on Installing Page
-Added Background ON/OFF button on Installing Page
  > With this button you can toggle install background on/off


Titeuf 20-01-2019 02:47

Hello KaktoR,
thank you for your excellent work!
Here are the translations (Google translation) except for the French CustomMessage file for this: "Your system does partially meet the hardware reuirements" :

Quote:

English.HwPartiallyGood=Your system does partially meet the hardware reuirements.
Hebrew.HwPartiallyGood=המערכת שלך עונה באופן חלקי בלבד על דרישות החומרה.
French.HwPartiallyGood=Votre systčme ne répond que partiellement aux exigences matérielles.
German.HwPartiallyGood=Ihr System erfüllt die Hardwareanforderungen nur teilweise.
Italian.HwPartiallyGood=Il sistema soddisfa solo parzialmente i requisiti hardware.
Spanish.HwPartiallyGood=Su sistema solo cumple parcialmente los requisitos de hardware.
Polish.HwPartiallyGood=Twój system tylko częściowo spełnia wymagania sprzętowe.
Russian.HwPartiallyGood=Ваша система только частично отвечает требованиям к оборудованию.
PortugueseBrazil.HwPartiallyGood=Seu sistema atende apenas parcialmente aos requisitos de hardware.

Schabik 20-01-2019 23:15

3 Attachment(s)
Hi there guys :)

How Can I change text color of Licence and InfoBefore? I'm not talking about LicencePage and InfoBeforePage but the text loaded from InfoBefore.txt and Licence File. I want to change it to White because I've added Concave.cjstyles file as the skin.


For example InfoBeforePage looks like this:
Attachment 23922


As You can see the text loaded from InfoBefore.txt file is almost unreadable...


Second problem is that something is covering the text above the EditDir field, and with Polish language "Create Desktop Icon" (in Polish "Utwórz ikonę na pulpicie") the "ę" letter is replaced with some other letter unknown for me.


Attachment 23923




Edit:
Ok, as for the "Utwórz ikonę na pulpicie" the problem was in CustomMessages.iss file. Ive corrected it and translated rest of the remaining Polish messages, so I'm uploading the file.


The only problem for now is for "Lokalizacja docelowa:" field.

KaktoR 21-01-2019 01:29

I will see to change the text color for dark themes.

----

Lokalizacja docelowa:
Search for
Code:

with WizardForm.SelectDirLabel do begin
    Caption  := AppNameOverride(msgSelectDirLabel3);
    Left    := FolderImage.Left + 42;
    Top      := ScaleY(0);
    Width    := ScaleX(488);
    Height  := ScaleY(45);
    WordWrap := True;
  end;

and change height to 42 (should be enough)

Will be changed in next version

Schabik 21-01-2019 02:55

1 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 478969)
I will see to change the text color for dark themes.

----

Lokalizacja docelowa:
Search for
Code:

with WizardForm.SelectDirLabel do begin
    Caption  := AppNameOverride(msgSelectDirLabel3);
    Left    := FolderImage.Left + 42;
    Top      := ScaleY(0);
    Width    := ScaleX(488);
    Height  := ScaleY(45);
    WordWrap := True;
  end;

and change height to 42 (should be enough)

Will be changed in next version




Thanks KaktoR :) That worked for me :)


As for LicencePage and InfoBefore page, how about changing the background color?


Ive changed the bg color to lightgrey and it looks like this:


Attachment 23925


What do You think about this solution?


Just added to

Code:

    with WizardForm.InfoBeforeMemo do begin
      Left  := ScaleX(0);
      Top    := ScaleY(50);
      Width  := ScaleX(520);
      Height := ScaleY(210);
    end;


this line:
Code:

      Color := TColor($d3d3d3);

KaktoR 21-01-2019 12:06

2 Attachment(s)
Here is beta 3. I think if all is OK i will post this on post #1 soon.

Changes since last beta
Code:

- Changed background color of License and Info before memo to a bright color
  > On dark themes you couldn't read text properly before
- Made Installer window a bit bigger for better reading
- Added missing dll to ztool

KNOWN BUGS
- ScrollBar on LicensePage and InfoBeforePage are broken if you use cjstyle skin

I still have to figure out why the scrollbars are broken on codejock styles :confused:

Schabik 21-01-2019 23:03

KaktoR there's a problem with background button in 7.1.1b.Beta3, even if I turn it off (The background I mean) in settings file while running the Installer there is a message that there is an unknown Custom message name "BackgroundON" in cm constant.


Another thing, I think that You forgot to write an IF statement to BackgroundCB and BackgroundButton to look like:


Code:

#if UseInstallBackground == "1"
  BackgroundCB := TNewCheckBox.Create(WizardForm);
  with BackgroundCB do begin
    Parent  := WizardForm;
    Left    := ScaleX(0);
    Top    := ScaleY(0);
    Width  := ScaleX(0);
    Height  := ScaleY(0);
    Visible := False;
    Checked := False;
  end;

  BackgroundButton := TNewButton.Create(WizardForm);
  with BackgroundButton do begin
    Parent  := WizardForm;
    Left    := WebsiteButton.Left - WebsiteButton.Width - 10;
    Top    := WebsiteButton.Top;
    Width  := WebsiteButton.Width;
    Height  := WebsiteButton.Height;
    Caption := ExpandConstant('{cm:BackgroundON}');
    OnClick := @BackgroundButtonClick;
  end;
#endif


Without that no matter if You enable or disable UseInstallBackground it will be enabled, if I recall.

KaktoR 22-01-2019 00:46

The unknown Custom message name is because you don't use the new CustomMessages.iss :)

Will fix the button

Schabik 22-01-2019 01:52

Quote:

Originally Posted by KaktoR (Post 478997)
The unknown Custom message name is because you don't use the new CustomMessages.iss :)

Will fix the button


Nope, I am using the new CustomMessages.iss


All times are GMT -7. The time now is 13:31.

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