FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   FMXInno Chronicles: Installer Source Code Index / Repository (https://fileforums.com/showthread.php?t=106220)

Yourname 02-05-2025 03:12

Well, the vsf2fm tool doesn't convert everything completely, in fact it leaves out some things. I'm writing a code in Delphi that completely converts the styles that will then be read with inno (In FMX 2.5)

Yourname 02-05-2025 12:37

Hello again, i completed the "Beta" of the tool i called fsf2raw (but it can also do raw2fsf). That converts FMX 2.5 styles from Plain to Indexed Binary and vice-versa.
To use it:
- fsf2raw tf input.style output.fsf
or
- fsf2raw ts input.fsf output.style

The download can be found on my site HERE.

The password is of course "Felix_550" (without the quotes).

Yourname 03-05-2025 01:12

Quote:

Originally Posted by audiofeel (Post 507524)
Everything seems to be working
I think this utility needs a GUI. It's not 1999

Oh, and here I was still thinking it was the year 2000... I guess I’ll have to update it—
Time to get to work! :) ;)

Yourname 03-05-2025 04:01

Quote:

Originally Posted by audiofeel (Post 507538)
but in general I would like a small, not very cumbersome utility for quick editing of styles without resorting to rad studio

Yes I was thinking of something like this, but creating it with Delphi (I know almost nothing about it) is a big job. Do you happen to know if there is some library/dll to use in VB.net or c++, that allows you to use or modify FMX styles like a wrapper or, much better, something native? Thanks!

calho 16-06-2025 08:55

problem starting the installer
 
Hello, I have a problemin Radeon inno script : when it loads, the startup, and when you select the language, appears centered on the desktop, then the installer appears in the top left corner. How do I change it so that the installer starts centered on the desktop? Thank you, and sorry for my English.

calho 16-06-2025 11:13

Radeon
 
Thank you Bro

Lucifer Crossman 23-06-2025 21:01

Quote:

Originally Posted by audiofeel (Post 503592)
The design has been slightly changed, the pages are made on the FTABCONTROL. Custom switches.

Is it possible to make the installer accept DiskSpanGUI? If possible, how? Can you help me?

calho 26-06-2025 06:49

Hi again, I'm trying to create an installer with MonoChrome [29.04], but when I install it, I get an error.

The ISArcEx v0.4 module won't let me install it.
Thanks.

calho 26-06-2025 07:21

I'm using ultraarc 2.90
I don't know if it's the right one or if I should try another one.
I tried diskspan and I have the same problem.

calho 26-06-2025 07:45

Quote:

Originally Posted by audiofeel (Post 508090)
Ask the authors of these compressors a question on the relevant topic.

thanks

calho 28-06-2025 02:29

Hello, I have a problem when running the installation, for MonoChrome.iss I create the bin file with UltraARC, but it gives me an error, I don't know if the installer should include a library for external compressors.
Thanks for listening

lordgamer2354 02-07-2025 18:21

Quote:

Originally Posted by audiofeel (Post 508102)
In the monochrome installer, all test archives are compressed using Srep.
Code:

arc.exe a -i1 -ep1 -r -ed -s; -hp123test123 -w.\_temp -m=srep+dict:p+lzma _Output\data1.bin "data1\*"
and of course, for their proper unpacking, all files are already included in the installer, but only for Srep. you can compress the archive in another way, but you need to add all the necessary files to the script for unpacking. to do this, edit the files "Script_ToolsList.iss, Script_ToolsList_Init.iss"

and place these files in the appropriate folders

Great designs, you are pro in making these. can i know how you make them? i know thats pascal language but do you code them in editor in inno or there a gui tool like rad studio or something where you make these nice UI elements?

KenGamer 23-07-2025 01:41

Quote:

Originally Posted by audiofeel (Post 503600)
Froza Style
Adaptation - localization of the Java newstone script.
The functionality is all in place.
Four pages, installation of additional software. Checking the location.
Music. Everything scales perfectly by 200%.
Launch the game (after successful installation).
Restarting (itself) the installation after a failed installation.
Deleting the game (if there is a key in the registry) before starting the installation.
:)

