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 07-05-2020 04:03

Wrong positioning :D

Send me your Settings.ini please

shakhnaften 07-05-2020 05:24

1 Attachment(s)
here you go thank you

KaktoR 07-05-2020 06:41

Well this only happens with vcl skin.

I will investigate this soon.

shakhnaften 07-05-2020 07:35

thank you looking forward to this and internal compression

Cesar82 07-05-2020 12:24

Quote:

Originally Posted by KaktoR (Post 485637)
Well this only happens with vcl skin.

I will investigate this soon.

Find this part in ASIS code and add line in red color.
Code:

procedure CurPageChanged(CurPageID: Integer);
var
  I: Integer;
  CompFile: String;
  ReloadComponents: Boolean;
begin

#if CompactMode == "0"  /* Full Installer Mode */

  if CurPageID = wpWelcome then
  begin
    #if UseInstallBackground == "1"
      BackgroundButton.Hide;
    #endif
    AboutButton.Show;
    PercentLabel.Hide;
    ElapsedLabel.Hide;
    RemainingLabel.Hide;
    PauseButton.Hide;
    WizardForm.DirEdit.Hide;
    WizardForm.DirBrowseButton.Hide;
    WizardForm.GroupEdit.Hide;
    WizardForm.GroupBrowseButton.Hide;
    WizardForm.PageNameLabel.Hide;
    WizardForm.PageDescriptionLabel.Hide;
    WizardForm.ProgressGauge.Hide;
    WizardForm.UserInfoNameLabel.Hide;
    WizardForm.UserInfoNameEdit.Hide;
    WizardForm.CancelButton.Top := WizardForm.NextButton.Top;
    ReloadComponents := False;
    #if UseComponents == "1"
    if ComponentsPageAvai then
    begin
    //...


KaktoR 07-05-2020 13:05

@Cesar: I already did this. But I don't know why this happens with vcl skin... Any ideas? Just to inform myself :D

Cesar82 07-05-2020 15:24

2 Attachment(s)
@KaktoR, I found out.
The error happens only using version 6 of inno setup.
In reality, the VCLStylesInno.dll library relocates the NEXT and BACK buttons (in -3 pixels), but CANCEL is not repositioned.
If using inno setup 5 + VCLStyles all buttons are repositioned to (-3) pixels.
I attached a test for you to test if you want (Define or not the 2 lines and compare using inno setup 5 and 6).

There was an error in the ASIS script when compiling using Inno Setup 5.
I'm not sure if the script I had was the last one.
I fixed this error and also used a more correct way to correct the CANCEL buttom problem (Only fix if using Inno Setup 6).
The corrected ASIS script (Version I had) is attached.

Suryam 07-05-2020 22:26

Hello Kaktor please name the compressor which i can use in this inno installer

Suryam 08-05-2020 01:28

Hello Thanks For The ASIS Please answer me how we can create a crc file of a game please help me to check wether the files has installed correctly

Suryam 08-05-2020 01:35

How to Create crc file for checking The file
 
Hello Firstly Thanks For The Installer
I am seeing that Cr Check is available But i am completely noob in coding or compressing so please give a very simple tutorial to create crc file for checksum:)

shakhnaften 08-05-2020 03:02

hello I have issue with info before page
is there a way to make it accept rtf format?
i changed txt to rtf in script and made a rtf file but it doesnt accept its formats or fonts or sizes
also is there a way to make it read only in setup window cause i can write in it in setup window
thank you

KaktoR 08-05-2020 03:58

Use Compressor.ini to find out.

Create crc file with HashCheck, QuickSFV, ...

Yes it is possible to use rtf.
Change inside script
Code:

InfoBeforeFile=Setup\InfoBefore.txt
to
InfoBeforeFile=Setup\InfoBefore.rtf


shakhnaften 08-05-2020 04:01

yes thank you I did that but the formats in rtf file doesn't apply like the size, font, centering text and stuff is there a way to make those work?

and is there a way to make the text box inside the setup read only because i can change the text inside setup textbox

KaktoR 08-05-2020 04:28

1 Attachment(s)
Well I have to change some things for the rtf files fontsize, fontcolor etc... (I have to change from TNewMemo to TRichEditViewer). I will make this later.

However, here is a new script which allows you to load rtf files for InfoBefore and make it read only.

Suryam 08-05-2020 07:49

CRC Checksum Problem
 
I have created the checksum files and also write it on the settings.ini when it starts verification It says File Not Found Why I have created repack of Call Of Duty Please Help
Now When i am not using compact mode whenever the installation completes the setup crashes but i am seeing that it is installed Fully
PLAESE HELP KAKTOR


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

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