![]() |
Inno Setup Repack 6.03
I upgraded my Inno Setup Repack to v6.03 (The link contain Lite e Full version).
To install skins packs extract SkinPack.rar from the same Inno Setup Repack FULL installer directory. |
Hi ppl,
is there a constant for Users\Username\Saved Games ? I want to delete a folder in Saved Games but to no avail. I can't find that constant on the net. I tried: {Userprofile}\Saved Games {%Userprofile%}\Saved Games %Userprofile%\Saved Games {Username}\Saved Games Edit: The only way is writing down the full path in Setup.ini which is SaveGameFolder3=C:\Users\*****\Saved Games\ Not a very happy solution. I can't believe that the Inno Setup developer didn't include such constant. |
Quote:
You can use something like this: Code:
function UpdateConstant(const S: String): String;>> MsgBox(UpdateConstant('{userdocs}'), mbInformation, MB_OK); {expands normally} >> MsgBox(UpdateConstant('{savedgames}'), mbInformation, MB_OK); Remembering that CIU already has an UpdateConstant function. If it is to be used in the CIU script, change the function name such as UpdateConstant2. |
Thanks, but where should I "squeeze" these lines in the script coz the compiler gives me an error... UpdateConstant is duplicate. :o
|
Quote:
Where do you want to use this constant savegames? In which part of the script? |
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. |
| All times are GMT -7. The time now is 04:45. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com