FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   INNO TROUBLESHOOT - Questions Here (https://fileforums.com/showthread.php?t=93193)

MMR 02-07-2014 20:01

Hi , I want the installer don't make AppName or DefaultDirName to use installer as abatch like this :
http://s10.postimg.org/dnbv49xix/screenshot_7.png

Razor12911 04-07-2014 00:29

Defaultdirname should be {sd}

MMR 04-07-2014 12:30

Quote:

Originally Posted by Razor12911 (Post 432348)
Defaultdirname should be {sd}

thanks Razor12911 but it didn't work well , after opening setup.exe file it work like this :
http://s10.postimg.org/gjyw4k3cp/screenshot_13.png

but if press browse & change the location it dosn't work like this :
http://s10.postimg.org/7dglh9y49/screenshot_14.png
please any help :confused: .

Dante1995 04-07-2014 14:28

try this

MMR 05-07-2014 07:54

Quote:

Originally Posted by Dante1995 (Post 432359)
try this

thanks but the same problem , you don't understand what I mean ,
I want the setup doesn't make folder to install the files ( setup don't use DefaultDirName ) just install files in any partition or folder :confused::confused:
http://s10.postimg.org/kmuihdmux/screenshot_17.png

Darkangel5 09-07-2014 03:32

hello,

sorry to use google translation to translate.

I made an autorun (see screen).

http://img11.hostingpics.net/pics/344903Sanstitre.jpg

I would like to know how to make a zoom effect passage of the mouse has on the button readme, manual etc etc.

I post a message there about 2 months and had me help razor12911
but I can not do
So if anyone has a script to help me would be nice ca

thank you

Logrim 11-07-2014 06:20

One little question, please help me in you can :D

i have a botva2 button, this:

Quote:

InstallGame1Btn:=BtnCreate(WizardForm.Handle,55,84 ,15,15,'AutorunMainBtn.png',0,False);
BtnSetEvent(InstallGame1Btn,BtnClickEventID,CallBa ckAddr('InstallGame1BtnClick'));
BtnSetEvent(InstallGame1Btn,BtnMouseEnterEventID,C allBackAddr('BtnEnter'));
BtnSetCursor(InstallGame1Btn,GetSysCursorHandle(32 649));
and i have a label for that button. i want to have the same setbounds in the label that the button, but, and this is the problem, i want if i have to positioning the button in another point of the autorun, move the label at the same position automatly.. i hope you understand my problem.

I want something like this, but with button not work.
SetBounds((InstallGame1Btn.Left + InstallGame1Btn.Width) + 10,0,0,0);

This is the label:
Quote:

InstallGame1Label:=TLabel.Create(WizardForm);
InstallGame1Label.Parent:=WizardForm;
InstallGame1Label.SetBounds(75,84,0,0);
InstallGame1Label.Font.Name:='Verdana';
InstallGame1Label.Font.Style:=[fsBold];
InstallGame1Label.Font.Color:=$C0C0C0; //Light Gray;
InstallGame1Label.Font.Size:=9;
InstallGame1Label.Caption:=ExpandConstant('{#Game1 Name}');
InstallGame1Label.OnMouseDown:=@WFMouseDown;
InstallGame1LabelS:=TLabel.Create(WizardForm);
with InstallGame1LabelS do begin
Parent:=WizardForm;
SetBounds(75+1,84+1,0,0);
Font.Name:='Verdana';
Font.Style:=[fsBold];
Font.Color:=clBlack;
Font.Size:=9;
SendToBack;
Caption:=ExpandConstant('{#Game1Name}');
OnMouseDown:=@WFMouseDown;
end;
Thanks

Edit: anyone know how to make a label color semitransparent?

Razor12911 11-07-2014 15:59

@Darkangel5

Fix the lines where there are errors, using phone in bed, not even using a computer. :D
first create a timer like this:
var
FontTimer: TTimer;
InstallMouseMove: Boolean;

second create the Timer's procedure

