![]() |
Quote:
Well, during the uninstalling process. I want a folder, created by the game, vanish from Saved Games folder. Btw, I'm using Win7 and the path is: C:\Users\My Name\Saved Games\Metro Exodus Sorry I know, I'm a pain in da ass. I suffer from perfectionism OCD, btw. It's nasty :o Edit: I sorted it out in Setup.ini --> SaveGameFolder3=C:\Users\{username}\Saved Games\Metro Exodus ...aaaand the folder is gonsky ! I'm happy with it. Well, the only problem is where Metro Exodus dumps this save game folder in Win10. @Cesar m8, your priority is to fix the registry issue ! :D Btw, Metro Exodus creats 3 folders and 2 registry entries during the first launch: 1. My Documents --> 4A Games 2. Users\Username\Appdata\Roaming --> CPY_Saves (ermmm...cough) 3. Users\Username\Saved Games --> Metro Exodus Registry: 1. HKEY_CURRENT_USER\Software\4A-Games 2. HKEY_USERS\S-1-5-21-1998757662-2675839664-690416582-1000\Software\4A-Games |
Quote:
To remove the save folder inside the Saved Games folder using the key SaveGameFolder#= use {sd} to set a system drive: SaveGameFolder3={sd}\Users\{username}\Saved Games\Metro Exodus I will include a constant {savedgames} in the next CIU update. If you want to change it in the current CIU script the text in red color. Code:
function GetSavedGameFolder: String; |
Great ! That makes things easier. Thanks ! :D
Btw, regarding registry. Yes, it works but as long as the subkey is empty, the uninstaller will delete it. But if it's not empty, it will remain. Where is the switch in the script to make registry entries uninstall whether they're empty or not ? Thanks mate for your work ! |
Will be released soon after some testing. Just letting you know.
Code:
----------------------------------------------------------------------------------------------------------------------------------------------Code:
_Tools update |
PFX and CER files extension
does anyone know how to get work in.setup.ini with these two files extension? name.pfx and name.cer there is a section in setup ini ? if it is can someone give me an example? these 2 files is for forza horizon 3 and if i install these 2 files in order DLC1 and DLC2 works. thanks in advice
|
if those are just the normal dlc files, then they should be compressed with the game no need to have them specifically in setup.ini. Unless you mean that 'name' .pfx / .cer are for each game owner ...
|
2 Attachment(s)
It's me again ! :p
There is a tiny problem with UI in Win10. Black fonts on black background. Anyone else ? And one more tiny problem. It's not showing the size in add/remove programs. |
Quote:
This different window is probably displayed by DiskSpan, and then stays inside the DLL. Because it is displayed differently I can not explain. Maybe it's because ISDone DLL was created a long time ago with very old software (maybe) and the diskspan DLL is called by it. As for the size not displayed... I am aware of this. It would be easy to enter a key for i game size. but if using components this would have to be calculated depending on the component selected. This function will be included in version 3.0.0.1 (Remind me in the future). |
I noticed 2 bugs in InstallerScript_3.0.0.0.u6:
1-Progress bar does'nt reach 100%. It's stuck at something like 70% but it doesn't affect installation process. 2-LogoAB2 in About page doesn't show no matter what value you put in Setup.ini. |
Quote:
There are 2 options to fix this. 1) Use the old progressbar mode by setting value 1 on the Stretch keys of both progressbar sections. 2) This is the recommended mode. Use different images for each bar (ProgressImg.png, ProgressBackground.png) and (ProgressImgSI.png, ProgressBackgroundSI.png). For each bar create the image with the exact width of the value that is displayed on the label (xxx x xxx) when running in progressbar mode. I don't know if this is so, but to display Logo2.png on the about page requires the value of the key SmallLogoOpacity= in [AboutSettings] to be greater than 0... to display 100% opaque use value 255 on this key. In the CIU 3.0.0.0.u6 [2019.10.30] theme installer is normally displaying the "LogoAB2.png" logo which is in the "Setup\About" folder. (PS: The default logo in theme installer does not mark Yener90 vertically). If you want you can send me a pm with your project that I check for you. |
New version added.
Code:
[14.12.2019]Code:
---------------------------------------------------------------------------------------------------------------------------------------------- |
Quote:
Merry Christmas to you all, stay safe and all the best for the New Year. |
I have a bug report (actually it's not a bug but something that should be implemented in the next version) but I'll wait till the end of holidays. :p ;)
Merry Christmas and a Happy New Year folks! :) |
DISKSPAN.bat (FIXED FILES)
DiskSpan.bat fixed re-uploaded in "_Tools.7z" file. (Thanks KaktoR)
The DiskSpan.bat file may result in a few bytes or even smaller megabytes than specified for each disk. This small error is due to limitation of calculations in the "set /a" function of bat files (maxing-out 32-bit number limitation). Then the calculation was cut off the last 3 digits to work with large size values. As long as only games are smaller than 2000 GB the current calculation will work. Merry Christmas everyone! Thanks! |
Quote:
|
Hello people.
Please give us some screenshots of your most favourite installers of all time. We want to add some "preview" to the opening post to give people some ideas of what's possible with CIU, since most of us know, CIU is pretty complex with all its settings to new people (some would call it "overwhelming" :D). So please share with us a few fancy installers you like, but, if possible, a few more complex installers (something more just like the "standard things enabled") would be nice too. Merry Christmas to all of you and your fams and friends. Keep the good moods. |
1 Attachment(s)
There is another bug in _Diskspan.bat.
I will fix this tomorrow Change Code:
copy /y ".\!SETUPPATH!\!SETUPNAME!" ".\!CONVFOLDR!\!DISKLABEL!!DVDCount!\!SETUPICON!" >nul |
One more bug
1. Select "Yes" to use same compression method to all games 2. Use option [18] and type something... 3. You will be on the previous step again (Methods types available) Only if you select options [0] to [17] all is fine. |
CI/CIU installer printscreen
1 Attachment(s)
Quote:
There must be some great ones here, but these ones in my opinion were very good (design) by limiting the old versions of CI/CIU. I will post part II with images of conversions between CIU 1.0.0.0 to 1.0.14 and so on! I will post the following parts in this same post! Then you choose the best images this pack in your opinion. I will check DiskSpan.bat again. Glad you're testing. I didn't see these errors you commented on. At the end of the bat file put the red line to fix the bug in "Custom Method" [18] to ALL COMP change: Code:
set /p %~1= Method:Code:
set /p custom= Method:It does not work for me. Only the first custom example works here. Code:
echo. xZ1+srep:m3f+4L1 |
Quote:
Code:
echo. Example: bpk+xCriLayla+srep:m3f+lolz:d128m:mc1023Edit: Fixed version uploaded. I have used my example from "Trine Ultimate Collection" for how to use components with Diskspan. |
DiskSpan bat FIXED.
2 Attachment(s)
- 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. |
ّFix DefaultInstallDir
DefaultInstallDir=D:\Games
http://uupload.ir/files/6nep_1.jpg Code:
WizardForm.DirEdit.Text := RemoveBackslashUnlessRoot(ExpandConstant(Trim(GetValStrEx('InstallOptions', 'DefaultInstallDir', '')))) + GetAppName('')Code:
WizardForm.DirEdit.Text := RemoveBackslashUnlessRoot(ExpandConstant(Trim(GetValStrEx('InstallOptions', 'DefaultInstallDir', '')))) + '\' + GetAppName('') |
Thank you Simorq.
I don't know where I was with my head.... It was supposed to look like this. Code:
WizardForm.DirEdit.Text := RemoveBackslashUnlessRoot(ExpandConstant(Trim(GetValStrEx('InstallOptions', 'DefaultInstallDir', '')))) + GetAppName('') |
This is a bug ?
Cesar82 please you can check these bugs? with CIU3 u6 no problem at all
i made a screenshot to see these error's is with last update CIU3 u7 look at taskbar it shows percent and Test Run and that error https://pasteboard.co/IN9low4.png |
Quote:
Maybe it is because some CIU compressors have been updated. The ISDone library has been updated as well. But the mistake is CRC and I don't think so. Try copying the ISDone.dll from the "Resources\Decompressors\ISDone" folder of CIU 3.0.0.0.u6 to CIU 3.0.0.0.u7. Let me know if this procedure works. Maybe KaktoR or Simorq can answer better on this subject. |
Quote:
I will check as soon as possible and try to solve. Thanks! |
Quote:
|
@andreiutzu21
Code:
Resources\Decompressors\FreeArc\CLS.iniCode:
[Srep] |
Quote:
I will test component calculation in the next days. |
1 Attachment(s)
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]/me embarrassed... :o Well, the Registry entries "issue" is still there. |
*knock...knock...anybody home ? :p
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 } |
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 |
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. :( |
Quote:
Credit must always be given or kept in place. ;) |
1 Attachment(s)
@Cesar,
here is the CIU by default. Nothing removed from the script. No icon and registry script. It still leaves the empty Publisher folder in the Start Menu ! I have noticed a strange thing, as long as you don't open the Publisher folder, in this case SEGA, the uninstaller will delete it, otherwise it won't. The script has already all constants in the uninstall part such as {commonprograms} and {userprograms}. So, in other words, I can't do jack sh*t. Heck, someone would say, stop whining. Delete it manually. But that's not the point, :( https://media.tumblr.com/tumblr_mf0nuqPQyn1rncawh.gif |
here it works also
i used win 8.1 x64 |
1 Attachment(s)
At least we're getting somewhere. First, the fix isn't working. The good news is that everything is ok in Windows 10 (opened in a virtual machine). So the conclusion is, Windows 7 is a bad guy here. But that doesn't mean I'm moving to Win 10. It's the ugliest OS since Windows Millenium Edition ! :p In other words... @Cesar, fix the darn thing ! ;)
Edit: Thanks for the shortcut tip. If this could be done in Setup.ini it would be even better. :) Edit 2: Anyone else has the same problem with Windows 7 ? |
1 Attachment(s)
Quote:
Code:
I changed it in the script to include your additional icons.I made some changes, and tested on a virtual machine with windows 7 professional. Apparently it is working. Try with this new script. |
It's working ! ...But on a clean Windows 7 (virtual machine)... :( So that means, the culprit is my copy of Windows. Something is interfering with the uninstalling process and that's beyond my knowledge so far. Damn. I made a fool of myself. Sorry Cesar. Thanks for your effort. If you or someone has an idea please post it here.
|
CIU 3.0.0.1.b3 (Coming soon)
Hello people...
For the past few days I've been working on CIU 3.0.0.1.b3 (Beta 3). The script has been changed a lot, possibly many bugs will appear. The changes were necessary to try to slightly improve the startup time (very little improvement). The entire button creation and access structure has also been changed to correct the failure and slowness by clicking the same button multiple times. These changes made it possible to include additional buttons. Now if you put a few buttons in the installer, you will get better performance. Required buttons are only UniInstallbutton, NextButton, BackButton and SmallBrowse (If you use Smallinstaller, you also need SmallCancel or CloseSI). Make a comparison between version 3.0.0.0.u7 and 3.0.0.1.b3. Button click response time is much faster in this version 3.0.0.1.b3. In a few days I'll be sharing CIU 3.0.0.1 beta 3 in the CIU Dev group. |
| All times are GMT -7. The time now is 19:13. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com