PDA

View Full Version : Repack Script V2


Andrey167
26-08-2015, 07:51
http://s10.postimg.org/jwhcn0h9h/bandicam_2015_08_27_21_57_28_260.jpg (http://postimg.org/image/jwhcn0h9h/)http://s10.postimg.org/b06kj2qn9/bandicam_2015_08_27_21_57_30_973.jpg (http://postimg.org/image/b06kj2qn9/)http://s10.postimg.org/vhmxgzdd1/bandicam_2015_08_27_21_57_36_826.jpg (http://postimg.org/image/vhmxgzdd1/)http://s10.postimg.org/604ixdvmt/bandicam_2015_08_27_21_57_41_388.jpg (http://postimg.org/image/604ixdvmt/)http://s10.postimg.org/7pdm5gbc5/bandicam_2015_08_27_21_57_44_674.jpg (http://postimg.org/image/7pdm5gbc5/)http://s10.postimg.org/93590ralh/bandicam_2015_08_27_21_57_51_206.jpg (http://postimg.org/image/93590ralh/)http://s10.postimg.org/7vvwma9ut/bandicam_2015_08_27_21_58_04_145.jpg (http://postimg.org/image/7vvwma9ut/)

Script by
andrey_167

Chagelog
Ver 1.0.0

toto621
26-08-2015, 09:20
Nice, can you add a black theme edition ? I'm not fan of white :p

Andrey167
26-08-2015, 10:09
Nice, can you add a black theme edition ? I'm not fan of white :p
Like This?

DevilHunter.12
26-08-2015, 16:28
Nice Installer Can You Please Add Slideshow function in installer.

Grumpy
26-08-2015, 16:55
In the 'Features Info' you have:

+#13+ ' • Do not cut / No recoded

Should possibly say something like:

+#13+ ' • No Cuts/ No Re-encoding

OR

+#13+ ' • Nothing cut / Nothing Re-encoded

apart from that, very nice Andrey ;)

toto621
27-08-2015, 02:13
I have a couple of requests :
- Add multi-lang support (instead of hardcoded text in script)
- Read "Info" text from a separate file, it's easier and smarter than search in inside script
- Explain how to approximately calculate install size and final size (explain your formula)

Basically you can make all this by adding custom messages to isl file and create an ini file with all requered information about the repacked game, read by the script at compilation. You can check WPI script from razor for ini reading stuff and the modifications I made for it for easy multi-lang support :)

Andrey167
27-08-2015, 06:34
I have a couple of requests :
- Add multi-lang support (instead of hardcoded text in script)
- Read "Info" text from a separate file, it's easier and smarter than search in inside script
- Explain how to approximately calculate install size and final size (explain your formula)

Basically you can make all this by adding custom messages to isl file and create an ini file with all requered information about the repacked game, read by the script at compilation. You can check WPI script from razor for ini reading stuff and the modifications I made for it for easy multi-lang support :)

I'll think about your wishes

Andrey167
27-08-2015, 09:59
Update:
1) Added support for language localization 2
2) Slightly changed interface
3) Added the slideshow
4) Now the information is read from the rtf file

punchao
27-08-2015, 11:12
its possible grey version,bro?

Andrey167
27-08-2015, 11:37
its possible grey version,bro?

No version is not damp, but not final, plans to add some more features

rabbit0x1
27-08-2015, 12:52
its possible grey version,bro?

you can use blackbox style file

ffmla
16-09-2015, 01:01
First of all thanks for your script.
I am using to make installer but during installation goes when I click cancel .it is not close the process.still working.
How to fix this issue.
Thanks in advance.

sachin_rocks
14-12-2015, 08:10
o am getting this error please can you help @
Andrey167

i am getting this error can you please help

line 171 :
collumn 6:
unknown Type 'TNewIconImage'

i am using inno setup 5.5.6 (u)

pakrat2k2
14-12-2015, 11:15
i am getting this error can you please help

line 171 :
collumn 6:
unknown Type 'TNewIconImage'

i am using inno setup 5.5.6 (u)

needs enhanced version of inno, not just Unicode

http://fileforums.com/attachment.php?attachmentid=11551&d=1430150465

sachin_rocks
14-12-2015, 17:22
thanks solved it now i am getting another error while installing the game .... isdone.dll 'it is not found in any file specified for ISARCEXTRACT. how to solve this ? i have the game files compressed in .bin formats ... sorry i am new to this area hence asking

pakrat2k2
14-12-2015, 20:11
thanks solved it now i am getting another error while installing the game .... isdone.dll 'it is not found in any file specified for ISARCEXTRACT. how to solve this ? i have the game files compressed in .bin formats ... sorry i am new to this area hence asking

need to specify file names in main(skin).iss file ( look for this section ), change the file names to match what you have used.


if not ISArcExtract ( 0, 0, ExpandConstant('{src}\Setup-a.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\Setup-c.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Insert Disk #2', ExpandConstant('{src}'),'Setup-b.bin') then break;
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\Setup-b.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if ISExec(0, 0, 0, ExpandConstant('{tmp}\sfk.exe'),'join '+'"'+ExpandConstant('{app}\Setup-1.bin.part1')+'"' ,ExpandConstant('{tmp}'),'Setup-1.bin',false) then begin
if not ISArcExtract ( 0, 0, ExpandConstant('{app}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
DeleteFile(ExpandConstant('{app}\Setup-1.bin.part1'))
DeleteFile(ExpandConstant('{app}\Setup-1.bin.part2'))
DeleteFile(ExpandConstant('{app}\Setup-1.bin'))
end else break;

sachin_rocks
15-12-2015, 04:55
can you tell me which compression method is supported for this installer ? apparently the one i used is not supported by the installer

rinaldo
15-12-2015, 06:56
can you tell me which compression method is supported for this installer ? apparently the one i used is not supported by the installer

I have not read the code, but I think support for decoding, must compress and decompress the file created by the compiler (bat or compressor that is) then try to decompress (and having already the decompression method) one already knows what he needs (that versions of SREP, preComp, msc, arc.ini etc.). if everything can not be decompressed only .dll SREP or inside precompress

Andrey167
15-12-2015, 12:53
can you tell me which compression method is supported for this installer ? apparently the one i used is not supported by the installer

tested with this method!

Pulcione86
07-02-2016, 00:05
Sorry guys, how inno setup must be completed? to me by mistake

Sorry my English

Fakhruddinmaruf_
28-12-2016, 17:12
Hi andrey. Are you tested this script again? I've compiled and i got problems when succesfully installation. There are error messages. So please, can you test again and fix that errors?