procedure FontOnTimer(Sender: TObject);
begin
if InstallMouseMove and (installlabel.font.size < 18) then
installlabel.font.size:=installlabel.font.size:= + 1;
if not InstallMouseMove and (installlabel.font.size > 12) then
installlabel.font.size:=installlabel.font.size:= - 1;
end;

the label's mouse enter and leave

procedure InstallLabelOnEnter(Sender: TObject);
begin
InstallMouseMove:=True;
end;

procedure InstallLabelOnLeave(Sender: TObject);
begin
InstallMouseMove:=False;
end;

now at initializewizard do this

InstallLabel.OnMouseLeave:=@InstallLabelOnLeave;
InstallLabel.OnMouseEnter:=@InstallLabelOnEnter;
FontTimer:=TTimer.Create(WizardForm)
with FontTimer do
begin
OnTimer:=@FontOnTimer;
Interval:=10;
Enabled:=True;
end;

installlabel is the existing label.

Razor12911 11-07-2014 16:09

Quote:

Originally Posted by Logrim (Post 432581)
One little question, please help me in you can :D

i have a botva2 button, this:



and i have a label for that button. i want to have the same setbounds in the label that the button, but, and this is the problem, i want if i have to positioning the button in another point of the autorun, move the label at the same position automatly.. i hope you understand my problem.

I want something like this, but with button not work.
SetBounds((InstallGame1Btn.Left + InstallGame1Btn.Width) + 10,0,0,0);

This is the label:


Thanks

Edit: anyone know how to make a label color semitransparent?

these botva2 buttons are longintegers, looks at the functions and the variables, they are longint and longit doesn't have left, nor top and stuff like that but you can get those values by doing this:
var
Pos: TRect;
begin
BtnGetPosition(InstallGame1Btn,Pos.Left,Pos.Top,Po s.Right,Pos.Bottom);
//Right is Width and and Bottom is Height
SetBounds((Pos.Left + Pos.Right) + 10,0,0,0);
end;

Razor12911 11-07-2014 16:20

Quote:

Originally Posted by MMR (Post 432357)
thanks Razor12911 but it didn't work well , after opening setup.exe file it work like this :
http://s10.postimg.org/gjyw4k3cp/screenshot_13.png

but if press browse & change the location it dosn't work like this :
http://s10.postimg.org/7dglh9y49/screenshot_14.png
please any help :confused: .

[setup]
defaultdirname={sd}

[code]
procedure DirEditOnChange(Sender:TObject);
begin
WizardForm.DirEdit.Text:=AddBackSlash(ExtractFileD rive(WizardForm.DirEdit.Text));
end;

procedure InitializeWizard;
begin
WizardForm.DirEdit.OnChange:=@DirEditOnChange;
end;

Razor12911 12-07-2014 09:16

Quote:

Originally Posted by Logrim (Post 432581)
One little question, please help me in you can :D

i have a botva2 button, this:



and i have a label for that button. i want to have the same setbounds in the label that the button, but, and this is the problem, i want if i have to positioning the button in another point of the autorun, move the label at the same position automatly.. i hope you understand my problem.

I want something like this, but with button not work.
SetBounds((InstallGame1Btn.Left + InstallGame1Btn.Width) + 10,0,0,0);

This is the label:


Thanks

Edit: anyone know how to make a label color semitransparent?

semitransparent font color? I don't think it is possible under VCL well maybe it is but is possible in FMX where color is written in this manner $AARRGGBB where the AA is the alpha/transparent color level but in VCL/Inno Ssetup it is something like this $AABBGGRR where AA is normal when it is < 60 but when it is > 60 it is black.

aj12345 13-07-2014 00:27

How to add disk space required and avaible.
http://s5.postimg.org/psaho6n2f/screenshot_7.png

MMR 18-07-2014 19:57

Quote:

Originally Posted by Razor12911 (Post 432601)
[setup]
defaultdirname={sd}

