FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   INNO TROUBLESHOOT - Questions Here (https://fileforums.com/showthread.php?t=93193)

kj911 26-11-2021 13:31

Questions from calculated installed game size info added via INNO setup appsize info: Use raw bytes count on installed all files or use phsycal disk storage count calculated via OS??? (Note: The disk size reservation is related to the sector size. Example: 512byte, 4096byter, 32kB, etc...)

Example:

~160k files, and size in bytes (without uninstaller): 19 034 361 518 byte
OS calculated Disk Space size (NTFS, WinXP): 19 340 095 488 byte

Size difference its ~300MB!

Joe Forster/STA 26-11-2021 23:58

Quote:

Originally Posted by kj911 (Post 495032)
(Note: The disk size reservation is related to the sector size. Example: 512byte, 4096byter, 32kB, etc...)

That's more precisely the cluster size.

fabrieunko 03-12-2021 04:02

Hello, how do I display the installer at the bottom of the screen? instead of being in the middle?

sakhjack 12-05-2022 15:17

[Dying Light] csb file failed CRC check
 
Unarc.dll error code: -12
Error: file ...\Music_2.csb failed CRC check
compression: xtool:mreflate + any other method
things tried: disable AV, install MVC++, increase page file, install on different drive
-----
using different pre-compressor like xt_lzo (or none at all) solves the issue

kj911 24-05-2022 07:39

The task killing code (green line, from use Xtool) its works from newer OS than Win XP??

Code:

procedure CancelButtonClick(CurPageID: Integer; var Cancel, Confirm: Boolean);
....
ISDoneError:=True;
ISDoneCancel:=1;
Exec('taskkill.exe', '/f /im XT.exe','', SW_HIDE, ewNoWait, ResultCode);
DelTree(ExpandConstant('{app}'), True, True, True);
AllCancel2;
....


Joe Forster/STA 24-05-2022 23:50

Quote:

Originally Posted by kj911 (Post 496961)
The task killing code (green line, from use Xtool) its works from newer OS than Win XP??[/CODE]

It does.

L33THAK0R 05-08-2022 23:02

Is it possible to import an external variable, for example the name of the software package that is defined within a ".ini" config file, for use in an Inno Setup message (namely SetupAppTitle, line 31)?

In essence I'm attempting "SetupAppTitle" to read (for example) "{#Game_Name} Setup", but can't quite figure out if this is possible. I'm currently just manually overwriting the value in question but it is a tad tedious.

KaktoR 06-08-2022 00:35

There are GetIniInt and GetIniString functions.

L0v3craft 24-08-2022 14:07

Hi guys. I'm using Inno Script Studio + Inno Setup (both updated) to compress little games. For example "Cult of the Lamb" (1.14GB).

I have tested the installation on my pc (ryzen with 16 threads and 16GB of ram), but a friend of mine is getting an error "out of memory" on his pc with 32GB of ram.

These are the parameters that I'm using:

Compression=lzma2/ultra64
DiskSpanning=yes
DiskSliceSize=max
LZMAUseSeparateProcess=yes
LZMADictionarySize=1048576
LZMANumFastBytes=273

someone knows which one of those parameters is causing "out of memory" error in installation? Thanks to everyone that is going to help me.

Checking from the task manager, the setup in installation is using 1029MB of ram at max and works fine on my pc.

Edit: solved using -> LZMADictionarySize=524288

Lord.Freddy 24-08-2022 22:39

Quote:

Originally Posted by L0v3craft (Post 498074)
Hi guys. I'm using Inno Script Studio + Inno Setup (both updated) to compress little games. For example "Cult of the Lamb" (1.14GB).

I have tested the installation on my pc (ryzen with 16 threads and 16GB of ram), but a friend of mine is getting an error "out of memory" on his pc with 32GB of ram.

These are the parameters that I'm using:

Compression=lzma2/ultra64
DiskSpanning=yes
DiskSliceSize=max
LZMAUseSeparateProcess=yes
LZMADictionarySize=1048576
LZMANumFastBytes=273

someone knows which one of those parameters is causing "out of memory" error in installation? Thanks to everyone that is going to help me.

Checking from the task manager, the setup in installation is using 1029MB of ram at max and works fine on my pc.

Use this:
Code:

LZMADictionarySize=10500

Lord.Freddy 27-08-2022 04:43

Inno setup Enhanced edition(5.5.1.ee2)(u)
 
Hi guys, I have questions about features of this version

1: what's the [speed button] is and what is its use?
2: how to create a custom page in design mode?

Cesar82 28-08-2022 14:19

1 Attachment(s)
Quote:

Originally Posted by Lord.Freddy (Post 498103)
Hi guys, I have questions about features of this version

1: what's the [speed button] is and what is its use?
2: how to create a custom page in design mode?

Speed Button (see image) of the New SpeedButton class is a button with the option of including a context menu, but for this you must also use TPopupMenu and TMenuItem.

Masquerade 01-09-2022 05:48

Is there a list of T<> identifiers in Inno Setup 6?

I am trying to load an animated gif but I'm finding it hard. TBitmapImage is incorrect, I found references online to needing to use TGifImage or TImage but they don't appear to exist in inno.

Here's what I have so far (I understand that it isn't correct):

Code:

  ExtractTemporaryFile('LOGOIMAGE.GIF');
  LogoImage := TGifImage.Create(WizardForm);
  with LogoImage do
  begin
    Name := 'LogoImage';
    Parent := WizardForm;
    SetBounds(ScaleX(10), ScaleY(10), ScaleX(300), ScaleY(60));
    //Gif.LoadFromFile(ExpandConstant('{tmp}\LOGOIMAGE.GIF'));
  end;

Thanks!

KaktoR 01-09-2022 06:00

I think there is no native way in Inno Setup to show animated gif images.

Masquerade 01-09-2022 06:01

Quote:

Originally Posted by KaktoR (Post 498153)
I think there is no native way in Inno Setup.

Would that mean I would need to include a library such as botva2?


All times are GMT -7. The time now is 03:57.

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