Is there a tutorial on how to make our own style?

calho 30-07-2025 00:08

EndVer problem
 
Hi, how can I select the components I want to install instead of installing them directly? And if I want direct access to the desktop and start menu, I use EndVer.
Thanks.

Lucifer Crossman 16-08-2025 14:47

Quote:

Originally Posted by audiofeel (Post 508317)
Well, the design does not provide for all of the above

Можешь пожалуйста добавить в Redshank выбор языка установщика?

JIEXA MEDVED 16-08-2025 18:34

Quote:

Originally Posted by audiofeel (Post 504830)
You may need some kind of online service for selecting shades based on photos.

Google has a special color matching tool for such things. It works most than perfectly

Lucifer Crossman 05-09-2025 10:04

Quote:

Originally Posted by audiofeel (Post 508431)
well, damn, you give it, and in two days you ask for something else... If your question sounded something like this. - teach-show an example of how to make a language choice?

Извиняюсь. Сможете научить добавлять как многоязычность?

nodesire7 06-09-2025 16:53

Quote:

Originally Posted by audiofeel (Post 503595)
OpenSetup.
Design and idea = zettend
It's also a pretty popular script.
Checking for free space.
Installing additional software.
Custom cancellation and error forms.
FMemo.
:)

How do I package these scripts into a .bin file?
What tools are needed? Can you recommend some?
I'm a beginner.

Lucifer Crossman 07-09-2025 01:17

Quote:

Originally Posted by nodesire7 (Post 508480)
How do I package these scripts into a .bin file?
What tools are needed? Can you recommend some?
I'm a beginner.

FreeArc

kaka2021 07-09-2025 02:50

FreeArc cannot be divided into volumes
 
Quote:

Originally Posted by Lucifer Crossman (Post 508482)
FreeArc

FreeArc cannot be divided into volumes

nodesire7 07-09-2025 02:50

Quote:

Originally Posted by Lucifer Crossman (Post 508482)
FreeArc

Could you be more specific? Is it about using FreeArc to package and then rename the file to .bin? But after packaging, it prompts that the file is corrupted.

How do I split the file into several .bin files?

nodesire7 07-09-2025 04:06

Quote:

Originally Posted by audiofeel (Post 508487)
Divide the game by file type into different folders. Squeeze it. rename the archive extensions to .bin. change the password to the one you specified when compressing the archives.

Is there a mature and simpler method? Like software or a solution?

nodesire7 07-09-2025 04:38

Quote:

Originally Posted by audiofeel (Post 508490)
use all the compression programs and utilities posted on this forum. except for those that divide the archives into parts. it is better to do everything manually as in the attached archive, there is an approximate example of how to compress the STARFIELD game.
in the "path_to_game\*" field, specify the path where the game is located

It's a bit cumbersome for me, can it be simpler? How are the scripts in this post packaged? Are they all done this way? I just want to be faster.
Thaks!

nodesire7 07-09-2025 05:11

Quote:

Originally Posted by audiofeel (Post 508490)
use all the compression programs and utilities posted on this forum. except for those that divide the archives into parts. it is better to do everything manually as in the attached archive, there is an approximate example of how to compress the STARFIELD game.
in the "path_to_game\*" field, specify the path where the game is located

I see that "ISArcEx" is used for decompression in the code. What can I use to package the .bin files it supports?

nodesire7 07-09-2025 05:22

Quote:

Originally Posted by audiofeel (Post 503595)
OpenSetup.
Design and idea = zettend
It's also a pretty popular script.
Checking for free space.
Installing additional software.
Custom cancellation and error forms.
FMemo.
:)

I downloaded this script, then used "FreeArc" to package the files into data.arc and split them into .bin files, but it throws an error when the exe unpacks it.

https://raw.githubusercontent.com/no...0907202044.png

It tells me the archive is corrupted. How can I make this process work correctly?

kaka2021 07-09-2025 05:57

