![]() |
is there a way to fix inno script with xtool when used with cls-diskspan.dll
when asked to enter setup.002 or 003 ect.. if you press cancel (the one inside) the setup just hang with xtool at 0% function MyDiskRequest(APath, AFilename: String): String; var MsgResult: Integer; begin Result := APath; if not FileExists(AddBackSlash(Result) + AFilename) then repeat MsgResult := MsgBox(GetMessage(1, AFilename,''), mbConfirmation, MB_OKCANCEL); if MsgResult = mrCancel then WizardForm.CancelButton.OnClick(nil); if (MsgResult = mrOk) and (FileExists(AddBackSlash(Result) + AFilename) = False) then if MsgBox(GetMessage(2,'',''), mbConfirmation, MB_YESNO) = mrYes then if GetOpenFileName('', Result, Result, AFilename + '|' + AFilename, AFilename) then Result := ExtractFileDir(Result); until (FileExists(AddBackSlash(Result) + AFilename) = True) or (ISDoneError = True); end; :confused: |
not the cancel button for the installer...
i'm talking about cancel button inside the browser when you asked to insert setup.002... xtool.exe reamin in taskmanager the main cancel button work normally... i think something to do with if MsgResult = mrCancel then WizardForm.CancelButton.OnClick(nil); |
Quote:
The value is correct. GameSize key is in Mb. 14000 Mb = 13.67 (The MbToGb conversion used in CIU is around to 14.0 GB) During the MbToGb conversion in CIU the division of the GameSize value is made by 1000, not by 1024 that would be correct 14000 Mb ~ 14.0 GB |
Seems to be a problem with the font then.
|
few bugs found in last update Hotfix.4
[PercentLabel] , [PercentLabel] -> MoveY=50 still in original position rather then moving to setting default {pf} is Program Files rather then old Program Files (x86) When selecting Cancel after install has started leaves the install folder behind & doesnt delete it, when it did in earler versions. Also have to cancel 2-3 times before it actually does stop the install process. |
Quote:
Code:
{pf} |
2 Attachment(s)
ive know that but it still sets it to Program Files rather then Program Files (x86) when it used to in earlier versions.
First image Hotfix 4 second image is from Update 1 they are BOTH in 64 bit mode! |
Quote:
|
Quote:
NOTE: The progress bar label PercentLabel during uninstallation is fixed (it gets centralized and MoveX, MoveY is disabled in the uninstall bar) https://i.imgur.com/IjDF7az.png Quote:
{pf} = Program Files If the 64BitOnly=0 option in setup.ini {pf} = Program Files (x86) All other variables that have double paths (32 and 64 bits) are also changed using 64BitOnly=1. Variables such as ComomFiles ({cf}) and others. Using 64BitOnly=1 registry keys like HKEY_LOCAL_MACHINE\SOFTWARE are created in HKEY_LOCAL_MACHINE\SOFTWARE (Not in more at: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node) Quote:
The .bat file does not support special characters such as ™. The delay when exiting the installer may be because when you cancel the installation, the uninstall process is done in silent mode (Does not display progress). Depending on the number of files already installed that need to be erased, it may take some time before you quit the installer. (Erase files one by one) Then I'll check the process of deleting folders better. Maybe I put that when starting the files removal the cancel button is set to disabled, to avoid clicking it again. |
Quote:
when used with xtool it just hang in the proccerss at 0% cls-lolz and cls-srep close but the installer remain stuck i need to press on cancel (installer) to exit but does not delete the files that installed... i tested other script the same problem with xtool/ztool... DiskSpan.dll |
In InstallerScript_3.0.0.0.u1 [2019.02.05].iss the line numbers you said & what I extracted are 1 line different ?
|
@Cesar82
OnlyLabel=1 does not work on [SmallButton] ?? |
@Cesar
[CMDCommands], are they always executed from {app} folder or from {tmp} folder (working dir)? |
Quote:
-------------------------- Quote:
-------------------------- Quote:
But the bat file (.cmd) is created inside the {tmp} directory. An is-XXXXX.cmd file (XXXX, are randomly generated characters) is created. TmpFile: = GenerateUniqueName(ExpandConstant ('{tmp}'), '.cmd'); |
found what was wrong by your image. You have to have values in PercentLabelSI as well.
I was just using PercentLabel, works as I wanted now. thanks |
| All times are GMT -7. The time now is 10:53. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com