Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21-07-2021, 05:52
ipom ipom is offline
Registered User
 
Join Date: Jul 2021
Location: online
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
ipom is on a distinguished road
With v7.2.0 you could define the file location to use for components but now (v7.3.1) you can no longer do that, how am I supposed to link components and compressed archives? I also see no option do to so with the newly added 'tasks'... I'm probably just being stupid but I would like some clarification.
Reply With Quote
Sponsored Links
  #2  
Old 21-07-2021, 16:35
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by ipom View Post
With v7.2.0 you could define the file location to use for components but now (v7.3.1) you can no longer do that, how am I supposed to link components and compressed archives? I also see no option do to so with the newly added 'tasks'... I'm probably just being stupid but I would like some clarification.
With the current version of ASIS you configure tasks in DiskSpan GUI by adding a new Data.bin and specifying a value in the task combobox.
The same goes for a language that will only be installed if the installer is started in the corresponding language.
To install the same Data.bin for more than one task, manually indicate the tasks in the combobox, separating by comma (The same goes for languages).

Tasks must be configured in ASIS Settings.ini starting with Task 1 (each line of the asis checklistbox is counted as a task even if it is one ItemType GROUP) .
Reply With Quote
  #3  
Old 22-07-2021, 01:46
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by ipom View Post
With v7.2.0 you could define the file location to use for components but now (v7.3.1) you can no longer do that, how am I supposed to link components and compressed archives? I also see no option do to so with the newly added 'tasks'... I'm probably just being stupid but I would like some clarification.
You link them in records.ini

Example:

Code:
Component1.Name=GAME 1
Component1.ItemType=CHECK
Component1.Size=5.00 GB
Component1.Level=0
Component1.Checked=1
Component1.Enabled=1

[Record1]
Type=FreeArc_Original
Source={src}\Game1.bin
Output={app}\
Disk=1
Component=1
Size=301.89 MB

----------------------------

Task1.Name=Languages // This task is just a GROUP, no files linked to it
Task1.ItemType=GROUP
Task1.Size=0
Task1.Level=0
Task1.Checked=1
Task1.Enabled=1

Task2.Name=cm:EN
Task2.ItemType=RADIO
Task2.Size=500 mb
Task2.Level=1
Task2.Checked=1
Task2.Enabled=1

[Record2]
Type=FreeArc_Original
Source={src}\English.bin
Output={app}\
Disk=1
Component=1
Task=2
Size=100 MB
__________________
Haters gonna hate

Last edited by KaktoR; 22-07-2021 at 01:51.
Reply With Quote
The Following 4 Users Say Thank You to KaktoR For This Useful Post:
BKR-TN (23-07-2021), Cesar82 (22-07-2021), ipom (22-07-2021), pratikpatel8982 (22-07-2021)
  #4  
Old 24-07-2021, 08:28
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Is it possible to get ASIS to read a checksum file from within the {app} directory? I'm testing out combining checksums based on end-user selection to be able to verify all selected items (currently just verifying main/core files), and my current implementation is to put a bunch of respectively named dummy checksum files within the/one of the core archive/s, with each optional/component archive containing its own relevant checksum, which overwrites the dummy checksum during installation. My hope is to execute a script to combine these all together (using the batch "copy" command) to merge said checksums into one complete checksum file to be used by ASIS post-install for verification. However during the compile stage it seems ASIS isn't keen on letting this happen.
Reply With Quote
  #5  
Old 24-07-2021, 08:35
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Not sure, but maybe by changing all constants {tmp} to {app} for #CRCFileName ispp.
__________________
Haters gonna hate
Reply With Quote
  #6  
Old 24-07-2021, 21:18
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
UPDATE 1: Copying the combined checksums works (checked the copied file in the {tmp} directory), however, it seems like Inno Setup isn't too happy about one of its files being replaced, I'll probably have to use something like QuickSFV and get the setup to launch a batch script if CRC's are enabled.

Quote:
Originally Posted by KaktoR View Post
Not sure, but maybe by changing all constants {tmp} to {app} for #CRCFileName ispp.
Seems like that didn't work, I'm gonna try to figure out the whole pascal scripting nonsense and see if I can copy a file from the {app} directory to the {tmp} directory.

Last edited by L33THAK0R; 24-07-2021 at 22:21.
Reply With Quote
  #7  
Old 25-07-2021, 02:48
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by L33THAK0R View Post
UPDATE 1: Copying the combined checksums works (checked the copied file in the {tmp} directory), however, it seems like Inno Setup isn't too happy about one of its files being replaced, I'll probably have to use something like QuickSFV and get the setup to launch a batch script if CRC's are enabled.



Seems like that didn't work, I'm gonna try to figure out the whole pascal scripting nonsense and see if I can copy a file from the {app} directory to the {tmp} directory.
Edit: Make changes in Settings.ini (only add RunFromAppFolder= key)

Code:
[CRCCheck]
...
...
RunFromAppFolder=0/1
If set to 1, the Hash file will be copied to {app} folder and will be executed from there instead of {tmp}.

