Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #46  
Old 06-02-2019, 02:36
doofoo24 doofoo24 is offline
Registered User
 
Join Date: Nov 2016
Location: canada
Posts: 408
Thanks: 138
Thanked 454 Times in 227 Posts
doofoo24 is on a distinguished road
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;

Reply With Quote
Sponsored Links
  #47  
Old 06-02-2019, 03:31
doofoo24 doofoo24 is offline
Registered User
 
Join Date: Nov 2016
Location: canada
Posts: 408
Thanks: 138
Thanked 454 Times in 227 Posts
doofoo24 is on a distinguished road
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);

Last edited by doofoo24; 06-02-2019 at 03:34.
Reply With Quote
  #48  
Old 06-02-2019, 06:56
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 696
Thanks: 1,127
Thanked 1,459 Times in 505 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Simorq View Post
Hi Cesar82


In the "Setup requires" section there is a bug.
It should be 14 GB, not 140 gb

CIU 3.0.0.0 UPDATE 1 - HOTFIX 4


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

Last edited by Cesar82; 06-02-2019 at 06:59.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Simorq (06-02-2019)
  #49  
Old 06-02-2019, 07:04
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,333
Thanks: 888
Thanked 5,496 Times in 1,995 Posts
KaktoR is on a distinguished road
Seems to be a problem with the font then.
__________________
Haters gonna hate
Reply With Quote
  #50  
Old 06-02-2019, 07:10
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,028
Thanked 8,962 Times in 3,081 Posts
pakrat2k2 is on a distinguished road
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.
Reply With Quote
  #51  
Old 06-02-2019, 07:13
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,333
Thanks: 888
Thanked 5,496 Times in 1,995 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
default {pf} is Program Files rather then old Program Files (x86)
Code:
{pf}
Program Files. The path of the system's Program Files directory. {pf} is 
equivalent to {pf32} unless the install is running in 64-bit mode, in which 
case it is equivalent to {pf64}.
__________________
Haters gonna hate
Reply With Quote
  #52  
Old 06-02-2019, 07:20
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,028
Thanked 8,962 Times in 3,081 Posts
pakrat2k2 is on a distinguished road
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!
Attached Images
File Type: png old.png (10.1 KB, 162 views)
File Type: png older.png (11.9 KB, 161 views)

Last edited by pakrat2k2; 06-02-2019 at 07:29.
Reply With Quote
  #53  
Old 06-02-2019, 07:33
K4miKaZe's Avatar
K4miKaZe K4miKaZe is offline
Registered User
 
Join Date: Sep 2018
Location: Spain
Posts: 143
Thanks: 172
Thanked 229 Times in 81 Posts
K4miKaZe is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
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!
Isnt it supposed to work this way? I mean, if you set x64 mode it should install to Program Files folder as its x64 only, with x64 mode disabled it should go to x86 folder as x86 can be used for both versions.
Reply With Quote
  #54  
Old 06-02-2019, 07:35
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 696
Thanks: 1,127
Thanked 1,459 Times in 505 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
few bugs found in last update Hotfix.4

[PercentLabel] , [PercentLabel] -> MoveY=50 still in original position rather then moving to setting
It's working perfectly here.
NOTE: The progress bar label PercentLabel during uninstallation is fixed (it gets centralized and MoveX, MoveY is disabled in the uninstall bar)


Quote:
Originally Posted by pakrat2k2 View Post
default {pf} is Program Files rather then old Program Files (x86)
If the 64BitOnly=1 option in Setup.ini
{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:
Originally Posted by pakrat2k2 View Post
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.
I've already created an executable to do the deletion of the folder, which will be overwritten by the current Clean.bat that runs when exiting the installer.
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.

Last edited by Cesar82; 06-02-2019 at 18:50.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
Behnam2018 (18-01-2020), K4miKaZe (06-02-2019)
  #55  
Old 06-02-2019, 08:06
doofoo24 doofoo24 is offline
Registered User
 
Join Date: Nov 2016
Location: canada
Posts: 408
Thanks: 138
Thanked 454 Times in 227 Posts
doofoo24 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
The RequestDisk function in the CIU script is not valid for .002, .003, etc. files.
The RequestDisk window displayed while searching for .002, .003, etc. files is done inside the DiskSpan.dll library (not in CIU script).

[I]I did not quite understand his problem.
From what I understand the process XTool.exe is running if you cancel the search for the .002, .003, etc. file.
.
yes.
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
Reply With Quote
The Following User Says Thank You to doofoo24 For This Useful Post:
Behnam2018 (19-01-2020)
  #56  
Old 06-02-2019, 08:44
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,028
Thanked 8,962 Times in 3,081 Posts
pakrat2k2 is on a distinguished road
In InstallerScript_3.0.0.0.u1 [2019.02.05].iss the line numbers you said & what I extracted are 1 line different ?
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
Behnam2018 (19-01-2020)
  #57  
Old 06-02-2019, 09:56
houcine80's Avatar
houcine80 houcine80 is offline
Registered User
 
Join Date: Jul 2013
Location: Save Palestine
Posts: 872
Thanks: 3,038
Thanked 3,875 Times in 568 Posts
houcine80 is on a distinguished road
@Cesar82
OnlyLabel=1 does not work on [SmallButton] ??
Reply With Quote
The Following User Says Thank You to houcine80 For This Useful Post:
Behnam2018 (19-01-2020)
  #58  
Old 06-02-2019, 12:04
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,333
Thanks: 888
Thanked 5,496 Times in 1,995 Posts
KaktoR is on a distinguished road
@Cesar

[CMDCommands], are they always executed from {app} folder or from {tmp} folder (working dir)?
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Behnam2018 (19-01-2020)
  #59  
Old 06-02-2019, 15:23
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 696
Thanks: 1,127
Thanked 1,459 Times in 505 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
In InstallerScript_3.0.0.0.u1 [2019.02.05].iss the line numbers you said & what I extracted are 1 line different ?
In the update1.hotfix4 script on the previous page, it's exactly lines 6024 and 6030. You may have inserted a line somewhere before line 6024 in the script.
--------------------------
Quote:
Originally Posted by houcine80 View Post
@Cesar82
OnlyLabel=1 does not work on [SmallButton] ??
Fixed in Hotfix 5.
--------------------------
Quote:
Originally Posted by KaktoR View Post
@Cesar
[CMDCommands], are they always executed from {app} folder or from {tmp} folder (working dir)?
I do not know if this was the question...
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');

Last edited by Cesar82; 07-02-2019 at 08:08.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
houcine80 (07-02-2019), KaktoR (06-02-2019)
  #60  
Old 07-02-2019, 11:59
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,028
Thanked 8,962 Times in 3,081 Posts
pakrat2k2 is on a distinguished road
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 15:02.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com