|
|
|
#1
|
||||
|
||||
|
I'm using CorelDraw + Google
![]() Btw, any fix for registry entries ? Solve that and we're good to go !
|
| Sponsored Links |
|
#2
|
||||
|
||||
|
What registry entries?
|
|
#3
|
||||
|
||||
|
Well, the installer doesn't delete the registry keys during uninstall. They remain in the registry. Only I can do now is delete them manually.
|
|
#4
|
||||
|
||||
|
Quote:
Test with this changed log file. Currently the Subkey value does not work with functions like {code: getpath} I'll fix this later. Try writing the entire line of the registry key in text when possible. |
| The Following User Says Thank You to Cesar82 For This Useful Post: | ||
Simorq (09-12-2019) | ||
|
#5
|
||||
|
||||
|
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. |
| The Following 4 Users Say Thank You to Cesar82 For This Useful Post: | ||
|
#6
|
||||
|
||||
|
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. Last edited by Proxson; 11-12-2019 at 11:13. |
| The Following User Says Thank You to Proxson For This Useful Post: | ||
Behnam2018 (30-01-2020) | ||
|
#7
|
||||
|
||||
|
Quote:
You can use something like this: Code:
function UpdateConstant(const S: String): String;
var
strDocs: String;
strSaves: String;
begin
Result := ExpandConstantEx(S, 'savedgames', ExpandConstant('{userdocs}\My Games'));
if (GetWindowsVersion shr 24 >= 6) and (Result = ExpandConstant('{userdocs}\My Games')) then
begin
RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{F42EE2D3-909F-4907-8871-4C22FC0BF756}', 'RelativePath', strDocs);
RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}', 'RelativePath', strSaves);
StringChangeEx(Result, '\' + strDocs + '\My Games', '\' + strSaves, True);
end;
end;
>> 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. Last edited by Cesar82; 11-12-2019 at 15:16. |
|
#8
|
||||
|
||||
|
Thanks, but where should I "squeeze" these lines in the script coz the compiler gives me an error... UpdateConstant is duplicate.
Last edited by Proxson; 11-12-2019 at 16:28. |
|
#9
|
||||
|
||||
|
Quote:
Where do you want to use this constant savegames? In which part of the script? |
|
#10
|
||||
|
||||
|
Will be released soon after some testing. Just letting you know.
Code:
----------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------
CHANGELOG CIU 3.0.0.0.u7
----------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------
- Changed "ISDone.dll" to "ISDone 0.6 final - for FreeArc Alpha 2012" (2012-09-27).
- Removed "DLZ" compressor from CIU, because it's no longer needed.
- Updated decompressor RAR (UnRAR.dll) from v5.21 to v5.80
- Updated compressor/decompressor "ZStandard" from v1.43 to v1.44 (x64 + x86).
- Updated decompressor pZLib3 from v3.0.1 to v3.2.0 (Final release)
>> Now pzLib3 supports DUAL mode for 32 or 64 bit operating systems.
- Fixed conflicts between all current compressors (Thanks to Simorq for help).
>> It is now possible to activate all compressors (not recommended) without conflicting, but probably the compression will get worse.
- Added Ultra HD compatibility functionality (Resolutions above Full HD).
>> When booting the installer verifies that the monitor's vertical resolution is greater than 1080.
>> If true, it inserts compatibility information into the registry and automatically relaunches a new instance of the installer closing the original instance.
>> If this compatibility mode has been used the installer will clear the registry information upon termination.
- Changed the key name of Exe64Path= to ExePath64= in [Executable#] sections (now use 64 always at the end of all compatibles keys).
- Changed sections name from [Title] to [PageTitle] and also [BigTitle] to [PageBigTitle].
- Changed alignment of the directory selection form (SelectFolderForm) to align with the installer center.
- Changed the text of the welcome page by removing unnecessary information by slightly decreasing the lag in the eastern languages on this page.
- Added new keys WorkDir= and WorkDir64= keys in the [Executable#] sections.
>> The keys WorkDir= or WorkDir64= determine the "Start In" directory (Work Dir) of executable shortcut.
>> Use the value "\" in the key WorkDir= or WorkDir64= to display the value as "{app}\<ExePath>\" with backslash at the end.
- Added some new keys in the [Executable#] section for additional information for GOG or UWP installers.
>> For information about the new keys see the file "_Setup.ini" from the "Help" folder.
- Fixed BigTitle label display on installer pages (Before was not visible).
- Fixed some errors when using commented lines after key value in creator mode.
- Fixed unknown constant "usersendto" error when using Inno Setup version 5.59 or older.
- Fixed some bugs related to removing keys from the registry where subkeys have constants.
- Fixed the size of the installer window by moving to the top leading off the screen.
> Prior to this fix, this action changes the height of the installer, and the buttons/labels disappear from the installer.
- Fixed SelectDirBrowseLabel position for when using negative values for MoveDirectoryInfo= key so that Edit does not overlap the label.
>> SelectDirBrowseLabel now vents together to the top when using negative values on the MoveDirectoryInfo = key.
- Added new constant {savedgames} in keys SaveGameFolder#= to inform correct save game folder as "C:\Users\%username%\Saved Games".
- Added new key FirstBGImage= in all [Component#] sections.
>> This functionality lets you specify the first slide show image for each component.
>> When the component is not selected, images from the corresponding component key value to the next component key value will not be displayed in the slideshow.
- Added new key CenterInstaller= in [InterfaceSettings] section, default value is 1.
>> This key allows you to center the screen or display the installer where the autorun page was.
- Missing documentation added to supported functions for use in the "Registry.iss" file as string parametter.
>> To know the values returned for each language, see InstallerScript na função "AddLanguageByName".
{code:GetAppName} >> Return GameName according to the installation language from "Setup.ini" [InstallOptions]/ApplicationName<LNG>=/ApplicationName=
{code:GetAppPublisher} >> Return Publisher of the game from "Setup.ini" [InstallOptions]/Publisher=
{code:GetMyAppExeName} >> Return first executable name from "Setup.ini" [Executable1]/Exe= or [Executable1]/Exe64= if the system is 64-bit and the game has 64-bit executable.
{code:GetMyAppExeName|<INDEX>} >> Return the executable name corresponding to index from "Setup.ini" [Executable<INDEX>]/Exe= or [Executable1]/Exe64= if the system is 64-bit and the game has 64-bit executable.
{code:GetMyAppExePath} >> Return first path name from "Setup.ini" [Executable1]/ExePath= or [Executable1]/ExePath64= if the system is 64-bit and the game has 64-bit path.
{code:GetMyAppExePath|<INDEX>} >> Return the path name corresponding to index from "Setup.ini" [Executable<INDEX>]/ExePath= or [Executable1]/ExePath64= if the system is 64-bit and the game has 64-bit path.
{code:GetGameVersion} >> Return Version of the game from "Setup.ini" [InstallOptions]/GameVersion=
{code:GetLangISO} >> Return ISO name of the selected language using "-". (en-US, es-ES, de-DE, etc)
{code:GetLangISO|_} >> Return ISO name of the selected language using "_". (en_US, es_ES, de_DE, etc)
{code:GetLangISO|<DEFAULT>} >> Return ISO name of the selected language. Return value with "_" if default value contain "_". (en-US, etc or en_US, etc)
{code:GetLangFull} >> Return FULL name of the selected language. (English, Spanish, German, etc)
{code:GetLangShort} >> Return SHORT name of the selected language. (EN, ES, DE, etc)
{code:GetLangShortLC} >> Return SHORT name of the selected language in lowercase. (en, es, de, etc)
{code:GetLangOld} >> Return OLD name of the selected language. (eng, esp, ger, etc)
{code:GetLangOldUC} >> Return OLD name of the selected language in uppercase. (ENG, ESP, GER, etc)
{code:GetLangNR} >> Return decimal string of selected language UI. (1033, 1034, 1031, etc)
{code:GetLangNR|$} >> Return hexadecimal string of selected language UI. ($0409, $040a, $0407, etc)
{code:GetLangNR|<DEFAULT>} >> Return decimal/hexadecimal string of selected language UI. If default value contain "$", return hexadecimal. (1033, etc or $0409, etc)
{code:GetSerialKey} >> Return first SerialKey of the game from "EXTERNAL_Setup.ini" [InstallOptions]/Key1=
{code:GetSerialKey|#} >> Return SerialKey of the game from "EXTERNAL_Setup.ini" [InstallOptions]/Key#=
{code:GetSerialKey|<DEFAULT>} >> Return first SerialKey of the game from "EXTERNAL_Setup.ini" [InstallOptions]/Key1= and if key empty return default value.
{code:GetSerialKey|#,<DEFAULT>} >> Return serial key from "EXTERNAL_Setup.ini" [InstallOptions]/Key#= and if key empty return default value.
{code:UninstallShortcut} >> Return the name of the uninstall shortcut in the current language followed by the name of the game as example: Uninstall My Game Name
{code:GetSavedGameFolder} >> Return the windows "Saved Games" folder as C:\Users\%username%\Saved Games if Windows XP return {userdocs}\My Games (expanded).
{code:GetSavedGameFolder|<DEFAULT>} >> Return the windows "Saved Games" folder as C:\Users\%username%\Saved Games if Windows XP return <DEFAULT> value expanded.
Code:
_Tools update -Added Game name to UltraArc Diskspan folder and ISO creation > Only for _DiskSpan.bat (single game) -Added components for DiskSpan (_DiskSpan Components.bat) > Thanks to Cesar82 -Added cls-mpzmt (thanks to 78372) -Added Inno Setup 6.0.3 Repack (Lite version) > This is needed for future CIU versions (v3.0.0.1 and above!) -Updated Notepad++ to v7.8.2 -Updated some compressors and settings -Removed DLZ -Removed Too_lazy_to_copy_myself
__________________
Haters gonna hate
|
| The Following 9 Users Say Thank You to KaktoR For This Useful Post: | ||
78372 (17-12-2019), adammail14 (29-08-2020), andreiutzu21 (14-12-2019), mausschieber (15-12-2019), omdj (14-12-2019), pakrat2k2 (14-12-2019), Proxson (14-12-2019), sajmon83 (15-12-2019), Simorq (14-12-2019) | ||
|
#11
|
|||
|
|||
|
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
|
|
#12
|
||||
|
||||
|
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 ...
|
| The Following User Says Thank You to pakrat2k2 For This Useful Post: | ||
andreiutzu21 (16-12-2019) | ||
|
#13
|
||||
|
||||
|
It's me again !
![]() 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. Last edited by Proxson; 14-12-2019 at 18:51. |
|
#14
|
||||
|
||||
|
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). |
|
#15
|
||||
|
||||
|
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. |
![]() |
|
|
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 |