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)

Cesar82 30-12-2020 18:16

Quote:

Originally Posted by L0v3craft (Post 489629)
Tested. The problem is that it doesn't decompress my "data.arc" archive. Also the file "records.ini" is present where is the setup, same for the setup.dll (tried also to create it manually with freearc). No errors, simply doesn't install anything.

If you want to send me your project (by PM) I can help you more easily (send me the complete project including the compressors).

L0v3craft 31-12-2020 05:11

Quote:

Originally Posted by Cesar82 (Post 489633)
If you want to send me your project (by PM) I can help you more easily (send me the complete project including the compressors).

Incredible, this is the reason:

the original file "records.ini" that comes with ASIS is this:

[Record1]
Type=Freearc_Original
Source={src}\data.arc
Output={app}\
Disk=1

and it doesn't work, works only changing that "Type=Freearc_Original" to "Type=FreeArc_Original".

Infact the code does this check:

if Data[i - 1].Arc[0] = 'FreeArc_Original' then

it is "FreeArc" and not "Freearc".

Ele 31-12-2020 06:07

Quote:

Originally Posted by L0v3craft (Post 489643)
Incredible, this is the reason:

the original file "records.ini" that comes with ASIS is this:

[Record1]
Type=Freearc_Original
Source={src}\data.arc
Output={app}\
Disk=1

and it doesn't work, works only changing that "Type=Freearc_Original" to "Type=FreeArc_Original".

Infact the code does this check:

if Data[i - 1].Arc[0] = 'FreeArc_Original' then

it is "FreeArc" and not "Freearc".

But Inno setup is non case sensitive. isn't?

Cesar82 31-12-2020 08:43

Quote:

Originally Posted by Ele (Post 489644)
But Inno setup is non case sensitive. isn't?

ASIS even has a case sensitive comparison.
In CIU and LIS these options are compared with LowerCase.
You can change the ASIS script in 2 places, just by entering LowerCase.
Code:

if LowerCase(Data[i - 1].Arc[0]) = LowerCase('FreeArc_Original') then

if LowerCase(Data[i - 1].Arc[0]) = LowerCase('FreeArc_Split') then


velanne 31-12-2020 12:21

hi, how to remove create uninstaller?
Thank you
https://nsm09.casimages.com/img/2020...8817193571.png

KaktoR 31-12-2020 13:04

Quote:

Originally Posted by velanne (Post 489649)
hi, how to remove create uninstaller?
Thank you
https://nsm09.casimages.com/img/2020...8817193571.png

Comment the UninstallCB in procedure CurPageChanged (add // before). Should be enough.

velanne 31-12-2020 14:42

Quote:

Originally Posted by KaktoR (Post 489650)
Comment the UninstallCB in procedure CurPageChanged (add // before). Should be enough.

thanks for answering, sorry but i don't know how.
what exactly should i put?

Cesar82 01-01-2021 09:03

@velanne , do a search in the script (CTRL + F) and search the script for the lines:
Code:

UnInstallCB.Visible
UninstallCB.Show

Place // before each of the lines you find in the search.
Code:

//UnInstallCB.Visible ...
//UninstallCB.Show;


velanne 01-01-2021 10:34

Quote:

Originally Posted by Cesar82 (Post 489664)
@velanne , do a search in the script (CTRL + F) and search the script for the lines:
Code:

UnInstallCB.Visible
UninstallCB.Show

Place // before each of the lines you find in the search.
Code:

//UnInstallCB.Visible ...
//UninstallCB.Show;


Thank you
did not work create an uninstaller and still visible.
I am using ASIS.v7.2.2 with Hotfix2 which is posted on page 61

Cesar82 01-01-2021 12:46

Quote:

Originally Posted by velanne (Post 489666)
Thank you
did not work create an uninstaller and still visible.
I am using ASIS.v7.2.2 with Hotfix2 which is posted on page 61

After changes of previous post, search this part and add red color line line.

Code:

  UninstallCB := TNewCheckBox.Create(WizardForm);
  with UninstallCB do
  begin
    Parent  := WizardForm.SelectDirPage;
    Left    := ScaleX(270);
    Top      := ScaleY(150);
    Width    := ScaleX(240);
    Height  := ScaleY(17);
    Caption  := ExpandConstant('{cm:CreateUninstall}');
    Checked  := True;
    Visible  := False;
  end;


velanne 01-01-2021 13:10

Quote:

Originally Posted by Cesar82 (Post 489668)
After changes of previous post, search this part and add red color line line.

Code:

  UninstallCB := TNewCheckBox.Create(WizardForm);
  with UninstallCB do
  begin
    Parent  := WizardForm.SelectDirPage;
    Left    := ScaleX(270);
    Top      := ScaleY(150);
    Width    := ScaleX(240);
    Height  := ScaleY(17);
    Caption  := ExpandConstant('{cm:CreateUninstall}');
    Checked  := True;
    Visible  := False;
  end;


Thank you it works now

KaktoR 11-01-2021 15:47

1 Attachment(s)
Updated a new package (you should use this as a new folder instead of overwrite existing files just for leftovers/deleted things).

Code:

v7.2.2
_____________________________________________________
- Updated compressors
- On cancelling installation the {app} folder will now be deleted
- Added XTool 2020 support
- Added DiskSpan_GUI support (thanks to Cesar82)
- Fixed cancel button
- Removed some leftovers from previous versions in script which are not used anymore
- Moved 'DefaultInstallDir=' key to [Settings] section
  > [ExtractSettings] section removed
- Fixed title on ExitSetupMessageBox if special chars were used (no hieroglyphs)
- Updated DiskSpan_GUI to latest version
- Fixed a problem with lower/uppercase "FreeArc_X" in records.ini reading
- Updated COMPRESSOR_GUI.txt help file (this contains some usefull information now instead to be empty)

Note: Setup.exe/Setup.dll will be created inside ".\DiskSpan_GUI\Setup_Files" folder (in case you search for the file and get lost).

Snake288 12-01-2021 08:30

ASIS.v7.2.2 COMPRESSOR_GUI
 
COMPRESSOR_GUI

Compression tools marked with a red box in the image are not active when selected

https://i.imgyukle.com/2021/01/12/afME9G.jpg

Cesar82 12-01-2021 08:48

Quote:

Originally Posted by Snake288 (Post 489856)
COMPRESSOR_GUI

Compression tools marked with a red box in the image are not active when selected

https://i.imgyukle.com/2021/01/12/afME9G.jpg

These methods only have 64-bit compressors.
If the game to be compressed does not work on 32-bit systems (64-bit only), edit the Settings.ini file.
Code:

[Settings]
64BitOnly=1

If the game works on 32/64 bit systems I do not recommend using these methods because it will not be possible to install on 32 bit systems.
If you never need to install on 32-bit systems you can change the key of the Settings.ini file even if the game is compatible with 32/64-bit systems

XxAZAxX 21-01-2021 11:27

Hi everyone :'(
 
Hi, I downloaded the new version 7.2.2 and modifying as usual only the info type name etc. etc. as always done, now the problem is that it does not install anything when I load the game the completion happens in a flash, like compression always used "FreeArc" method -m5 changing extension (as always done) how come now I can't install? how do i make everything work as before? (it seems that InternalRecords is no longer there or am I wrong?) Thanks for all friends :)


All times are GMT -7. The time now is 15:16.

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