Thread: Reloaded Script
View Single Post
  #43  
Old 18-02-2016, 16:39
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
RADULTRA
refer files, which are not inside
installing type folders: 0.38,0.40 etc .. without calling directory
They are cited precomp038, preomp040 but the file does not exist
We have to fix some believe


Code:
 if not FileExists('{tmp}\7z.dll') then
ExtractTemporaryFile('7z.dll');
if not FileExists('{tmp}\facompress.dll') then
ExtractTemporaryFile('facompress.dll');
 if not FileExists('{tmp}\facompress_mt.dll') then
ExtractTemporaryFile('facompress_mt.dll');
if not FileExists('{tmp}\7z.exe') then
ExtractTemporaryFile('split.exe');
if not FileExists('{tmp}\split.exe') then
ExtractTemporaryFile('7z.exe');
if not FileExists('{tmp}\arc.ini') then
ExtractTemporaryFile('arc.ini');
if not FileExists('{tmp}\CLS-MSC.dll') then
ExtractTemporaryFile('CLS-MSC.dll');
if not FileExists('{tmp}\CLS-precomp.dll') then
ExtractTemporaryFile('CLS-precomp.dll');
if not FileExists('{tmp}\CLS-srep.dll') then
ExtractTemporaryFile('CLS-srep.dll');
if not FileExists('{tmp}\english.ini') then
ExtractTemporaryFile('english.ini');
if not FileExists('{tmp}\packjpg_dll.dll') then
ExtractTemporaryFile('packjpg_dll.dll');
if not FileExists('{tmp}\packjpg_dll1.dll') then
ExtractTemporaryFile('packjpg_dll1.dll');
if not FileExists('{tmp}\oggdec.exe') then
ExtractTemporaryFile('oggdec.exe');
if not FileExists('{tmp}\split.exe') then
ExtractTemporaryFile('split.exe');
if not FileExists('{tmp}\srep.exe') then
ExtractTemporaryFile('srep.exe');
if not FileExists('{tmp}\srep64.exe') then
ExtractTemporaryFile('srep64.exe');
if not FileExists('{tmp}\zstd.exe') then
ExtractTemporaryFile('zstd.exe');
if not FileExists('{tmp}\lzham.exe') then
ExtractTemporaryFile('lzham.exe');
if not FileExists('{tmp}\cls-reflate.dll') then
ExtractTemporaryFile('cls-reflate.dll');
if not FileExists('{tmp}\dec.exe') then
ExtractTemporaryFile('dec.exe');
if not FileExists('{tmp}\brute.exe') then
ExtractTemporaryFile('brute.exe');
if not FileExists('{tmp}\msr.exe') then
ExtractTemporaryFile('msr.exe');
if not FileExists('{tmp}\nz64.exe') then
ExtractTemporaryFile('nz64.exe');
if not FileExists('{tmp}\reflate.exe') then
ExtractTemporaryFile('reflate.exe');
if not FileExists('{tmp}\raw2hif.exe') then
ExtractTemporaryFile('raw2hif.exe');
if not FileExists('{tmp}\unarc.dll') then
ExtractTemporaryFile('unarc.dll');
if not FileExists('{tmp}\unrar.dll') then
ExtractTemporaryFile('unrar.dll');
if not FileExists('{tmp}\zlib1.dll') then
ExtractTemporaryFile('zlib1.dll');
// -=- Precomp
if not FileExists('{tmp}\precomp038.exe') then
ExtractTemporaryFile('precomp038.exe');
if not FileExists('{tmp}\precomp040.exe') then
ExtractTemporaryFile('precomp040.exe');
if not FileExists('{tmp}\precomp041.exe') then
ExtractTemporaryFile('precomp041.exe');
if not FileExists('{tmp}\precomp042.exe') then
ExtractTemporaryFile('precomp042.exe');
if not FileExists('{tmp}\precomp043.exe') then
ExtractTemporaryFile('precomp043.exe');
if not FileExists('{tmp}\precomp044.exe') then
ExtractTemporaryFile('precomp044.exe');
if not FileExists('{tmp}\precomp045.exe') then
ExtractTemporaryFile('precomp045.exe');

if GetIniString('Records','PrecompVer','',ExpandConstant('{src}\records.ini')) = '0.38' then
FileCopy(ExpandConstant('{tmp}\precomp038.exe'),ExpandConstant('{tmp}\precomp.exe'),False);
if GetIniString('Records','PrecompVer','',ExpandConstant('{src}\records.ini')) = '0.40' then
FileCopy(ExpandConstant('{tmp}\precomp040.exe'),ExpandConstant('{tmp}\precomp.exe'),False);
if GetIniString('Records','PrecompVer','',ExpandConstant('{src}\records.ini')) = '0.41' then
FileCopy(ExpandConstant('{tmp}\precomp041.exe'),ExpandConstant('{tmp}\precomp.exe'),False);
if GetIniString('Records','PrecompVer','',ExpandConstant('{src}\records.ini')) = '0.42' then
FileCopy(ExpandConstant('{tmp}\precomp042.exe'),ExpandConstant('{tmp}\precomp.exe'),False);
if GetIniString('Records','PrecompVer','',ExpandConstant('{src}\records.ini')) = '0.43' then
FileCopy(ExpandConstant('{tmp}\precomp043.exe'),ExpandConstant('{tmp}\precomp.exe'),False);
if GetIniString('Records','PrecompVer','',ExpandConstant('{src}\records.ini')) = '0.44' then
FileCopy(ExpandConstant('{tmp}\precomp044.exe'),ExpandConstant('{tmp}\precomp.exe'),False);
if GetIniString('Records','PrecompVer','',ExpandConstant('{src}\records.ini')) = '0.45' then
FileCopy(ExpandConstant('{tmp}\precomp045.exe'),ExpandConstant('{tmp}\precomp.exe'),False);
Code:
[Record1]
Type=Freearc_Original
Source={src}\data1.bin
Output={app}
Disk=1
PrecompVer=0.45
Password=
__________________
if you understand read more

Last edited by rinaldo; 18-02-2016 at 18:05.
Reply With Quote
The Following 2 Users Say Thank You to rinaldo For This Useful Post:
coveiro (19-02-2016), lolaya (18-02-2016)