![]() |
1 Attachment(s)
Quote:
I added 2 modes. (I commented on the mode with external functions) |
Quote:
it's working smooth as butter.. |
1 Attachment(s)
Hey guys.
Can someone help me with a problem. I was wondering if you have a way to convert hexadecimal Cyrillic characters (string) to a string using only inno setup functions or just the windows API without including additional libraries. Summing up: I would like to convert: C := Chr($05E2); I attached a file with a function that uses this, but I can't get it to work without including an additional library (I don't want to use Libs) If some of the more knowledgeable users can help me, thank you in advance. Please look at the attached code. |
Quote:
Chr accepts byte value and returns ASCII value, $0532 is a Word value You must use #$???? For UTF-8 format, example C := #$05E2 |
Quote:
They are Word values. I know that chr only supports Byte and these type of characters are word type. But as in the script example, I need to convert a hexadecimal string read from the inno setup language file and convert it to a string (text). Code:
S1 := '<0420><0443><0441><0441><043A><0438><0439>';I want to do this using only API or in the script itself if there is im way to do this without external DLL. Please take a look at the script. |
1 Attachment(s)
Quote:
BTW if you are on discord pl add me (discord id: buntionly4u#4466) Code:
function InitializeSetup(): Boolean; |
Quote:
I get the string using the ISPP by calling the ReadIni function. Check the Russian.isl language language of Inno Setup and try to read the key LanguageName= using GetIniString and try to transform it into text as in your message. Download the ChrW script that you will understand. |
Hey guys&girls :p
I'm looking for a char (preferably) or icon (max 14x14px) to display free/need space, which can be understand in any language (or at least most). Anyone have ideas? I already had looked through windows charmap but can't find anything usefull. |
If we want to run any task during installation we can use below command which run the task or other program in a separate window:
Code:
function Exec(const Filename, Params, WorkingDir: String; const ShowCmd: Integer; const Wait: TExecWait; var ResultCode: Integer): Boolean;If yes then pl tell how to do it.. Thanks in advance.. |
Quote:
download ISutils and got the CaptureConsole.iss https://www.fileforums.com/showthread.php?t=99835 |
1 Attachment(s)
Quote:
Be aware that the commands used do not ask for confirmation. |
1 Attachment(s)
Quote:
Quote:
|
Quote:
|
[QUOTE=bunti_o4u;486495]Thanks.. It worked with my script. But it throwing weird output don't know why.
https://docs.microsoft.com/en-us/win...dconsoleoutput |
Quote:
|
Quote:
|
Quote:
Quote:
I think it is writing the output per second.... Ideally it should write output if there is change in output string.. |
|
Quote:
Could you send the entire code? I don't get that warning when compiling any version of it Edit: I get it as well with compact mode = 1, that code it's not used after preprocessing (ISPP), that's why it give you that warning The code after line 4503 shown in the screen it's not present during the compiling |
I already got it :p
But it's not that bad anyway. I was just courios. |
Quote:
You would not have been able to compile with the variable ReloadComponents outside the area defined in the ISPP Code:
ReloadComponents: = False;Code:
#if UseComponents == "1"Code:
var |
i have problem with xtool unpack
i use this method code to Compress Code:
-mxprecomp+srep:m3f:a16:d1g+lolz:dtb1:d128m:mtt1:mt8:tt8:mc1023:fba0and this arc.ini fail Code:
[External compressor:lolz]but this error when use any Script to unpack https://i.imgur.com/eNZpaMU.jpg https://i.imgur.com/WAoRxYb.jpg :confused: |
Quote:
RC_ERRCODE_INVALID_COMPRESSOR= -2; (* Invalid compression method or parameters *) |
Hi guys
I am a beginner at this, I am trying to repack a 60gb game (Heat) and I am confused on how to add FreeARC to my installer. Can someone give me a tutorial? I am super interested in repacking/compressing games. Can you send me some guides through private message? Thanks |
Label not showing up
Hi all, dipping my feet back into the Inno pool again - I have gotten to the point where I am trying to add a label, but the label does not show up. Perhaps I am missing something?
[CODE] Code:
varCode:
Requiredlabel := TLabel.Create(WizardForm);Code:
procedure CurPageChanged(CurPageID: integer);https://i.imgur.com/7glfbBQ.png The pink highlights were the label is meant to be. |
Try to change the parent of the label
Code:
Parent := WizardForm(.WelcomePage);Code:
SetBounds(WizardForm.DirEdit.Left, WizardForm.DirEdit.Top + ScaleX(20), ScaleX(390), ScaleY(25));PS: And if I were you, I would change the SetBounds integers and add ScaleX/Y to it :p |
Adding the parent made it work, thank you! That'll explain why I couldn't get other things to appear too.
|
Hi, does Exec2 support extra parameters on files?
Say if I want to use 78372's directory patcher, it needs: dpzapply patch.dpz {app} - but the normal application cannot understand {app}, so Inno has to execute it - can Inno do this? |
Yes it does.
Code:
function Exec2 (FileName, Param: PAnsiChar; Show: boolean):boolean;Code:
Exec2(ExpandConstant('{app}\DirPatcher.exe'), 'dpzapply patch.dpz', true); |
Thanks, can Exec2 run .msi executables too? I tried with the XNA framework redist installer however Exec2 didn't seem to do anything. Maybe I mis typed the command.
Thank you for the helpful answer. |
I don't think so.
I don't remember exactly, but you have to run a system executable (from windows system folder) with the msi file as parameter. I really don't remember which file this was ... :p Edit: https://jrsoftware.org/iskb.php?msi |
Quote:
|
Does anyone know how to show up the decompression percentage of a file which in inside a archive with ISDone?
i mean if i decompress a archive like data1.bin with ISDone, i need to show up the percentage of a file (like tanks.pak) inside the archive. for a example := Code:
Total : 24% completed. |
I think this is at least possible with unarc.
At least the freearc example is able to do this (but I don't know if the example is using isdone). |
Quote:
|
Quote:
Can Anyone Help Me Adding This Script To The Below Script Windows Phone Installer Script Plz Do Help As I am A Newbie(usually Noob) In SCRIPTING SETUPS |
I repacked a game using FreeArc (and XTool19H8, SREP and LOLZ), what tool is best to create a simple setup .exe (no graphics needed) to install redists / decompress the game files?
|
1 Attachment(s)
Quote:
|
Quote:
As you have already compressed the game, the same compressor/decompressor (or similar) must be used to decompress the game. Maybe you can use Light Installer Script 1.0.0.7 and define the compressors you used in COMPRESSOR_GUI.exe. You may need to replace the XTool exes with the one you used for compression (testing only). If you can recompress the game you can use the latest "Light Installer Script v1.0.0.8". |
Quote:
|
| 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