Can multiple bins be split?
 
Quote:

Originally Posted by audiofeel (Post 508496)
Put the files and folders that need to be compressed in the data1 folder. Run the _Pack.bat, after completion, there will be an archive in the _Output folder.

Can multiple bins be split?

nodesire7 07-09-2025 06:35

Quote:

Originally Posted by audiofeel (Post 508496)
Put the files and folders that need to be compressed in the data1 folder. Run the _Pack.bat, after completion, there will be an archive in the _Output folder.

Are you only splitting into one .bin file? How can I split it into multiple files?

So, I still have to manually split the file and package them separately, right?

The reason I had this question is that I previously had a packaging tool that could directly split files into volumes like that. Unfortunately, the tool's author no longer maintains the server, so it's unusable. I thought there might be similar tools available. If not, I'll just implement it myself using Python.

Okay, I understand. Thank you very much for the explanation.

Thanks for your help!

kaka2021 07-09-2025 08:08

Can't this be downloaded at the moment?
 
Quote:

Originally Posted by audiofeel (Post 508502)
This won't happen with IsArcEx, it needs to know how many archives and how much uncompressed data are there before unpacking. if you want to share archives like in DiskSpan, you'll have to use isDone for unpacking, because it doesn't matter, it has a test run.

https://fileforums.com/showpost.php?...92&postcount=7
Can't this be downloaded at the moment?

Snake288 07-09-2025 10:49

Hello
 
https://fileforums.com/showpost.php?...92&postcount=7 Hello, does this support Redshank DiskSpan GUI?

kaka2021 07-09-2025 16:43

Sorry to bother you.
 
Quote:

Originally Posted by audiofeel (Post 508507)
No

