|
|
|
#1
|
||||
|
||||
|
your matching drive letter for cdrom-drive
|
| Sponsored Links |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
||||
|
||||
|
that one value is insignificant, whole line can be deleted from reg section. doesnt matter where it was installed from.
|
| The Following User Says Thank You to pakrat2k2 For This Useful Post: | ||
JacksMafia (18-01-2013) | ||
|
#4
|
||||
|
||||
|
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. |
|
#5
|
||||
|
||||
|
[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. Last edited by Razor12911; 19-01-2013 at 13:56. |
|
#6
|
||||
|
||||
|
Quote:
I will try use this code and return the result. |
|
#7
|
||||
|
||||
|
[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; Last edited by Razor12911; 20-01-2013 at 00:33. |
|
#8
|
||||
|
||||
|
Can you give a example of glass button?
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 |
|
#9
|
||||
|
||||
|
Quote:
This was the result: 1.jpg |
|
#10
|
||||
|
||||
|
Quote:
|
|
#11
|
||||
|
||||
|
Quote:
I will try to do this. This is complete? (see #158). Thanks. Last edited by Andre Jesus; 05-02-2013 at 02:19. |
|
#12
|
||||
|
||||
|
Can you please show an example?
|
|
#13
|
|||
|
|||
|
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 |
|
#14
|
||||
|
||||
|
look in inno script for ( these are set for DVD5 )
Code:
DiskSpanning=true DiskSliceSize=1556000000 SlicesPerDisk=3 |
|
#15
|
||||
|
||||
|
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? ![]() See the problem sequence. 1.jpg 2.jpg 3.jpg Thanks in advance and sorry my bad english. Last edited by Andre Jesus; 01-02-2013 at 06:48. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |