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 13-09-2015, 04:29
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 112
Thanks: 609
Thanked 65 Times in 41 Posts
ffmla is on a distinguished road
Question {HELP}-bat file integration in inno setup script

Hello helping mind people,
i've some doubt about inno script installation.

[For Example]
For making compression i've
data1.arc
data2.arc files.
In data1.arc contain some files and iwd.bat file.

I need to extract the above files using inno script.
After extracting data1 &2.arc using inno script,then call the iwd.bat{Rebuild game data} along with installation.

I need progress for
data1.arc -33%
data2.arc -33% then
iwd.bat execution 34%{need silent install no popup}

INFO:
now i am using iwd.bat in Run section command in post installation section.

i've find the code in other source{i don't know how to implement}
Quote:
if not ISExec (0, 0, 0, ExpandConstant ('{app} \ iwd.bat'), ExpandConstant (''), ExpandConstant ('{app} \'), '...', true) then break;
i am using BB script,if anyone understand please give the details

Last edited by ffmla; 29-09-2017 at 09:04.
Reply With Quote
Sponsored Links
  #2  
Old 13-09-2015, 04:39
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
ISExec function executes win32 executable files, and a batch file is not an executable. Try using this example.
Cmd.exe /c mybatchfile.bat to make it work.
Reply With Quote
  #3  
Old 13-09-2015, 05:11
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 112
Thanks: 609
Thanked 65 Times in 41 Posts
ffmla is on a distinguished road
Wink

Quote:
Originally Posted by Razor12911 View Post
ISExec function executes win32 executable files, and a batch file is not an executable. Try using this example.
Cmd.exe /c mybatchfile.bat to make it work.
Thanks for reply
I've convert my batch to exe no problem .is there a way to include the bat installation to inno progress.
Thanks in advance
Reply With Quote
  #4  
Old 13-09-2015, 05:41
vint56 vint56 is offline
Registered User
 
Join Date: May 2011
Location: almaty
Posts: 52
Thanks: 145
Thanked 55 Times in 31 Posts
vint56 is on a distinguished road
ffmla
Use ISDone0.6final arc to unpack archives and wrapping iwi back
arc to unpack archives
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data-1.arc'), ExpandConstant('{app}\'), '', false, 'vint56', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
wrapping iwi back
if not ISPackZIP( 0, 0, ExpandConstant('{app}\Main\iw_00\*'), ExpandConstant('{app}\Main\iw_00.iwd'), 1, true ) then break;
Reply With Quote
The Following User Says Thank You to vint56 For This Useful Post:
ffmla (13-09-2015)
  #5  
Old 13-09-2015, 06:20
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 112
Thanks: 609
Thanked 65 Times in 41 Posts
ffmla is on a distinguished road
Quote:
Originally Posted by vint56 View Post
ffmla
Use ISDone0.6final arc to unpack archives and wrapping iwi back
arc to unpack archives
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data-1.arc'), ExpandConstant('{app}\'), '', false, 'vint56', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
wrapping iwi back
if not ISPackZIP( 0, 0, ExpandConstant('{app}\Main\iw_00\*'), ExpandConstant('{app}\Main\iw_00.iwd'), 1, true ) then break;
Thanks for reply.
Is it possible to get all iwd by packzip method?if not ISPackZIP( 0, 0, the number 0,0 for all is file re
spectively or not.
But my base question is how to call bat file along with installation of inno script.
Thanks.
Reply With Quote
Reply

Tags
bat file, inno script


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
-+- COMPLETE - Inno Setup Script -+- Dante1995 Conversion Tutorials 119 30-06-2023 12:42
Portable Installer Inno Setup Script y_thelastknight Conversion Tutorials 59 23-10-2020 00:02
[Help!!!] I need script extract ARC file inno GloverK1911 PC Games - CD/DVD Conversions 5 16-02-2014 03:02
FIFA 10 1x DVD9 to 1x DVD5 (MULTI5) ottuh PC Games - CD/DVD Conversions 25 26-12-2011 23:18



All times are GMT -7. The time now is 20:27.


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