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)

KaktoR 14-01-2019 02:14

For windows version, I have already explained it here (with a nice table from wikipedia).

https://fileforums.com/showpost.php?...&postcount=349

I will add some help to Settings.ini instead with next update.

yasitha 14-01-2019 02:17

Quote:

Originally Posted by KaktoR (Post 478780)
For windows version, I have already explained it here (with a nice table from wikipedia).

https://fileforums.com/showpost.php?...&postcount=349

I will add some help to Settings.ini instead with next update.

Just the basics is enough.

add all the available options,
then explain one by one how to use them,
that's it..

One other thing..
Update the fist post,
with system requirement issues

kocchi96x 14-01-2019 04:13

Quote:

Originally Posted by KaktoR (Post 478760)
DiskSpan or normal archive? What skin you use?

I ask because diskspan is not compatible with VCL skin (sometimes installer crash)

i do have the installer crash on me with crc and other times believe with error -11 most times its crc i use ultraarc. Also i dont use any skin.

yasitha 14-01-2019 04:14

Quote:

Originally Posted by kocchi96x (Post 478786)
i do have the installer crash on me with crc and other times believe with error -11 most times its crc i use ultraarc.

Use Diskpan Perfect tool...
No Issues...
and No need Records.ini...

Schabik 18-01-2019 04:40

I've got a question about difference between IS_ENCHANCED and IS_UNICODE.


Can I compile this script with INNO Enchanced, even if it requires INNO Unicode. If I can't do it tell me What differance does it make?

KaktoR 18-01-2019 06:54

I have already deleted IS_ENCHANCED in upcoming new version, so you can't compile with InnoEE anymore.

Because I don't want to test around with different versions. New bugs will be in then and I don't want to mess with this things.

However, I could compile a new compiler so you don't have to install Inno Unicode if you have already installed InnoEE.

KaktoR 18-01-2019 08:13

New version added

Code:

v7.1.1a
_____________________________________________________
- Removed ISUtils.dll
- Added green indicator if Hardware match the requirement
- Updated BASS Audio Library to v2.4.14.0
- Added some help to Settings.ini


kocchi96x 18-01-2019 15:09

This happens if you partially meet the requirements.
https://i.imgur.com/hmMONwm.jpg
the bottom one i edited the placement just so no overlapping.
also since 7.1.1beta System has been red for anything other then 1000 for windows 10 below versions will show in red and didn't happen in 7.1.0.

Edit: also i had to go to post 468 with your fix their to get CustomMessages.iss, and that one was no different with the image.
also did have another problem for when it was done the finish button wouldn't show and the pause button was more into the picture on finish page, but so far i haven't seen it with the 7.1.1a as of yet.

KaktoR 18-01-2019 16:28

Thanks for info. I will correct this in a hotfix.

Additionaly I will add text if not all requirements are green.

For example if only cpu mhz is below requirement and all other are OK, text says "Your system does partially meet the hardware reuirements" or something like that. Will test something out.

https://i.imgur.com/Y5mlnp6.pnghttps://i.imgur.com/tB5cNwB.png

kocchi96x 18-01-2019 18:02

just found out with the new bass.dll im not able to turn the music back on if i turn it off, when i hit the button for "Music: ON" it stays instead of going to "Music: OFF". I put the old dll back in and im able to turn it back on.

Titeuf 18-01-2019 21:01

1 Attachment(s)
Hello,
I just applied the fix 7.1.1.a and I have this error message see my picture.
thank you

kocchi96x 18-01-2019 22:24

Quote:

Originally Posted by Titeuf (Post 478924)
Hello,
I just applied the fix 7.1.1.a and I have this error message see my picture.
thank you

download file from Here and get the CustomMessages.iss and copy it over.

Titeuf 18-01-2019 22:31

Quote:

Originally Posted by kocchi96x (Post 478926)
download file from Here and get the CustomMessages.iss and copy it over.

Hello Kocchi96x,
thank you very much

Kamalxhero 19-01-2019 02:30

I have found two problem..
1 system requirement OS Check!
2 Diskpan Not Supported!

1] i change OS to *OS=611 or 621/631
then system check:os Line go to red in windows 10,
but it should be green, right?
cause windows 10 can handle all Previous Os,
To work i have to change
OS=1000 then its OK,
please check that

2] can't Decompress Diskpan Data.bin.001 *** files...
Only Data.Arc can.. can you add Diskpan compatible?

i have setup.bin. 001 files created by Diskpan,
but can't unpack them with ASIS.

It will really helps
if you could do this
If it's possible please add thia option.

Inside:
Settings.ini
[ExtractSettings]

UltraARC=0 (0 off / 1 on)
UAName=Data1.Arc
UASecond=Update1.2.0.arc
UAThird=DLC Pack.arc

Diskspan=1
DPArchName=setup.bin.001
DPSecd=Update6.bin.001
DPThird=Dlc.bin.001

second, third archives is very helpful
If it's possible. pls add those options..

KaktoR 19-01-2019 03:35

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

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

KaktoR 22-01-2019 01:55

Use the FIX in previous post.

kocchi96x 22-01-2019 10:36

i get this
https://i.imgur.com/4aFvBkC.jpg
from these, I even tried it without doing the small edits I have done and still get it.

KaktoR 22-01-2019 11:07

Send me your settings.ini please

Btw what do you think about this?
https://i.imgur.com/xRZs6Qf.png

kocchi96x 22-01-2019 12:16

i like that makes it pop out.

pakrat2k2 22-01-2019 12:27

Quote:

Originally Posted by KaktoR (Post 479010)
Btw what do you think about this?
https://i.imgur.com/xRZs6Qf.png

that looks great, we can change colors to match game :cool:

KaktoR 22-01-2019 13:29

2 Attachment(s)
Quote:

Originally Posted by kocchi96x (Post 479009)
i get this
https://i.imgur.com/4aFvBkC.jpg
from these, I even tried it without doing the small edits I have done and still get it.

Bug fixed. It was because BackgroundButton gets WebsiteButton dimensions even if WebsiteButton is turned off.

Code:

Beta 4
-Added ability to change Hardware label colors in [SystemRequirement] section
-Fixed some other bugs


kocchi96x 22-01-2019 16:08

it works now just not when its installing the background isn't changing to the other pictures i have set with the installer, it stays on the first picture.

Edit: The other pictures are loaded as they do show in tmp folder but just not being shown when installing only one that is being show is the one named 1.jpg

KaktoR 22-01-2019 17:03

Use the FIX above. Sorry for the trouble :D

kocchi96x 22-01-2019 19:51

Quote:

Originally Posted by KaktoR (Post 479019)
Use the FIX above. Sorry for the trouble :D

no problem just glad to be of help :D, and that did fix it backgrounds work again.

KaktoR 24-01-2019 15:57

What do you think?

Compact mode

https://i.imgur.com/5WCMlPx.png


All times are GMT -7. The time now is 14:59.

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