|
|
|
#1
|
||||
|
||||
|
DiskSpan bat FIXED.
- Fixed copy of icon file to destination folder.
- Fixed to work custom mode correctly. - Fixed aditional Records.ini path if the "Setup_Files" folder name is changed now will make the copy correctly. - Changed compression examples in custom mode. - Disabled the option to display component sum because when component size values do not have same unit (MB, GB) the calculation is done wrong. - Fixed correct time in log file. ----------------------------------------------------------------------- NEW DISKSPAN.bat TO TEST The new version is for testing (Extract also the Resource folder contain files). There may be some bugs yet. NEWS: - Added an external calculator for calculating folder sizes in bytes because it is not possible to calculate large numbers (Gb) in native bat functions. - Added automatic calculation for first disk size, just disabling the first disk size line with "::" or entering one of the values: "0" or "AUTO". - Added option to automatically move files from Redists or extras you wish to include on disk 1. To do so just put the files or folders in the "Setup_Files" directory. Everything will be moved except text files in the root directory "Setup_Files". - Fixed correct time in log file. - Fixed sum of file sizes of each component after compression in finished page (Only in DiskSpan.bat [2019.12.29].rar). NOTES: By my tests the calculation is working well. Making good use of Setup.exe's independent media size is 10 or 200 mb, with no need to change anything. Last edited by Cesar82; 30-12-2019 at 12:29. Reason: Added new files. |
| The Following 3 Users Say Thank You to Cesar82 For This Useful Post: | ||
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
I will test component calculation in the next days.
__________________
Haters gonna hate
|
| The Following 3 Users Say Thank You to KaktoR For This Useful Post: | ||
|
#3
|
||||
|
||||
|
Ok guys,
so here is the problem when using external scripts like custom icons, shortcuts and the Registry script. When uninstalling the game, it does not remove the Program folder in Start Menu and the Registry keys still remain despite the game is uninstalled. If you have time, please implement this option. Here is the script. Please try it. Thanks. ![]() Edit: I managed to delete the program folder in Start Menu --> Code:
[UninstallDelete]
Type: filesandordirs; Name: "{userprograms}\{groupname}"
/me embarrassed... ![]() Well, the Registry entries "issue" is still there. Last edited by Proxson; 08-01-2020 at 08:33. |
|
#4
|
||||
|
||||
|
*knock...knock...anybody home ?
![]() Edit: Ok, I got the Registry "issue" under control. It's not an elegant solution but it works. Till someone finds something better. Code:
#define AppPublisher "SEGA" Code:
{ remove product code registry entrie }
if ProductCode <> '' then
RegDeleteKeyIncludingSubkeys(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\' + ProductCode);
RegDeleteKeyIncludingSubkeys(HKLM, 'SOFTWARE\{#AppPublisher}');
end;
end;
Last edited by Proxson; 07-01-2020 at 17:12. |
|
#5
|
||||
|
||||
|
Quote:
There will be some bugs with these changes. The About page has stopped working. You can change the script for your use, but I ask you to keep the About page working and original by displaying the credits of the original CIU contributors and translators. Answering your question: CIU does not create an uninstaller as in conventional Inno Setup installers (Unis000.exe, Unis000.dat). Uninstall.exe from the installation folder is the same Setup.exe file that is copied to the folder and the uninstall functions are all defined in the code section. Therefore the installer does not remove icons included in the [Icons] section, so you must include them in the code within the CreateShortcuts and DeleteShortcuts functions. The [UninstallDelete] section is also not supported on CIU as the default uninstallation of Inno Setup is never performed. You can include the functions of deleting folders or files within the Uninstall function of code. NOTES: You have removed almost all languages, this can cause errors. I would not recommend these changes all in the script the way you did. You could simply have limited the languages you want to make available in Setup.ini or disabled the lines in the [Files] section and changed only in GetLanguage and also the part in CheckAvaiLanguages where you changed to: if (TmpStr2 in ['HR', 'ENUK', 'EN']) then |
|
#6
|
||||
|
||||
|
Sorry, I removed all that stuff to make the CIU smaller. Regarding the 'About' page, it wasn't intentionally. I was so ocupied with this icons and registry issues.
The 'About' page will return back again. Sorry again. My intention was not to discredit anyone who worked on this project. Removing unnecessary languages didn't affect the CIU integrity. It's working without any problems. Looks like you've faced me against the wall. So script with icons won't work in a regular way...hmm. I'm dropping the subject.
Last edited by Proxson; 07-01-2020 at 21:50. |
| The Following User Says Thank You to Proxson For This Useful Post: | ||
devil777 (12-01-2020) | ||
|
#7
|
||||
|
||||
|
Quote:
Credit must always be given or kept in place.
__________________
Can't find a Game Conversion? Check the 'Conversion INDEX'
![]() |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| [GSERIES] Custom Installer Ultimate V2g | Gupta | Conversion Tutorials | 226 | 01-06-2018 13:12 |
| Crysis 3 DVD9 to 3xDVD5 Custom Installer | spawniectes | PC Games - CD/DVD Conversions | 79 | 31-08-2017 07:19 |