![]() |
Something like this?
https://github.com/namazso/OpenHashTab Edit: Scratch it, it's just a shellext installer... Maybe ask peterf if he got some spare time to add it into ishash |
Can Help Me ?
|
I didn't expect it before. the newest version of Inno Setup 6 was no longer code of Application.ProcessMessanges; Is there any similar this code?
|
Quote:
function TranslateMessage(const lpMsg: TMsg): BOOL; external '[email protected] stdcall'; function DispatchMessage(const lpMsg: TMsg): Longint; external '[email protected] stdcall'; procedure AppProcessMessages; var Msg: TMsg; begin while PeekMessage(Msg, 0, 0, 0, 1) do begin TranslateMessage(Msg); DispatchMessage(Msg); end; end; |
Quote:
|
Quote:
Code:
type |
Is there a way to make a listener (code, etc) that listens to get file size in an inno setup? My goal is to show progress in nanozip. It will listen to the nanozip output file with a time interval and get to the rate of total file size to the current size.
|
Is there a way to detect the amount of CPU threads / cores there are and do something accordingly?
Eg. if CPU_THREADS = 6 then begin do_stuff end else begin do_other_stuff end; Asking because some multithreading tools crash when dealing with 6 or 12 threads. |
Quote:
Code:
function GetSysCores(): Integer; |
DiCaPrIo
So I would put if GetSysCores = 6 in the if loop after calling the function? |
Quote:
Code:
procedure InitializeWizard(); |
Quote:
if GetSysCores = 6 then begin end; The function can also be simplified using variables of type variant so you can get any supported value just by changing the string you want to search for. Code:
function GetSysInfo(const WMIClass, WMIProperty: String): Variant;You can also use the API if you prefer to get Threads. Code:
type |
Has anyone had an installer made using inno setup just soft-lock consistently? Trying to unpack an archive but it consistently gets stuck on this one file, refusing to progress any further, the funny thing is though, no error codes are displayed, the applications "elapsed time" function continues to run, with CPU & Disk utilisation dropping to 0%, I'm honestly stumped on this one.
|
L33THAK0R
This appears an issue with the decompressor you are using and not inno setup itself. |
Quote:
|
Just as a preface, I originally posted this in the "ASIS" thread, but I reckon it might be more applicable here.
So I have a handful of repacks which have selective installs for a collection of titles, with each having its own shortcut to be placed on the users Desktop, should they select this as an option. Currently however, regardless of the end-users selection a shortcut for each entry made for the application is placed on the desktop, even if the target file is not present. It's not a critical issue but it is a slight annoyance. My proposed solution, as detailed below, was to use a function named "RemoveShortcut", which is used for the uninstaller generated for a given install, as can be seen here: Code:
[UninstallDelete]__________________________________________________ __________ ORIGINAL QUESTION: Hi all, Got a small question regarding whether my proposed solution could work at all (I'm terribly new to pascal/delphi). I've got a fair few packs that feature selective, multiple-title offerings to the end-user, each with their own, separate executable to launch from (since some are emulated and require a small script to launch the ROM), as well as their own entry under the shortcut section of the "Settings.ini" file used in ASIS (baked into a executable thats just a batch script wrapped in an exe). My issue is that regardless of the component selection, upon extraction of all selected archives, all desktop shortcuts defined within the "settings.ini" are generated (should the option be selected). My current thought process is using the "RemoveShortcut" function, in the Post-install section of the script to delete the shortcut, if a given .txt file is missing (which would be packed with a given selective offering), like so: Code:
|
I would like to know if anyone has a solution to my problem. I would like to display the thumbnail in the taskbar and at the same time include a checkbox to keep the installer window on top (over other windows) if the checkbox is checked. If I use the code from the page below to display the installer thumbnail on the taskbar the property "WizardForm.FormStyle" doesn't work.
Part of the code was obtained from: inno-setup-window-preview-in-taskbar If anyone can help me, I appreciate it. Below is a code to better understand my question. Code:
[Setup] |
Hi all.
Could you please help me with the following: I have an installer for a mod, but if a person uninstalls a mod, the whole game is uninstalled as well. How can I make it so that only the mod files are deleted? I was thinking of keeping an install log and taking files from it to delete, but damn, that doesn't work right. (It doesn't delete files from the list and it doesn't log small files) I'll attach a sample code) Thank you in advance. Code:
Function InitializeUninstall(): Boolean; |
Quote:
This function is called 4 times per second and only the current filename is shown in the output. If you use a native installation of Inno Setup (No UnArc/ISDone) it will only remove the installed files. But for you to continue using your script you can create a list using FindFirst and FindNext of all the files that are in the game folder right after the ISDoneInit function. After the ISDoneStop function you do a new check using FindFirst and FindNext and compare the names with the previous list using: if oldfileslist.IndexOf(<fullfilename>) < 0 then ins_log.Append(<fullfilename>); |
Quote:
Code:
procedure DeinitializeSetup;And perhaps an IsDone can be substituted? UPD/ I have information displayed in FMemo (InsLogBox : FMemo;), can it also be saved to a file? Code:
s := ExpandConstant('{cm:Extracting} ') + CurrentFile; |
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! |
Quote:
|
Hello, how do I display the installer at the bottom of the screen? instead of being in the middle?
|
[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 |
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); |
Quote:
|
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. |
There are GetIniInt and GetIniString functions.
|
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 |
Quote:
Code:
LZMADictionarySize=10500 |
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? |
1 Attachment(s)
Quote:
|
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'); |
I think there is no native way in Inno Setup to show animated gif images.
|
Quote:
|
I think there is isgsg.dll library
|
Quote:
|
Ok, so you want to show the gif image permanent somewhere on installer surface, like a bitmap image?
Pretty sure it's possible but never thought about that :( |
Quote:
|
I'm bloody new to Inno Setup script.
I've created the bins for a game, but I'm unsure how to have Inno decompress them Compression was PrecompX+srep+lolz precompx\x64\PrecompX.exe -e - - <stdin> <stdout> srep\srep.exe -m3f -l512 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp lolz\lolz_x64.exe -d256 -mc192 -mt4 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp Besides a few basic tutorials, I've not come across anything about decompression with ISS... |
| All times are GMT -7. The time now is 04:08. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com