![]() |
Quote:
Watch the video to see the error. I went to shoot a video and showed an error message (This time it didn't end directly). The message box is displayed with a skin totally different from the skin used. Componets are compressed separately. Each game in your data file as game1 = Data1.bin.001, game2 = Data2.bin.001. In the Tools folder of the CIU thred inside the UltraArc folder there is a modified DiskSpan.bat (if you want to see it). What is the minimum version of DELPHI to compile cls-diskspan.dll? I adapted the code and compiled it with DELPHI 2010 (To make it smaller size), but it didn't work(Not show erros, simply closes the installer). With Seattle or RIO I know it works, but which previous version also works? |
Quote:
|
Quote:
Quote:
Quote:
Quote:
|
Quote:
NORMAL: 1130 Kb (1.10 MB) >> UPX = 288 Kb if compile with DELPHI 2010 (but not work) = NORMAL: 339 Kb >> UPX 119 Kb. I will try with other dephi XE versions later. But it would be useful to know what would be the minimum version of DELPHI that this source works for. Thank you! |
Quote:
|
Quote:
I think, To make the installer in smaller size.:) We working with compression.,Why dont we use the necessary(small) library to make the installer in below 2 mb size.:p. And.....thanks for returning to your awesome project.:D |
Quote:
If you only use a few libraries, that's okay with a larger size. But when using multiple libraries it makes large sizes inconvenient for two reasons. 1. Setup.exe ends up getting bigger. 2. The extraction time of these compressors/libraries is longer. With smaller sizes it is possible to use compression mode none (whitout compression) in Setup.exe reducing the time of extraction of these compressors/libraries. To get an idea joining libraries and compression tools in the CIU source code and assuming that the creator of the conversion wants to make the option available to the end user to choose any of the methods supported by the ciu (Including all compressors/libraries) the size of the sum of these files is more than 50 MB (And there is another 6 MB of library files intended for graphics). Yes, there are only a few Kb, but if each compressor/library has a gain of 150 Kb, it would reduce the final size considerably (in this situation there are more than 100 files). Of course, most of the time it doesn't. Of course, if it doesn't work well it is preferable that it be bigger and without bugs. As the friend commented, the idea is to have final sizes as small as possible from the installer + data file set. |
@Cesar82 ... MPress has a faster execution speed than UPX, and a false positive warning factor lower than UPX. I have not tested it on your work but in the ahk language on the conversion into executable. you can try.
|
The VclStyle bug is not related to diskspan. I tried to make DiskSpan create the form in another thread, the problem persisted. I ended up downloading the source of VclStyle to see how it really works and VclStyle just tries to make sure all the forms/dialogs use the same style including the ones created externally, as you can see in the video.
DiskSpan is not involved at all, I just made ISDone produce an error to show a message then I just waited to see what will happen. https://youtu.be/0j7Lx0nxhLY Basically, use this VclStyle library in your scripts if you know that the other libraries you import don't create additional forms/dialogs else you'll have this issue whether diskspan was used or not. |
1 Attachment(s)
Quote:
So the error happens inside ISDone.dll (VCLStyle.dll does not support ISDone.dll)? because with a library called directly by the installer the window is displayed correctly. If this error is internally in VCLStyleInno.dll, and public source code, and someone has enough knowledge to correct it, please try it because it would be very useful. Thank you. |
Quote:
|
Cesar you could try Benjamin, but you have to waste some time with the various options to use.
https://i.ibb.co/QDMWxby/img.png |
I think, it's nothing but wasting of time to compress lib or exe because setup size increases and also decreases some speed while opening the setup generally for dll being used after compiling.
It compresses twice or if twice is being used so better use Flag:nocompression with compressed one on [Files] sec, it prevents from increasing the size |
Quote:
|
1 Attachment(s)
@Razor12911
Sorry I'm bothering you. It includes the new diskspan R3 (original Library) in CIU 3.0.0.0.1 beta and when displaying the search message for the disk, Setup.exe is terminated. I don't know if it is because CIU has many features that require more from the system than a basic script. I did the same tests using the Light Installer (very basic script) and there is hardly an error. The request disk code in Light installer and CIU is exactly the same. I have attached the examples where the installer closes when searching for the disk. Run as is and search for part 1 and then for part 2 in folders when prompted (Most of the time the error occurs when searching for part 2). @Razor12911, if you want to do tests I can send you the ciu beta source code. The error I think is still in the callback, and I don't know if there is a solution for that. |
| All times are GMT -7. The time now is 19:15. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com