If you want to merge some hash files together, you have to do it inside {tmp} folder first. Just make sure you do the merge operation before FileCopy Line 5004 (for NormalMode) and Line 5264 (for CompactMode).
Attached Files
File Type: 7z RunCRCFileFromApp.7z (237.5 KB, 17 views)
__________________
Haters gonna hate

Last edited by KaktoR; 25-07-2021 at 03:02.
Reply With Quote
  #8  
Old 25-07-2021, 03:10
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Edit: Make changes in Settings.ini (only add RunFromAppFolder= key)

Code:
[CRCCheck]
...
...
RunFromAppFolder=0/1
If set to 1, the Hash file will be copied to {app} folder and will be executed from there instead of {tmp}.

If you want to merge some hash files together, you have to do it inside {tmp} folder first. Just make sure you do the merge operation before FileCopy Line 5004 (for NormalMode) and Line 5264 (for CompactMode).
Thank you for this! I'll definitely see if I can carry these changes over to v7.2.0 (I can't seem to get my head around versions past this version but currently, and for the foreseeable future, my needs are pretty basic regarding setup functionality). I was able to enact my previous plans of using QuickSFV with just a few changes in the script. I'm sorry to have caused you the trouble, but hopefully I'll be able to put your effort to good use!
Reply With Quote
  #9  
Old 28-07-2021, 12:18
mr_gnar's Avatar
mr_gnar mr_gnar is offline
Registered User
 
Join Date: Oct 2020
Location: America
Posts: 13
Thanks: 1
Thanked 6 Times in 4 Posts
mr_gnar is on a distinguished road
I recently downloaded v7.3.1 and it seems promising enough with what I looked at, but I am having trouble trying to compile a setup so I can test to see if I can get anything to work.

Line 4066: Column 9: Unknown identifier "I" - This error pops up. Without changing anything in the stock Settings.ini, that error doesn't show. The line is something related to the "task list", but the only thing I changed was disabling it because I don't want to use it. What's the issue?
__________________
Stretched to breaking an obscene canvas on a stretcher of parasitism.
Reply With Quote
  #10  
Old 28-07-2021, 13:38
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by mr_gnar View Post
I recently downloaded v7.3.1 and it seems promising enough with what I looked at, but I am having trouble trying to compile a setup so I can test to see if I can get anything to work.

Line 4066: Column 9: Unknown identifier "I" - This error pops up. Without changing anything in the stock Settings.ini, that error doesn't show. The line is something related to the "task list", but the only thing I changed was disabling it because I don't want to use it. What's the issue?
This error I think is because you didn't replace the old script with the hotfix posted HERE.
Please advise if you still continue to display the compilation error after replacing the script with the hotfix.
Reply With Quote
  #11  
Old 28-07-2021, 12:27
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Send me your settings.ini
__________________
Haters gonna hate
Reply With Quote
  #12  
Old 11-08-2021, 18:10
mr_gnar's Avatar
mr_gnar mr_gnar is offline
Registered User
 
Join Date: Oct 2020
Location: America
Posts: 13
Thanks: 1
Thanked 6 Times in 4 Posts
mr_gnar is on a distinguished road
Red face

Late response but yeah, the hotfix did work, forgot about that. Thanks Cesar.

2 more questions. How would I include a batch script into my setup, and run it out after decompression of the archives? I was looking at this method right here for MGSV and it needs said batch script to run after install to rebuild the chunk files. I do remember seeing a post on how to do it, but that was awhile ago and I didn't need it. Second question is, is there a way to make the script not have the ability to create/use Start menus at all? Someone mentioned to me that even if the "Don't create a start menu" button is checked, it still makes start menus.
__________________
Stretched to breaking an obscene canvas on a stretcher of parasitism.
Reply With Quote
  #13  
Old 11-08-2021, 23:02
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,404 Times in 637 Posts
Masquerade is on a distinguished road
Search ssPostInstall

In that section, put Exec2(ExpandConstant('{app}\mybatchfile.bat'))

Afair this is correct syntax.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
KaktoR (12-08-2021)
  #14  
Old 12-08-2021, 01:48
LordxKinG LordxKinG is offline
Registered User
 
Join Date: Mar 2020
Location: Indonesian
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
LordxKinG is on a distinguished road
Hii, at last version v7.3.1, how to create installer without record.ini file?
Reply With Quote
  #15  
Old 12-08-2021, 01:53
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by LordxKinG View Post
Hii, at last version v7.3.1, how to create installer without record.ini file?
Records.ini is needed.

However you can include Records.ini file into Setup.dll file.
__________________
Haters gonna hate
Reply With Quote
Reply


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
[Help] need Advanced Installer script with Razor1911's UltraArc module rez3vil Conversion Tutorials 3 15-04-2024 02:24
Portable Installer Inno Setup Script y_thelastknight Conversion Tutorials 59 23-10-2020 00:02
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
Simple Arc Installer 78372 Conversion Tutorials 1 15-06-2017 15:37
MSC+Srep+lzma Simple Script Example gozarck Conversion Tutorials 10 07-09-2015 16:31



All times are GMT -7. The time now is 16:50.


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