[code]
procedure DirEditOnChange(Sender:TObject);
begin
WizardForm.DirEdit.Text:=AddBackSlash(ExtractFileD rive(WizardForm.DirEdit.Text));
end;

procedure InitializeWizard;
begin
WizardForm.DirEdit.OnChange:=@DirEditOnChange;
end;

thanks "Razor12911" but thier's error ;
i choose the location "C:\fraps\" but it make new folder automatically :
http://s10.postimg.org/tzqi7r189/Screenshot_175.png
and if i press ok the location change to "C:\" without any dir then it give me error :
http://s10.postimg.org/vstew2mex/Screenshot_177.png
please help if you can :confused: .

Logrim 09-09-2014 06:25

i have a question, i'm trying to add wintb to my code, and i can add it without errors, but the taskbar preview not show correctly, my code have mask, and only show in preview the picture, but not the welcome letters or the buttons.. how can i solve it? i hope you can understand my problem.

altef_4 09-09-2014 07:36

Quote:

Originally Posted by Logrim (Post 433877)
i have a question, i'm trying to add wintb to my code, and i can add it without errors, but the taskbar preview not show correctly, my code have mask, and only show in preview the picture, but not the welcome letters or the buttons.. how can i solve it? i hope you can understand my problem.

it's happening because in task bar shows your "mask" form and not form with text, i have same problem in my Enhanced Installer.

y_thelastknight 09-09-2014 08:04

Quote:

Originally Posted by Logrim (Post 433877)
i have a question, i'm trying to add wintb to my code, and i can add it without errors, but the taskbar preview not show correctly, my code have mask, and only show in preview the picture, but not the welcome letters or the buttons.. how can i solve it? i hope you can understand my problem.

what code did you use??

Code:

procedure TaskBarV11(wf: HWND); external 'TaskBarV11@{tmp}\WinTB.dll stdcall delayload';
Code:

TaskBarV11(WizardForm.Handle);
this code work fine for me.

Logrim 09-09-2014 10:42

bro, can you show me the entire code if is not much? i try a lot of times and only show the mask part in taskbar.. the code it's going to take years lol.. but is almost finished.. only two or three details..

y_thelastknight 09-09-2014 11:17

1 Attachment(s)
Quote:

Originally Posted by Logrim (Post 433892)
bro, can you show me the entire code if is not much? i try a lot of times and only show the mask part in taskbar.. the code it's going to take years lol.. but is almost finished.. only two or three details..

this is my script.

Logrim 09-09-2014 12:18

y_thelastknight the icon on taskbar dissapears with that code :P

y_thelastknight 11-09-2014 11:26

Quote:

Originally Posted by Logrim (Post 433895)
y_thelastknight the icon on taskbar dissapears with that code :P

not for me. :(

Logrim 11-09-2014 23:40

nah, i suposse is for the mask or something... i give up :D but a lot of thanks bro.

P.D. Sorry moderators if my two last post are a little useeles.

Grumpy 12-09-2014 08:10

Quote:

Originally Posted by Logrim (Post 433966)
P.D. Sorry moderators if my two last post are a little useeles.

The Forum is currently having a few Database errors so I can not check which were your last 2 posts but if you are talking about your last 2 posts here in this thread then no they are not useless posts.
This thread is for 'questions' and you asked questions, so all is good. ;)

Carldric Clement 13-09-2014 07:04

Who's can fix it?
Here's that file link! :o

Carldric Clement 14-09-2014 08:57

Quote:

