|
|
|
#1
|
|||
|
|||
|
BoxInstaller
Simple Installer ISDone
Last edited by Grumpy; 26-05-2015 at 18:31. |
| The Following 15 Users Say Thank You to Dante1995 For This Useful Post: | ||
ADMIRAL (04-07-2020), Adonix (31-10-2014), Andrey167 (22-09-2014), arkantos7 (23-09-2014), Carldric Clement (07-11-2014), ChronoCross (21-09-2014), felice2011 (22-09-2014), Karekas (22-03-2023), Kral (28-04-2019), lhanz678 (27-05-2015), mausschieber (22-09-2014), MOSTAPHA_VIP (23-01-2017), Mundo (16-07-2023), Razor12911 (22-09-2014), Valtus (22-09-2014) | ||
| Sponsored Links |
|
#2
|
|||
|
|||
|
|
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
|||
|
|||
|
in output folder there is "data1.arc" what is it for ? should i delete it or it's important file ?
in main_2.iss file what we have to change for different games each time ? do i have to change the marked things in images each time ?? http://i.imgur.com/XKh8HvR.jpg http://i.imgur.com/k5sGf9Q.jpg If i have the different output name like audio-1.bin file then where to make changes in main_2.iss script, please tell all places which we have to change. if i have only 1 .bin file then do we have to change anything in script ? or if we have 2 or more bin files ?? |
|
#6
|
|||
|
|||
|
Quote:
Components: Code:
#Define DirectX 'True' #Define VisualC 'True' #Define Physx 'True' #Define Frameworks 'True' False = Disable the progress bar must always be 100% same as the final value, otherwise the process will end before reaching this value Default is set to unpack a single file to use multiple repositories (data.extension) must make a division if we set 100% on (2) archives progress unpacked the archive (1) 100% and then continue with the store 2 came to 200%, and is not to arrive at this value. then you'll have to set as follows. Archives: data1.arc 100% = 1 archive 2 Archives Code:
data1.arc 50% data2.arc 50% Code:
data1.arc 33% data2.arc 33% data3.arc 34% Code:
data1.arc 25% data2.arc 25% data3.arc 25% data4.arc 25% Code:
data1.arc 20% data2.arc 20% data3.arc 20% data4.arc 20% data5.arc 20% example name and extension custom: data1.game or game.data final example x 2 Archives: Code:
#define bin1perc 50 #define bin2perc 50 #define bin1 "data1.game" #define bin2 "data2.game" Last edited by Dante1995; 03-11-2014 at 22:54. |
| The Following User Says Thank You to Dante1995 For This Useful Post: | ||
Adonix (03-11-2014) | ||
|
#7
|
|||
|
|||
|
Quote:
![]() i tested this installer :- http://fileforums.com/showpost.php?p...0&postcount=22 everything was going good but reaching at 25-30% it showed error "precomp.exe has stopped working". i tested other small file size also but again at 5% it showed precomp problem please help me. i am using precomp version 0.42 and below compression script to make .bin files. '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''' arc a -lc8 -ep1 -ed -r -w.\ Data\Data-1.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''' Please help to fix the error. Last edited by Adonix; 06-11-2014 at 00:20. |
|
#8
|
|||
|
|||
|
BBoxScript
BBoxScript is testworking 100% lang english Last edited by Dante1995; 28-12-2014 at 20:54. |
| The Following 5 Users Say Thank You to Dante1995 For This Useful Post: | ||
Andrey167 (04-11-2014), arkantos7 (05-11-2014), ChronoCross (04-11-2014), mausschieber (04-11-2014), minh_k43sj (05-11-2014) | ||
|
#9
|
||||
|
||||
|
Great Work Bro, do not tell how to add the components page here?
|
|
#10
|
|||
|
|||
|
great
![]() you can add music background to scrip ?
|
|
#11
|
|||
|
|||
|
Code:
[Files]
Source: File\Bass.dll; DestDir: {tmp}; Flags: dontcopy deleteafterinstall noencryption nocompression
Source: File\music.mp3; DestDir: {tmp}; Flags: dontcopy deleteafterinstall noencryption nocompression
[ Code]
type
HSTREAM = DWORD;
function BASS_Init(device: Integer; freq, flags: DWORD; win: hwnd; CLSID: Integer): Boolean;
external 'BASS_Init@files:BASS.dll stdcall delayload';
function BASS_StreamCreateFile(mem: BOOL; f: PAnsiChar; offset: DWORD; length: DWORD; flags: DWORD): HSTREAM;
external 'BASS_StreamCreateFile@files:BASS.dll stdcall delayload';
function BASS_Start(): Boolean;
external 'BASS_Start@files:BASS.dll stdcall delayload';
function BASS_Pause(): Boolean;
external 'BASS_Pause@files:BASS.dll stdcall delayload';
function BASS_ChannelPlay(handle: DWORD; restart: BOOL): Boolean;
external 'BASS_ChannelPlay@files:BASS.dll stdcall delayload';
function BASS_Stop(): Boolean;
external 'BASS_Stop@files:BASS.dll stdcall delayload';
function BASS_Free(): Boolean;
external 'BASS_Free@files:BASS.dll stdcall delayload';
const
BASS_SAMPLE_LOOP = 4;
var
MusicButton: TButton;
Name: string;
i : Integer;
procedure MusicButtonOnClick(Sender: TObject);
begin
if MusicButton.Caption = 'Music On' then
begin
MusicButton.Caption := 'Music Off';
BASS_Pause;
end else
begin
MusicButton.Caption := 'Music On';
BASS_Start;
end;
end;
procedure InitializeWizard();
begin
ExtractTemporaryFile('BASS.dll');
ExtractTemporaryFile('music.mp3');
if BASS_Init(-1, 44100, 0, 0, 0) then
begin
BASS_Start;
Name:=ExpandConstant('{tmp}\music.mp3');
i:=BASS_StreamCreateFile(FALSE, PAnsiChar(Name), 0, 0, 4);
if i <> 0 then
begin
BASS_ChannelPlay(i, True);
end;
MusicButton := TNewButton.Create(WizardForm);
MusicButton.Parent := WizardForm;
MusicButton.SetBounds(4,337,131,20);
MusicButton.Caption := 'Music On';
MusicButton.OnClick:=@MusicButtonOnClick;
end;
end;
procedure DeinitializeSetup();
begin
BASS_Stop;
BASS_Free;
end;
|
| The Following 2 Users Say Thank You to Dante1995 For This Useful Post: | ||
Andrey167 (05-11-2014), minh_k43sj (05-11-2014) | ||
|
#12
|
|||
|
|||
|
How to add skin.cjstyles to scrip, please help me
|
|
#13
|
|||
|
|||
|
Simply enter the code under the following headings in blue and if there is no paste all the code
ex: only Code:
UnloadSkin; all Code:
procedure DeinitializeUninstall; begin UnloadSkin; end; Simply enter the isSkin.dll files and Tiger.cjstyles in the folder style #define SkinDll "isSkin.dll" #define StyleName "Tiger.cjstyles" [Setup] [Files] Source: "style\{#SkinDll}"; DestDir: "{app}"; Flags: ignoreversion; Attribs: hidden system; Source: "style\{#StyleName}"; DestDir: "{app}"; Flags: ignoreversion; Attribs: hidden system; [ Code] procedure LoadSkin(lpszPath: PAnsiChar; lpszIniFileName: PAnsiChar); external 'LoadSkin@{tmp}\{#SkinDll} stdcall delayload'; procedure UnloadSkin; external 'UnloadSkin@{tmp}\{#SkinDll} stdcall delayload'; function ShowWindow(hWnd: Integer; uType: Integer): Integer; external '[email protected] stdcall'; function InitializeSetup: Boolean; begin ExtractTemporaryFile('{#SkinDll}'); ExtractTemporaryFile('{#StyleName}'); LoadSkin(ExpandConstant('{tmp}\{#StyleName}'), ''); Result:=True; end; procedure DeinitializeSetup; begin ShowWindow(StrToInt(ExpandConstant('{wizardhwnd}') ), 0); UnloadSkin; end; function InitializeUninstall: Boolean; begin FileCopy(ExpandConstant('{app}\{#SkinDll}'), ExpandConstant('{tmp}\{#SkinDll}'), False); FileCopy(ExpandConstant('{app}\{#StyleName}'), ExpandConstant('{tmp}\{#StyleName}'), False); LoadSkin(ExpandConstant('{tmp}\{#StyleName}'), ''); Result:=True; end; procedure DeinitializeUninstall; begin UnloadSkin; end; Last edited by Dante1995; 05-11-2014 at 19:00. |
| The Following User Says Thank You to Dante1995 For This Useful Post: | ||
minh_k43sj (05-11-2014) | ||
|
#14
|
|||
|
|||
|
Quote:
|
|
#15
|
|||
|
|||
|
sorry man i got exited too much.
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Inno Setup: Additional Libraries | altef_4 | Conversion Tutorials | 50 | 21-10-2020 09:59 |
| Blackbox Inno Setup Script | Kurutucu | Conversion Tutorials | 1190 | 18-08-2019 22:43 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Copy file with Inno Setup Script | emrahcey | Software | 1 | 02-07-2010 08:24 |