![]() |
Does anyone know any way to send a text from one Inno Setup executable to another?
Similar to the SendMessage function. Is there any way to use WM_COPYDATA with SendMessage in Inno Setup? It is not possible to configure WindowProc without pointers in innoSetup (It is not possible to type for TCopyDataStruct). |
Preprocessor Issue: Inno Setup
I've a problem. How to fix this? :confused:
https://i.ibb.co/Q6b8bbv/Screenshot-...-18-142010.png Example: Code:
Load.iniCode:
Test.iss |
Change the lines:
Code:
#define public FCache[i] ReadIni(... |
Quote:
|
I know there's an if/else but is there an if/else for ifdef?
Example: Code:
#define example |
|
Quote:
Code:
#define example 5 |
Help with Progress Bar
Hello everyone, I am trying to add a progress bar to a script.
Code:
Progress:= TNewProgressBar.Create(WizardForm);Code:
function ProgressCallback(OveralPct,CurrentPct: integer;CurrentFile,TimeStr1,TimeStr2,TimeStr3:PAnsiChar): longword;Code:
if CurPageID = wpInstalling thenI'm not entirely sure why the progress bar isn't showing up during installation. I click "Install" to trigger wpInstalling. THe directory box and the browse button disappear and the desktop icon checkbox is frozen. However, the progress bar does not appear. Why could this be? Thanks! |
Quote:
Maybe it's because you set Parent = WizardForm. If you are a native installer, the parent should be the wpInstalling page. If you are an installer that uses the native interface, try setting the ProgressBar Parent to: Code:
Parent: = WizardForm.ProgressGauge.Parent; |
Quote:
|
Is there any way I can use ExtractTemporaryFile with the * wildcard?
Currently I have this: Code:
[Files] |
Quote:
HTML Code:
#define Resources "Files\*" |
Quote:
Code:
[Files]So I recommend you change to {tmp} in the DLL functions, or specify a destination other than {tmp} for them using the dontcopy flag. Code:
function ISArcExtract(CurComponent: Cardinal; PctOfTotal:double; InName, OutPath, ExtractedPath: AnsiString; DeleteInFile: Boolean; Password, CfgFile, WorkPath: AnsiString; ExtractPCF: boolean ):boolean; external 'ISArcExtract@files:ISDone.dll stdcall delayload'; |
Can anyone tell me if it is necessary to call these IsDone functions below if I do not use the ISFindFiles e and ISPrecompExtract and ISSRepExtract functions.
Code:
if not SrepInit(ExpandConstant('{app}\'), 512, 0) thenI will only use IsArcExtract, IsRarExtract, IS7ZipExtract and ISxDeltaExtract. |
@Cesar82
No, you don't. |
Quote:
Code:
function ISDoneInit (RecordFileName:string; TimeType, Comp1, Comp2, Comp3:Cardinal; WinHandle, NeededMem:longint; callback: TCallback):boolean;Code:
function SrepInit (TmpPath:PAnsiChar; VirtMem, MaxSave:Cardinal):boolean;Code:
function FileSearchInit (RecursiveSubDir:boolean):boolean;If you specify true Then when specifying the input file name containing the mask (eg * .pcf), files will be searched in the same in all subdirectories from the specified path. If false - Only in the specified folder. |
Can anyone here tell me how can i direct my setup to install a font without informing the user and the first priority of setup must be installing the font
Thanks |
Quote:
|
Components Full and Custom Help
Hello everyone, trying to know how I can get the components to be fixed when in full installation but then selectable when in custom installation:
-The Full Installation at the moment- https://imgur.com/aS2TWYh -The Custom Installation at the moment- https://imgur.com/Lgl13Fl Thanks for the help! |
Can someone Explain what does those two hyphen or minus do?
Code:
packcmd = xtool precomp -mzlib+preflate -c32mb -t100p --dbase=temp.db - - <stdin> <stdout>Also these "<stdin> <stdout>" are only used in Installer's Arc.ini right? For UnArc.dll? |
is there any option in inno for example if component A is selected then the setup will extract specified file and if selected B then other specified file
Edit:- Files are embeded in installer |
Quote:
Code:
if LowResourceCB.Checked then begin |
Quote:
|
Try like this
Code:
if LowResourceCB.Checked then begin |
How to show custom text instead of LABELCURRFILE
I know that we need to put .Hide in front of it to stop showing current file name but what to do to show custom text like Extracting or Unpacking...... etc THANKS |
Quote:
|
LABELCURFILE is not inside InnoSetup Support, maybe you mean 'StatusLabel' instead?
StatusLabel is showing 'Unpacking Files ...', FileNameLabel is showing current file. However, to make a new TLabel or TNewStaticText variable you can do something like this. Code:
var |
There was a plugin for Inno Setup that allowed for bat file / console application output to be redirected to the inno Setup memo window instead of producing a cmd window.
The name seems to have slipped my mind - can anyone help? |
Hi all,
Does anyone know if Inno Setup supports checksum parts/segments/other-name-here? A lot of my conversions have selective/optional .bins and I usually only supply the checksums for the "main" files, but was wondering if I could have multiple smaller checksum files for each component then splice these together to verify selected parts. |
Quote:
|
Damn, any idea where should i start to learn basic inno setup functions and stuff?
|
1 Attachment(s)
Quote:
It has other libraries like cmdout.dll (by Ele) but I don't know if it's public. I've also attached here an example using version without libraries. |
Quote:
RIGHT?? |
4 Attachment(s)
Quote:
Tested with: Inno 5.5.1.ee2(unicode) Enhanced and Inno 6.2.0(unicode). Note: There're two separate libraries here. One is for Inno and the other is for Delphi. Preview: |
@Ele, thanks your plugin works great in my tests. I tried the dll by BLACKFIRE69 however I could not get it to work.
Is there a way to stop my memo from echoing the same thing twice? Currently I have it set to echo the file currently being extracted however this means it echoes the same file over and over again until it moves onto the next file. Here's the current code: Code:
function ProgressCallback(OveralPct, CurrentPct: Integer; CurrentFile, TimeStr1, TimeStr2, TimeStr3: PAnsiChar): LongWord; |
Yes it it possible the way you thought on it. I remember this was the case in all your repacks and I wondered why you made it this way :)
However, I think there is a more easier way to do this. I guess one of our experts will answer you on this :D |
Quote:
Memo.Lines.Add('Unpacking: ' + CurrentFile); |
Quote:
I don't know if the filenames are partially cut off or not. Let's say you have 2 files with same names in somewhat similar paths then the second file will also be displayed. Example: 1) Data1.bin destination {app}\bin FileName = Bin32\File1.txt FileName = Bin32\File2.txt 2) Data2.bin destination {app}\ FileName = Bin\Bin32\File1.txt FileName = Bin\File3.txt In this case there are similar names as long as it is not the same name as the previous line, it will be added. Code:
if (Memo.Lines.Count = 0) or (CompareText(Memo.Lines.Strings[Memo.Lines.Count - 1], 'Unpacking: ' + CurrentFile) <> 0) then |
Quote:
|
Is there an inno library that support blake3 hashings? ISHash does MD5 but not Blake3.
|
| All times are GMT -7. The time now is 06:37. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com