Originally Posted by altef_4 (Post 434046)
hi guys, please test this setup on your PC (some hardware info), and report back results (correct or not correct or ,maybe, don't work).

Thanks altef_4! :rolleyes::D

PS:
Code:

altef_4! I will use your GID soon!
I found that a problem is My OS (Windows 8 Pro) wasn't okay!
Maybe i'm gonna to install back the Windows 7 it!
Wich means gonna back up my all files it! Sorry altef_4!
It's my fault :o


Compiler 15-09-2014 22:25

Quote:

Originally Posted by altef_4 (Post 434046)
hi guys, please test this setup on your PC (some hardware info), and report back results (correct or not correct or ,maybe, don't work).

CPU,usable ram,OS,GPU were fine,but what is the last one HDD space ?
Using Windows 7 by the way

altef_4 16-09-2014 08:29

Quote:

Originally Posted by Compiler (Post 434091)
CPU,usable ram,OS,GPU were fine,but what is the last one HDD space ?
Using Windows 7 by the way

it's only for test, library can get almost all hardware info.

Compiler 17-09-2014 10:22

Code:

if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\Arc.exe'), ExpandConstant('x -o+ "{src}\001.arc" "{app}\"'), ExpandConstant('{tmp}'), '...',false) then break;
What does the 3rd Zero stand for ?

Dante1995 19-09-2014 02:31

Please test windows 8
 
I tested in windows 8

I created a new version Sysinfo, still in use test because the library get_hw_caps.dll please let me tested

tommythebang 19-09-2014 23:48

how to add an ini file to give special effects in setup

Razor12911 20-09-2014 02:00

Ini does not enable a setup to have special effects

mausschieber 20-09-2014 02:16

Works fine for me thanks

http://abload.de/img/test4oqx0.jpg

Dante1995 20-09-2014 06:51

Quote:

mausschieber


thanks to you bro :p

then I will use this from now :)

tommythebang 21-09-2014 07:41

how to add setup.ini to give effects to my setup

Razor12911 21-09-2014 11:45

Ini does not enable a setup to have special effects
also going to copy post as is.
Inis are only use to interact with external data(read or write data in the form of string, integer and boolean) and they don't give special effects,
use libraries to do effects and etc, you can also use components from inno setup too to do these effects.

pcblizzard 25-09-2014 02:13

Hello,

I have a problem with the "CI_Converted_To_CIU" to-Script and the "internal installation":

The setup did not start on the "setup.exe". I will setup indeed appear in the taskbar, but I can not open the window (in the task manager itself stands "Inactive"). Although the "autorun.exe" works but when I press and "Install" button and the "setup.exe" should become active, the game starts again from the beginning.

Overall, the project is almost 45 GB in size and the disc clamping has been made in 8 GB (individual * bin files are 1.59 GB in size and the "Setup.cab" has a size from 11 MB).

How can I now so the "setup.exe" to bring me the installation menu display?


Regards

Logrim 25-10-2014 07:34

I have a problem with cyrillic characters in botva2 buttons.. for example russian charcters.. in all the installer works perfectly, but in the buttons only displays a ?????.. anyone knows how can i fix it? thanks.

Razor12911 25-10-2014 08:20

look at btnsettext, the variable is PAnsiChar, whichs makes other characters like this ?????, it takes ANSI Characters but have you tried renaming PAnsiChar to String or use character as byte. like this #30 or so(don't remember) Anyways, if a character appear as questions marks, it should work on an operating system that supports it, for example if text is russian it might need system language russian to work.

Dante1995 25-10-2014 08:35

non working in botva2 pansichar string for encoding unicode, use [messages]

Carldric Clement 25-10-2014 20:51

Quote:

Originally Posted by Dante1995 (Post 435400)
non working in botva2 pansichar string for encoding unicode, use [messages]

Wow! Nice Dante1995!
It's like a logo & website it!
:rolleyes::cool::D

minh_k43sj 25-10-2014 22:31

Hello, everyone !
How to i can install DirectX (mode not silent, show the windows install DirectX)
I should fix : /silent =???

Code
if CurStep=ssPostInstall then begin
if DirectXCB.Checked then begin
Status.Caption:='Installing DirectX...';
Status.Left := 200;
Status.Top := 200;
Status.Width := 223;
Status.Height := 20;
Exec2(ExpandConstant('{src}\Redist\DirectX\DXSETUP .exe'),'/silent',false);


All times are GMT -7. The time now is 05:36.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com