![]() |
@Andre Jesus
Do a system 'Restore' back to before you installed the exe. ;) |
After compression i am getting .bin files........what to do in setup.ini to extract them?
|
just make sure in setup.ini there is NO [ExtractSettings] section... why not read the thread on the CI Tutorial all your questions/answers are there!
http://fileforums.com/showthread.php?t=92805 |
Quote:
|
Quote:
I could use the script Yener, I know that is very good and complete, but I just wanted to learn how to use the functions I need. For example, I want to put a button on / off music during installation, but I cant just remove it of the script Yener and insert in my script. Any help to improve will be welcome. Thank you very much and happy a new year. P.S Sorry my bad english. |
Quote:
|
Quote:
Anyway, thank you. |
how to
|
Used revo's conversion, it is much better than this one
|
Not enough disk space message
Hi all.
How can i create this message on inno setup? http://s7.postimage.org/jeh0gwycb/Message.jpg My installer warns me that has no space only during installation, but want him to let me know before you start the installation. I also want the message to appear "rolling back". |
Insert Button.PNG on the TPanel
Hi again.
I created a new panel to insert a button.png with the function on/off the music during installation, however, i dont know the script to inser the button.png and the function on/off music during installation. Please show me the script to insert a button.png and de funtion on/off music during installation on the TPanel that i created. My idea of creating a new TPanel is correct? This is the TPanel that i created (the black form in the left side down) http://s9.postimage.org/6v30ioeb3/Sem_t_tulo.jpg Thanks in advance. |
thats the script i posted for you to look at, the 1 you 'installed' rather then just look at, it had the button.png & music working in that small script. post # 116
|
please can anyone tell me how to add multiple archive extracting to valerons scripts no 10 and 12 link-http://fileforums.com/showthread.php?t=93298
i just want to extract only free arc files and no srep or precomp or anything else. even if add lines to script the progress bar shows 200 to 300 percent. |
find #define records and add ; or // to front of line. ( skip the line )
also add ; for either archive names, or define programfiles... & compile the script. this will generate the proper records.inf file for the archives / files in the conversion. then remove the ; or // from where you put them & run the conversion. This should then have a proper progressbar that only goes to 100%. |
sorry bro i tried but i cant do it plz do this for me. script no 10 an 12
link-http://fileforums.com/showthread.php?t=93298 nd plz upload. sorry for trouble |
you have to do it, it uses your files. either that or use the conversions posted in index for those 2 games.
|
İnno Splash +skin+bass module error
Hello, my problem inno setup screen with the following codes to hide the full-screen image as it appears in the add file with no problem putting skin alone
I am not receiving the same error when I add music files to the game but the game is opening splash and splash skin file does not delete the music does not play but instead of attaching the stand-alone splash splash splash in both the music at the same time coming, but this time I was not at the same time both the music and the system properties of skin and splash how can I use a combination of modules which alone all that I wrote the game setup screen, I want a large modules add dll files and codes still getting the error ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "Angy Birds" #define MyAppVersion "1.0" #define MyAppPublisher "Rovivo" #define MyAppURL "www.Rovivo.com" #define MyAppExeName "AngryBirds.exe" [ISFormDesigner] WizardForm=FF0A005457495A415244464F524D003010B3040 00054504630F10B5457697A617264466F726D0A57697A61726 4466F726D0C436C69656E744865696768740368010B436C696 56E74576964746803F1010C4578706C696369744C656674020 00B4578706C69636974546F7002000D4578706C69636974576 96474680301020E4578706C69636974486569676874038E010 D506978656C73506572496E636802600A54657874486569676 874020D00F10C544E65774E6F7465626F6F6B0D4F757465724 E6F7465626F6F6B00F110544E65774E6F7465626F6F6B50616 7650B57656C636F6D65506167650D4578706C6963697457696 4746803F1010E4578706C6963697448656967687403390100F 10C544269746D6170496D6167651157697A6172644269746D6 170496D61676505576964746803F4010D4578706C696369745 76964746803F4010000F10E544E65775374617469635465787 40D57656C636F6D654C6162656C3208576F726457726170080 743617074696F6E120000000007456E61626C6564080756697 369626C65080000F10E544E6577537461746963546578740D5 7656C636F6D654C6162656C3108576F7264577261700807456 E61626C6564080B506172656E74436F6C6F720807566973696 26C6508000000F110544E65774E6F7465626F6F6B506167650 9496E6E6572506167650D4578706C69636974576964746803F 1010E4578706C6963697448656967687403390100F10C544E6 5774E6F7465626F6F6B0D496E6E65724E6F7465626F6F6B00F 110544E65774E6F7465626F6F6B506167650B4C6963656E736 5506167650D4578706C69636974576964746803A1010E45787 06C6963697448656967687403ED000000F110544E65774E6F7 465626F6F6B506167650D53656C656374446972506167650D4 578706C69636974576964746803A1010E4578706C696369744 8656967687403ED000000F110544E65774E6F7465626F6F6B5 06167650F53656C6563745461736B73506167650D4578706C6 9636974576964746803A1010E4578706C69636974486569676 87403ED00000000F1065450616E656C094D61696E50616E656 C00F10C544269746D6170496D6167651657697A617264536D6 16C6C4269746D6170496D616765044C6566740200055769647 46803F40106486569676874023C0C4578706C696369744C656 67402000D4578706C69636974576964746803F4010E4578706 C69636974486569676874023C0000F10E544E6577537461746 9635465787414506167654465736372697074696F6E4C61626 56C044C65667402F803546F70021708576F726457726170080 7456E61626C6564080E506172656E7453686F7748696E74080 756697369626C65080C4578706C696369744C65667402F80B4 578706C69636974546F7002170000F10E544E6577537461746 963546578740D506167654E616D654C6162656C044C6566740 20003546F70020005576964746802710648656967687402140 7456E61626C6564080E506172656E7453686F7748696E74080 756697369626C6508074F6E436C69636B0712506167654E616 D654C6162656C436C69636B0C4578706C696369744C6566740 2000B4578706C69636974546F7002000D4578706C696369745 76964746802710E4578706C696369744865696768740214000 000000000 [Setup] WizardSmallImageFile=C:\Users\VALX\Desktop\Adsız.b mp WizardImageFile=C:\Users\VALX\Desktop\Fon.bmp ; NOTE: The value of AppId uniquely identifies this application. ; Do not use the same AppId value in installers for other applications. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) AppId={{7A0207A0-B136-4EEC-9C43-BBE448A54BC4} AppName={#MyAppName} AppVersion={#MyAppVersion} ;AppVerName={#MyAppName} {#MyAppVersion} AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} DefaultDirName={pf}\{#MyAppName} DefaultGroupName={#MyAppName} DisableProgramGroupPage=yes OutputDir=C:\Users\VALX\Desktop OutputBaseFilename=Angy Birds Compression=lzma SolidCompression=yes [Languages] Name: default; MessagesFile: compiler:Default.isl [Tasks] Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked [Files] Source: C:\Users\VALX\Desktop\Yeni klasör\Yeni klasör (2)\Rovio\Angry Birds\AngryBirds.exe; DestDir: {app}; Flags: ignoreversion Source: C:\Users\VALX\Desktop\Yeni klasör\Yeni klasör (2)\Rovio\*; DestDir: {app}; Flags: ignoreversion recursesubdirs createallsubdirs ; NOTE: Don't use "Flags: ignoreversion" on any shared system files Source: Dreams.cjstyles; DestDir: {app} Source: ISSkin.dll; DestDir: {app} Source: Splash.png; DestDir: {tmp}; Flags: dontcopy Source: isgsg.dll; DestDir: {tmp}; Flags: dontcopy [Icons] Name: {group}\{#MyAppName}; Filename: {app}\{#MyAppExeName} Name: {group}\{cm:ProgramOnTheWeb,{#MyAppName}}; Filename: {#MyAppURL} Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe} Name: {commondesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: desktopicon [Run] Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}; Flags: nowait postinstall skipifsilent [Code] { RedesignWizardFormBegin } // Don't remove this line! // Don't modify this section. It is generated automatically. procedure PageNameLabelClick(Sender: TObject); forward; procedure RedesignWizardForm; begin with WizardForm.WizardBitmapImage do begin Width := ScaleX(500); end; with WizardForm.WelcomeLabel2 do begin WordWrap := False; Caption := ''; Enabled := False; Visible := False; end; with WizardForm.WelcomeLabel1 do begin WordWrap := False; Enabled := False; ParentColor := False; Visible := False; end; with WizardForm.WizardSmallBitmapImage do begin Left := ScaleX(0); Width := ScaleX(500); Height := ScaleY(60); end; with WizardForm.PageDescriptionLabel do begin WordWrap := False; Enabled := False; ParentShowHint := False; Visible := False; Left := ScaleX(-8); Top := ScaleY(23); end; with WizardForm.PageNameLabel do begin Enabled := False; ParentShowHint := False; Visible := False; OnClick := @PageNameLabelClick; Left := ScaleX(0); Top := ScaleY(0); Width := ScaleX(113); Height := ScaleY(20); end; { ReservationBegin } // This part is for you. Add your specialized code here. { ReservationEnd } end; // Don't modify this section. It is generated automatically. { RedesignWizardFormEnd } // Don't remove this line! procedure PageNameLabelClick(Sender: TObject); begin end; procedure InitializeWizard(); begin RedesignWizardForm; end; procedure LoadSkin(lpszPath: String; lpszIniFileName: String); external 'LoadSkin@files:isskin.dll stdcall'; function InitializeSetup(): Boolean; begin ExtractTemporaryFile('Dreams.cjstyles'); LoadSkin(ExpandConstant('{tmp}\Dreams.cjstyles'), ''); Result := True; end; [*Code] // p2:String -- Inno Setup (Kein UNICODE) // p2:AnsiString -- Inno Setup (UNICODE) procedure ShowSplashScreen(p1:HWND;p2:AnsiString;p3,p4,p5,p6 ,p7:integer;p8:boolean;p9:Cardinal;p10 :integer); external 'ShowSplashScreen@files:isgsg.dll stdcall delayload'; procedure Splash(); begin ExtractTemporaryFile('isgsg.dll'); ExtractTemporaryFile('Splash.png'); ShowSplashScreen(WizardForm.Handle,ExpandConstant( '{tmp}')+'\Splash.png',1000,3000,1000,0,255,False, $FFFFFF,10); end; procedure InitializeWizard(); begin Splash(); end; |
How to Set a Different Background to Each Page.
Hello.
I loaded 4 images .jpg (with botva2.dll) to use like background on my installer, however, the images just stay in welcome page (ID wpWelcome) one upon another. How can i set each image like background in your respective page? This is my idea: image 1.jpg like bagkground on Welcomepage (wpWelcome) image 2.jpg like background on Readypage (wpReady) image 3.jpg like background on Installpage (wpInstalling) image 4.jpg like background on Finishedpage (wpFinished) This is my script. Code:
#include "Install\botva2.iss" |
Can someone teach me how to add registry entries on my conversion?
|
guys i have small problem here i have reg key it's already done but there is only one problem in here it is
Quote:
any ideas?!! thanks |
your matching drive letter for cdrom-drive
|
yeah i know that i was asking about this
the original setup detect where the game was installed from and i want my setup to do the same and write this in the reg file |
that one value is insignificant, whole line can be deleted from reg section. doesnt matter where it was installed from.
|
New Font
Hello guys.
How can i use a new font (font.ttf) that i don´t have in my system, on the inno setup? Example of font that i don´t have in my system. http://www.1001freefonts.com/image.p...o%20The%20Hand The script to this case is the same in the post # 138. Thanks in advanced. |
[Files]
Source: Font.ttf; DestDir: {tmp}; Flags: dontcopy; [Code] #ifdef UNICODE #define A "W" #else #define A "A" #endif const FR_PRIVATE = $10; function AddFontResource(lpszFilename:string;fl:dword;pdv:i nteger): Integer; external 'AddFontResourceEx{#A}@gdi32.dll stdcall'; function RemoveFontResource(lpszFilename:string;fl:dword;pd v:integer): BOOL; external 'RemoveFontResourceEx{#A}@gdi32.dll stdcall'; procedure InitializeWizard; begin ExtractTemporaryFile('Font.ttf'); AddFontResource(ExpandConstant('{tmp}\Font.ttf'), FR_PRIVATE, 0); end; procedure DeinitializeSetup; begin RemoveFontResource(ExpandConstant('{tmp}\Font.ttf' ), FR_PRIVATE, 0); end; __________________________________________________ ______________ Glad could help with font. Work on ANSI and UNICODE Sorry for bad english. |
Quote:
|
Quote:
I tried several ways and could not, can you give me an example please? |
Quote:
I will try use this code and return the result. |
[Code]
var Image1, Image2, Image3, Image4: Longint; procedure InitializeWizard(); begin h:=WizardForm.Handle; Image1:=ImgLoad(h,ExpandConstant('{tmp}\1.jpg'),0, 0,600,400,True,True); Image2:=ImgLoad(h,ExpandConstant('{tmp}\2.jpg'),0, 0,600,400,True,True); Image3:=ImgLoad(h,ExpandConstant('{tmp}\3.jpg'),0, 0,600,400,True,True); Image4:=ImgLoad(h,ExpandConstant('{tmp}\4.jpg'),0, 0,600,400,True,True); ImgLoad(h,ExpandConstant('{tmp}\glass.png'),20,130 ,560,220,True,True); ImgSetVisibility(Image1,False); ImgSetVisibility(Image2,False); ImgSetVisibility(Image3,False); ImgSetVisibility(Image4,False); ImgApplyChanges(WizardForm.Handle); end; procedure Components(CurPageID: Integer); begin ImgSetVisibility(Image1,False); ImgSetVisibility(Image2,False); ImgSetVisibility(Image3,False); ImgSetVisibility(Image4,False); case CurPageID of wpWelcome: begin ImgSetVisibility(Image1,True); end; wpReady: begin ImgSetVisibility(Image2,True); end; wpInstalling: begin ImgSetVisibility(Image3,True); end; wpFinish: begin ImgSetVisibility(Image4,True); end; end; end; procedure CurPageChanged(CurPageID: Integer); begin Components(CurPageID); ImgApplyChanges(WizardForm.Handle); end; |
Quote:
#ifdef UNICODE procedure ShowSplashScreen(p1:HWND;p2:AnsiString;p3,p4,p5,p6 ,p7:integer;p8:boolean;p9:Cardinal;p10 :integer); external 'ShowSplashScreen@files:isgsg.dll stdcall delayload'; #else procedure ShowSplashScreen(p1:HWND;p2:string;p3,p4,p5,p6,p7: integer;p8:boolean;p9:Cardinal;p10:integer); external 'ShowSplashScreen@files:isgsg.dll stdcall delayload'; #endif |
Quote:
Rather use Yener90's Installer. |
Quote:
|
Quote:
I want to change the button this instaler. http://s9.postimage.org/pg8m175pb/Image_Setup.jpg I wanto to learn these use two types of button: Type 1: http://s2.postimage.org/64jk9wgk9/button.png Type 2: http://advertboy.files.wordpress.com/2007/11/blue.jpg |
1)i have all the setup.bin files but can i create installer for these files
if yes then how? And the files would be so that all have to be DVD5 format? 2)Can i convert a inno setup of DVD9 to DVD5? if yes then how? Plz help |
look in inno script for ( these are set for DVD5 )
Code:
DiskSpanning=true |
3 Attachment(s)
Hello guys.
Finally i terminate my installer exactly how i wanted, however, i don´t know to fix a little problem about Welcomepage. When i run it, the Welcomepage show me the label mix with label of the Finishedpage, but if i click in next button and after in back button, the problem disapear and all stay normal. Does anyone know why this happens?:confused: See the problem sequence. Attachment 5517 Attachment 5518 Attachment 5519 Thanks in advance and sorry my bad english. |
Quote:
Hide Pagenamelabel and pagedescriptionlabel. this can be done in CurpageChanged. |
Quote:
[Files] Source: buttons.png; DestDir: {tmp}; Flags: dontcopy [Code] var hback, hnext, hcancel :Longint ButtonFont: TFont; procedure SetStateNewButtons; begin with WizardForm.BackButton do begin BtnSetText(hBackBtn,PAnsiChar(Caption)); BtnSetVisibility(hBackBtn,Visible); BtnSetEnabled(hBackBtn,Enabled); end; with WizardForm.NextButton do begin BtnSetText(hNextBtn,PAnsiChar(Caption)); BtnSetVisibility(hNextBtn,Visible); BtnSetEnabled(hNextBtn,Enabled); end; with WizardForm.CancelButton do begin BtnSetText(hCancelBtn,PAnsiChar(Caption)); BtnSetVisibility(hCancelBtn,Visible); BtnSetEnabled(hCancelBtn,Enabled); end; end; procedure WizardFormBtnClick(hBtn:HWND); var Btn:TButton; begin case hBtn of hCancelBtn: Btn:=WizardForm.CancelButton; hNextBtn: Btn:=WizardForm.NextButton; hBackBtn: Btn:=WizardForm.BackButton; hDirBrowseBtn: Btn:=WizardForm.DirBrowseButton; hGroupBrowseBtn: Btn:=WizardForm.GroupBrowseButton; end; Btn.OnClick(Btn); SetStateNewButtons; BtnRefresh(hBtn); end; Procedure ButtonsTexture; begin ButtonFont:=TFont.Create; ButtonFont.Name:='Arial'; ButtonFont.Size:=13; ButtonFont.Color:=$FFFFFF; with WizardForm.BackButton do begin hBackBtn:=BtnCreate(WizardForm.Handle,Left-52,Top-65,Width+25,Height+16,ExpandConstant('{tmp}\button .png'),18,False); BtnSetEvent(hBackBtn,BtnClickEventID,WrapBtnCallba ck(@WizardFormBtnClick,1)); BtnSetFont(hBackBtn,ButtonFont.Handle); BtnSetFontColor(hBackBtn,$DAE369,$DAE369,$DAE369,$ B6B6B6); BtnSetCursor(hBackBtn,GetSysCursorHandle(32649)); Width:=0; Height:=0; end; with WizardForm.NextButton do begin hNextBtn:=BtnCreate(WizardForm.Handle,Left-28,Top-65,Width+25,Height+16,ExpandConstant('{tmp}\button .png'),18,False); BtnSetEvent(hNextBtn,BtnClickEventID,WrapBtnCallba ck(@WizardFormBtnClick,1)); BtnSetFont(hNextBtn,WFButtonFont.Handle); BtnSetFontColor(hNextBtn,$DAE369,$DAE369,$DAE369,$ B6B6B6); BtnSetCursor(hNextBtn,GetSysCursorHandle(32649)); Width:=0; Height:=0; end; with WizardForm.CancelButton do begin hCancelBtn:=BtnCreate(WizardForm.Handle,Left-223,Top-65,Width+25,Height+16,ExpandConstant('{tmp}\button .png'),18,False); BtnSetEvent(hCancelBtn,BtnClickEventID,WrapBtnCall back(@WizardFormBtnClick,1)); BtnSetFont(hCancelBtn,ButtonFont.Handle); BtnSetFontColor(hCancelBtn,$DAE369,$DAE369,$DAE369 ,$B6B6B6); BtnSetCursor(hCancelBtn,GetSysCursorHandle(32649)) ; Width:=0; Height:=0; end; with WizardForm.DirBrowseButton do begin hDirBrowseBtn:=BtnCreate(WizardForm.Handle,Left+15 0,Top+55,Width-40,Height+10,ExpandConstant('{tmp}\browse.png'),6, False); BtnSetEvent(hDirBrowseBtn,BtnClickEventID,WrapBtnC allback(@WizardFormBtnClick,1)); BtnSetFont(hDirBrowseBtn,ButtonFont.Handle); BtnSetFontColor(hDirBrowseBtn,$DAE369,$DAE369,$DAE 369,$B6B6B6); BtnSetCursor(hDirBrowseBtn,GetSysCursorHandle(3264 9)); Width:=0; Height:=0; end; with WizardForm.GroupBrowseButton do begin hGroupBrowseBtn:=BtnCreate(WizardForm.Handle,Left+ 150,Top+55,Width-40,Height+10,ExpandConstant('{tmp}\browse.png'),6, False); BtnSetEvent(hGroupBrowseBtn,BtnMouseEnterEventID,W rapBtnCallback(@WFBtnEnter,1)); BtnSetEvent(hGroupBrowseBtn,BtnClickEventID,WrapBt nCallback(@WizardFormBtnClick,1)); BtnSetFont(hGroupBrowseBtn,ButtonFont.Handle); BtnSetFontColor(hGroupBrowseBtn,$DAE369,$DAE369,$D AE369,$B6B6B6); BtnSetCursor(hGroupBrowseBtn,GetSysCursorHandle(32 649)); Width:=0; Height:=0; end; end; |
Hello.
I know to load image .jpg on installer, like example below: Code:
InnerNotebook.Hide;How can i load image .jpg on the uninstaller screen? Sorry my bad english. |
4 Attachment(s)
Quote:
Now work correctly. Attachment 5542 Attachment 5543 Attachment 5544 Attachment 5545 |
| All times are GMT -7. The time now is 10:30. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com