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)

Chrushev 19-12-2018 22:13

Quote:

Originally Posted by pakrat2k2 (Post 477914)
no tutorial needed everything is handled by settings.ini. Download the archive & look in the setup folder, there you will see the images/names for them. Look in settings.ini for the corresponding line for the image name. Thats all there is to it basically. Edit the ini with the game information it asks for, find images you want to use, make them the same size as those in setup folder.

only change i've made is names...

In settings.ini KaktoR has the name of the game before extension, ive just removed the name of the game & left it with just the name.

IE:

Code:

[Installer]
//----------------------------------------------- Setup\Filename.bmp
WelcomeBackground=Welcome.bmp
FinishBackground=Finish.bmp
BannerBackground=Banner.bmp

before it was gamename.Welcome.bmp which personally was way too much work to change everytime, easiest to just leave it short, as above.

yeah I got that part. But how do I point it to the game files to compress?

pakrat2k2 20-12-2018 09:07

Quote:

Originally Posted by Chrushev (Post 477915)
yeah I got that part. But how do I point it to the game files to compress?

what i've always done, ( just to keep things organized, & easier when posting a conversion or personal use )
the created setup goes in output folder (with games name ) then add UltraArc package to the output folder. Then enduser can simply run ultraarc point to their game & choose compression method.

Dont forget to edit ultraarc.ini & change the firstvolumesize to match what your setup equals subtracted from customvolumesize.

Output\UltraArc package

IE:

Output\Game\setup.exe the setup is 15 so CVS - setup=FVS.
in ultraArc.ini



[Split]
FirstVolumeSize=4465
CustomVolumeSize=4480
ThresholdPercent=30

kocchi96x 27-12-2018 17:34

how to i choose color for font color ik i can use (FontColor=) in settings ini but i for the life of me cant get right color when ever i try.

pakrat2k2 27-12-2018 18:06

Use this page for color choices, just use the Hex value without the # & input the value into FontColor=$###### ( 6 parts AFTER the $ )

Code:

http://cloford.com/resources/colours/500col.htm

KaktoR 28-12-2018 01:02

In current version you have to use $BGR color (reversed $RGB)

pakrat2k2 28-12-2018 08:30

yes forgot to add that.

Schabik 02-01-2019 04:08

1 Attachment(s)
Hi there,


I've got a problem after updating to version 7.1.0.


Those are the things I've done:
- added second Splash
- modified Records.ini according to instructions from K4miKaZe (post https://fileforums.com/showpost.php?...&postcount=385 )



And then while compiling an error appears about duplicate Identifier CALLWINDOWPROC.


Attachment 23755

yasitha 02-01-2019 04:32

Quote:

Originally Posted by Schabik (Post 478360)
Hi there,


I've got a problem after updating to version 7.1.0.


Those are the things I've done:
- added second Splash
- modified Records.ini according to instructions from K4miKaZe (post https://fileforums.com/showpost.php?...&postcount=385 )



And then while compiling an error appears about duplicate Identifier CALLWINDOWPROC.


Attachment 23755

Search *CALLWONDOWPROC* if you seen another one you have to remove it.
If you have extended another script check there too.

You have same two code lines
that what cause this.

if you don't have duplicate CALLWINDOWPRIC

Then get your old script and just,
FOLLOW K4miKaZe post. Then try compelling if it works fine. Then your error comes with your secondary splash.
You have to put things right. If you don't know how.
Tell me I'll help.

Schabik 02-01-2019 04:43

1 Attachment(s)
Quote:

Originally Posted by yasitha (Post 478361)
Search *CALLWONDOWPROC* if you seen another one you have to remove it.
If you have extended another script check there too.

You have same two code lines
that what cause this.


Ok, I've got what's wrong, corrected the script but had to comment these lines:


Code:

  #if Splash == "1"
      procedure ShowSplashScreen(p1:HWND;p2:AnsiString;p3,p4,p5,p6,p7:integer;p8:boolean;p9:Cardinal;p10 :integer);
        external 'ShowSplashScreen@files:isgsg.dll stdcall delayload';
    #endif

Because of error:
Attachment 23756


Oh, and a question, why after launching the installer it's starting from Req check page?

yasitha 02-01-2019 04:48

Quote:

Originally Posted by Schabik (Post 478362)
Ok, I've got what's wrong, corrected the script but had to comment these lines:


Code:

  #if Splash == "1"
      procedure ShowSplashScreen(p1:HWND;p2:AnsiString;p3,p4,p5,p6,p7:integer;p8:boolean;p9:Cardinal;p10 :integer);
        external 'ShowSplashScreen@files:isgsg.dll stdcall delayload';
    #endif


Because of error:
Attachment 23756

Is there another splash on this script?

Did you check the way i told you?

If you don't know how to figure this out.

Just upload your currunt working script
with all files. as an archive.
Then tell me exactly what you want to do.
I can modified for you.

Schabik 02-01-2019 04:57

Quote:

Originally Posted by yasitha (Post 478363)
Is there another splash on this script?

Did you check the way i told you?


Check the attached screen, I've got to comment these lines because of error "Identifier Expected".


About previous error, I've forgot to mention that in version 7.0.8 I've added "TransparentStatic.iss" to include. I've deleted the Include and the problem was solved but another came in.

KaktoR 02-01-2019 04:57

@Schabik:
Add this to [Setup] section:
DisableWelcomePage=no

The script is broken at some points if you not use InnoEE. I still have to rewrite bunch of code.

KaktoR 02-01-2019 06:59

Should I make the WizardForm a bit bigger? I just realized that on some fonts the text on Welcome and Finish page is hard to read because you have to use small font size (otherwise some parts of the text are out of visible window).

Size is now:
Width := 497;
Height := 314;

Code:

v7.1.1
_____________________________________________________
- Updated some compressors
- Added option to make records.ini internal
- Rebuild file handling for compressors
- Updated file structure
- Removed old code
- Removed Compiler.exe for ISEE
  > You have to use IS (u) now
- Fixed ProgressBar flickering
  > It had something to do with (TLabel)
  > It is now (StaticText)
- Added Time Elapsed and Time Remaining
- Removed ProgressBarLabelColor
  > It is not working with (StaticText)
-Removed UltraArc= / DiskSpan= options
  > Installer extracts now both archive without extra setting


Schabik 02-01-2019 07:29

2 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 478365)
@Schabik:
Add this to [Setup] section:
DisableWelcomePage=no

The script is broken at some points if you not use InnoEE. I still have to rewrite bunch of code.

Even in InnoEE the problem persists.

Ok, so I've got another problem but with included Records.ini

After modification from post https://fileforums.com/showpost.php?...&postcount=385

Installer can't see archive files.
Can anyone help me?


I've changed all {src}\records.ini entries to {tmp}\records.ini

Attachment 23759
Attachment 23758

KaktoR 02-01-2019 07:59

Remove the line "if fileexists ..."


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