![]() |
ASIS - Valid Component
1 Attachment(s)
Quote:
Code:
if IsComponentSelectedByID(3) then- If you have "Character Backslash" in the name you will check with dependence on "Level". - If you do not have "Character Backslash" in the name you will only check on the components with "Component#.File" other than empty. Code:
if IsComponentSelectedByName('Game Components\') then Code:
if IsComponentSelectedByName('Game Components\Custom Name') thenCode:
if IsComponentSelectedByName('Game Components\cm:FR') then |
Quote:
|
You can use the folowing for CurStep = ssPostInstall or CurStep = ssDone (like you wish)
Code:
if IsComponentSelectedByName('Game Components\cm:PL') then |
2 Attachment(s)
Quote:
Ok, after adding the conditions and trying to compile I've got an error says that a comma is expected. after looking at the end of the line the comma is added but in the 94-th column there should't be a comma. Attachment 24411 I'm attaching my script. |
1 Attachment(s)
Quote:
Goto line 4225 and replace in this line end; by #endif Now goto line 3945 and delete this for lines ( 3945, 3946, 3947, 3948 ) and insert: Code:
#if UseComponents == "1"Attached is a way for you to simplify the code of applying the path with xdelta. Only the file names change, so it's more practical to create a loop |
Quote:
Nope, still the same :( Ok, I've got it now. in: Code:
RegWriteDWordValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#Name}_is1', 'EstimatedSize', Round(InstallationSize / 1024));my {#Name} constant is "Assassin's Creed", the apostrophe causes the error... Is there a way to replace the apostrophe for the name of the Game to be complete? Unfortunately I think the game's name must be with the apostrophe for registry entries to work :( |
Quote:
Code:
RegWriteDWordValue(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#StringChange(Name, "'", "''")}_is1', 'EstimatedSize', Round(InstallationSize / 1024)); |
2 Attachment(s)
Quote:
Thanks :) Ok, About DPICalculator, I think it Does work for 125% Scale but on 100% it does This: Attachment 24413 and on 150% does this: Attachment 24414 |
Unfortunatelly I only have a FullHD monitor (1920x1080) and therefore I can't test the DPI right. Maybe Cesar is in the mood to fix this someday :(
|
Quote:
Here in Full HD resolution change to 125%, 150% 175% works normal. https://i.imgur.com/bu87yFH.png |
1 Attachment(s)
Quote:
Ok, the case looks like this, If I run on basic script (modified only with the statements that verify the selected components to modify files) on my PC with 100% DPI scaling it works fine, the same is after changing to 125%, 150% and 175% but with already runned setup. I forgot to mention, on both Desktop and Laptop I have 1980x1080 resolution, and on Laptop 125% scaling, as for Desktop 100% If I run the setup after changing the scale to for example 125% it looks like that: Attachment 24415 so, the DPICalculator in fact does not work... :( Edit: Ok, @KaktoR, @Cesar82 Problem solved. The Case was that in the original script there were absolute coordinates and sizes for the size of Forms etc. Just change the absolute sizes to SizeX and SizeY values and Voila :D For Example if You Have "WilkommenLabel.Width := 600" change it to "WilkommenLabel.Width := SizeX(600)", for "*.Height :=300" change to "*.Height = SizeY(300)", "Top :=" to "Top := SizeY()", "Left :=" to "Left := SizeX()". Tested it on "WillkommenLabel" and it works. |
Thanks to @Schabik I was able to fix the DPI for 4K monitors/resolutions.
Here is the new stable version (added to post #1). Code:
v7.1.2 |
1 Attachment(s)
how can i apply custommessage for Main files component ?
Script.iss Code:
function TranslateComponentName(StrName: String): String;Code:
ComponentsSize := 0;Code:
English.CompMain=Main files |
Quote:
Code:
'CM', 'COMPMAIN' : Result := CustomMessage('CompMain');Code:
And of course like as You added to CustomMessages.iss Code:
English.CompMain=Main files |
1 Attachment(s)
Quote:
Quote:
Code:
//------------ GROUP 1 -------------------------------------Quote:
|
Quote:
In settings.ini I had replaced only Component1.Name=Main Files with Component1.Name=cm:GAMEFILES and it worked fine. Try it with the not modified script and add the lines from previous posts |
3 Attachment(s)
but i'm talking about "Main files" component, not "Game Components". Here is the screenshots from untouched script. "Main files" have static title which set in script.iss
|
Quote:
Code:
'Main Files'Code:
CustomMessage('MainFiles')Code:
English.MainFiles=Main FilesIn Setup.ini, you can remove component 1 The key: Component1.Name=Game Components and rearranging the ID of the next components. |
Quote:
|
how to automatically uncheck and disable the checkbox of optional/selective component if file doesn't exist. for eg:
i have only 1 language pack from 5, installer should check availability for all of components and automatically uncheck&disable which are missing another question, maybe not last. how to integrate INIFile function which changes player name in steam_emu.ini after install, to Language changing? For eg: During installation i will check English language and after install installer will change "Language=spanish" string to "Language=english" in steam_emu.ini. In this way, it will be more useful for users if we automate the script. I really loved this script. |
Quote:
Code:
procedure CurPageChanged(CurPageID: integer);Or you can add the code copying from the CIU v3 (Custom Installer Ultimate) script here in the forum (just over 100 lines of code). To adapt the code you only need change languages of the code and also the GetValStr for the Settings.ini. |
Quote:
|
I will add something for language in INI file.
|
I tried something but could not give the correct size to "Main files" component, on components page first time size is right, but after clicking components it's resets.
what i changed in script.iss Quote:
Quote:
https://streamable.com/wsa4j |
Quote:
Leave as before the part you changed: ComponentsSize:=0; 1. Then replace the original line (Line commented with //) with the line below in this part. Code:
procedure ComponentsOnCheck(Sender: TObject);Code:
//ComponentsDiskSpaceLabel.Caption := DiskSpaceMB(SetupMessage(msgComponentsDiskSpaceMBLabel), SizeBytesToMB(ComponentsSize, '', 0)); |
1 Attachment(s)
Code:
v7.1.3 Beta 1 |
1 Attachment(s)
Quote:
I think remaining time should fixed too. It's calculate time only for first archive. After unpacking first archive it shows "TIME_INFINITE"="Eternity" then "TIME_TEST"="" |
That's what I wrote somewhere on last pages. Time remaining only works with 1 archive. But it's corious that it is visible (it should not be visible if [Records2] exist in Records.ini).
|
Quote:
Quote:
|
I know and I don't know if it's even possible. I think this is too complex.
|
Hello everyone,
I do not know if I make a mistake but in version 7.1.2 after installation in the directory of the game, there are these 2 files: Quote:
How to make these 2 files not in the directory of the game once the installation finished? thank you in advance |
1 Attachment(s)
Here is a fix for the Time Remaining label if more than one archive is extracted.
@Tifeuf: This files are neccessary for uninstall skin support. |
Quote:
Thank you for your answer actually if these 2 files are deleted, executing uninstall, it displays an error. Thank you for your answer and your fixed! Warmest regards |
KaktoR,
I just noticed something, if in the file setings.ini, I put this: "UnInstallFolder = _UnInstall" when I start the uninstallation it removes all the files but not the "main" directory of the game! example: name of the main directory "Mygamehasme", all the files contained in it are delete but not the directory "Mygamehasme" I hope you understand (Lol) sorry for my mediocre English Thank you |
This happens if you open the _Uninstall folder in explorer.
If you go to the game folder (not the uninstall folder) the folder will be deleted. I will look why this happens. |
Quote:
Ok thank you for your information and in advance thank you for watching this. Warmest regards |
Bug Found in System Page
6GB GPUs Detect as 4GB Maybe 8GB and 11GB cards detect as the same.. I don't have any 8GB or 11GB Cards, if you guys have those cards, check and report back. also old ATI Cards detect as 0mb in Red color It's like there's no GPU |
This is a bug in ISSysInfo library. Nothing I can do about it.
|
ScriptVersion "7.1.3
Source: Resources\Decompressors\ISDone\French.ini Source: Resources\Decompressors\ISDone\German.ini Source: Resources\Decompressors\ISDone\Italian.ini Source: Resources\Decompressors\ISDone\Spanish.ini Source: Resources\Decompressors\ISDone\Polish.ini; Source: Resources\Decompressors\ISDone\PortugueseBrazil.in i not found the inis inst there |
Fixed.
|
| All times are GMT -7. The time now is 08:41. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com