https://fileforums.com/showpost.php?...92&postcount=7
Could you please help me take a look and add the installed game pop-up webpage? I have tried this code many times, but it still hasn't worked
if CurStep = ssDone then
ShellExec('open', ' https://www.baidu.com ', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
end;

kaka2021 07-09-2025 19:06

Yes, that's right. After the installation is complete, a pop-up page will appear.
 
Quote:

Originally Posted by audiofeel (Post 508516)
I translated it three times and didn't understand anything. after what operation do you need the browser to start from your page? after exiting the installer? on the last page?

Yes, that's right. After the installation is complete, a pop-up page will appear.

Lucifer Crossman 08-09-2025 10:01

Quote:

Originally Posted by kaka2021 (Post 508517)
Yes, that's right. After the installation is complete, a pop-up page will appear.

I don't get it. Do you want a window with a website to pop up after installing any game?

nodesire7 08-09-2025 11:20

Quote:

Originally Posted by kaka2021 (Post 508512)
https://fileforums.com/showpost.php?...92&postcount=7
Could you please help me take a look and add the installed game pop-up webpage? I have tried this code many times, but it still hasn't worked
if CurStep = ssDone then
ShellExec('open', ' https://www.baidu.com ', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
end;

Add the following under `[Icons]` in your Inno Setup script:

Quote:

[Run]
Filename: "https://www.google.com"; Description: "website"; Flags: postinstall shellexec skipifsilent; Tasks: ; Languages:
This will add a shortcut that opens the Google website after installation.

kaka2021 08-09-2025 19:01

Could you please help me see if this term 'secs' can be translated into Chinese
 
Quote:

Originally Posted by Lucifer Crossman (Post 508523)
I don't get it. Do you want a window with a website to pop up after installing any game?

https://zdir.play5g.cn/public/%40Pikachu/xxccvv.png

"Could you please help me see if this term 'secs' can be translated into Chinese?"

kaka2021 08-09-2025 19:02

Thank you
 
Quote:

Originally Posted by nodesire7 (Post 508525)
Add the following under `[Icons]` in your Inno Setup script:



This will add a shortcut that opens the Google website after installation.

Thank you

nodesire7 08-09-2025 22:17

Quote:

Originally Posted by audiofeel (Post 508516)
I translated it three times and didn't understand anything. after what operation do you need the browser to start from your page? after exiting the installer? on the last page?

I'm having trouble with the Open Setup [17.05].iss script you released; it's not creating shortcuts during my tests.

Here's my INI configuration:

Code:

[Execs]

[Execs\AppExe1]
name=Titan Quest II
exe=TQ2.exe
icon=TQ2.exe
args=TQ2_PC
workdir={app}

Is there anything wrong with this?

I also modified the `[Icons]` section, but it still doesn't create shortcuts:

Code:

[Icons]
#sub InitIcon
  #define IcnSubSec ReadMInI('GetSubSection', '/MainSec=Execs /Idx=' + Str(i) + ' /RootOnly=true')
  #if IcnSubSec != ""
    #define IcnName ReadMInI('ReadSubString', '/MainSec=Execs /SubSec=' + IcnSubSec + ' /Key=Name')
    #define IcnExe ReadMInI('ReadSubString', '/MainSec=Execs /SubSec=' + IcnSubSec + ' /Key=Exe')
    #define IcnIcon ReadMInI('ReadSubString', '/MainSec=Execs /SubSec=' + IcnSubSec + ' /Key=Icon')
    #define IcnArgs ReadMInI('ReadSubString', '/MainSec=Execs /SubSec=' + IcnSubSec + ' /Key=Args')
    #define IcnWorkDir ReadMInI('ReadSubString', '/MainSec=Execs /SubSec=' + IcnSubSec + ' /Key=WorkDir')
Name: "{autodesktop}\{#IcnName}"; Filename: "{app}\{#IcnExe}"; IconFilename: "{app}\{#IcnIcon}"; Parameters: "{#IcnArgs}"; WorkingDir: "{app}"; Check: CreateDesktopIcons
Name: "{group}\{#IcnName}"; Filename: "{app}\{#IcnExe}"; IconFilename: "{app}\{#IcnIcon}"; Parameters: "{#IcnArgs}"; WorkingDir: "{app}"; Check: CreateGroupIcons
  #endif
#endsub
#for {i = 0; i < MAX_ICONS; i++} InitIcon
#endif

Is there an error in my code?

I see the problem now.

[13:08:11.022] -- Icon entry --
[13:08:11.027] Target filename: C:\Users\Public\Desktop\Titan Quest II.lnk
[13:08:11.030] Creating icon.
[13:08:11.035] Icon successfully created.
[13:08:11.080] -- Icon entry --
[13:08:11.083] Target filename: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\(Default)\Titan Quest II.lnk
[13:08:11.087] Creating directory: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\(Default)

But how to fix it?

Code:

[Setup]
; Add this line to explicitly define the Start Menu folder name
DefaultGroupName=Game\{#ReadMInI('ReadString', '/Sec=Setup /Key=Path')}

[Icons]
; Fix: Use {userdesktop} instead of {autodesktop}
Name: "{userdesktop}\{#IcnName}"; Filename: "{app}\{#IcnExe}"; IconFilename: "{app}\{#IcnIcon}"; Parameters: "{#IcnArgs}"; WorkingDir: "{app}"; Check: CreateDesktopIcons
Name: "{group}\{#IcnName}"; Filename: "{app}\{#IcnExe}"; IconFilename: "{app}\{#IcnIcon}"; Parameters: "{#IcnArgs}"; WorkingDir: "{app}"; Check: CreateGroupIcons
  #endif
#endsub
#for {i = 0; i < MAX_ICONS; i++} InitIcon
#endif

This modification should be correct, right?

It workit!

Warning: The "[Setup]" section directive "PrivilegesRequired" is set to "admin," but the script uses the per-user area (userdesktop). Regardless of the Windows version, if the installation is running in administrative install mode, be cautious when making any changes to the per-user area: these changes may not achieve your intended effect. For more information, see the "UsedUserAreasWarning" topic in the help file.

nodesire7 09-09-2025 23:39

Quote:

Originally Posted by audiofeel (Post 508538)
I won't help you here, try translating everything in the russian.ini or english.ini file yourself. that's where it's translated.

I've tried these methods, but I can't translate this part. It needs to be forcibly replaced in Inno Setup because it's a parameter in the DLL. If I want to change it, I have to modify the DLL.

Code:

// 替换时分秒
function ReplaceTimeUnits(TimeStr: WideString): WideString;
var
i: Integer;
begin
Result := TimeStr;

// 先处理复数形式,再处理单数形式,避免替换不完整
while Pos(' hrs', Result) > 0 do
Result := Copy(Result, 1, Pos(' hrs', Result) - 1) + ' 小时' + Copy(Result, Pos(' hrs', Result) + 4, Length(Result));

while Pos(' hr', Result) > 0 do
Result := Copy(Result, 1, Pos(' hr', Result) - 1) + ' 小时' + Copy(Result, Pos(' hr', Result) + 3, Length(Result));

while Pos(' secs', Result) > 0 do
Result := Copy(Result, 1, Pos(' secs', Result) - 1) + ' 秒' + Copy(Result, Pos(' secs', Result) + 5, Length(Result));

while Pos(' sec', Result) > 0 do
Result := Copy(Result, 1, Pos(' sec', Result) - 1) + ' 秒' + Copy(Result, Pos(' sec', Result) + 4, Length(Result));

while Pos(' mins', Result) > 0 do
Result := Copy(Result, 1, Pos(' mins', Result) - 1) + ' 分钟' + Copy(Result, Pos(' mins', Result) + 5, Length(Result));

while Pos(' min', Result) > 0 do
Result := Copy(Result, 1, Pos(' min', Result) - 1) + ' 分钟' + Copy(Result, Pos(' min', Result) + 4, Length(Result));
end;

function ProgressCallbackEx(OverallPct, CurrentPct, DiskTotalMB, DiskExtractedMB, TotalFiles, CurFiles: Integer; DiskName, CurrentFile, RemainsTime, ElapsedTime, CurSpeed, AvgSpeed: WideString): longword;
begin
Page4Arc.Angle(OverallPct, 1000);
Page4Lbl[2].Text(IntToStr(OverallPct div 10) + '%');
Page4Lbl[11].Text(': ' + CurrentFile);
Page4Lbl[12].Text(': ' + ReplaceTimeUnits(RemainsTime));
Page4Lbl[13].Text(': ' + ReplaceTimeUnits(ElapsedTime));
Page5Lbl[3].Text(CustomMessage(UILang + 'Page5Lbl3') + #9 + ': ' + ReplaceTimeUnits(ElapsedTime));

Result:= ISArcExCancel;
end;

I succeeded by modifying it this way.

https://raw.githubusercontent.com/no...0910143940.png

I checked other script, and it's all similar. Making slight modifications, similar to what I sent, allows for successful replacement.

nodesire7 10-09-2025 22:55

Quote:

Originally Posted by audiofeel (Post 508538)
I won't help you here, try translating everything in the russian.ini or english.ini file yourself. that's where it's translated.

https://images.weserv.nl/?url=https:...113544.005.png

Why do other people encounter errors when installing the downloaded files?

Did the file get corrupted during download?

Have you ever encountered this situation where I can install the file normally after downloading it myself, but others can't?

Does the packaging method have hardware requirements during decompression?

kaka2021 14-09-2025 07:25

I would like to report that my Windows 11 system is encountering recurring crashes an
 
Quote:

Originally Posted by audiofeel (Post 503592)
The design has been slightly changed, the pages are made on the FTABCONTROL. Custom switches.

I would like to report that my Windows 11 system is encountering recurring crashes and errors. I request assistance to resolve this issue.

kaka2021 14-09-2025 07:26

https://fileforums.com/showpost.php?p=503592&postcount=7
 
Quote:

Originally Posted by audiofeel (Post 503592)
The design has been slightly changed, the pages are made on the FTABCONTROL. Custom switches.

I would like to report that my Windows 11 system is encountering recurring crashes and errors. I request assistance to resolve this issue.


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

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