![]() |
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. |
| All times are GMT -7. The time now is 09:48. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com