Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #946  
Old 20-02-2014, 03:11
GloverK1911's Avatar
GloverK1911 GloverK1911 is offline
Registered User
 
Join Date: Nov 2013
Location: Viet Nam
Posts: 116
Thanks: 22
Thanked 8 Times in 4 Posts
GloverK1911 is on a distinguished road
Quote:
Originally Posted by y_thelastknight View Post
Then i have to check on pc
Right now i cant use pc
Can you help me as soon as possible no? I'm very need it
Reply With Quote
Sponsored Links
  #947  
Old 20-02-2014, 08:08
EA-Games EA-Games is offline
Registered User
 
Join Date: Oct 2013
Location: palestine
Posts: 11
Thanks: 7
Thanked 1 Time in 1 Post
EA-Games is on a distinguished road
the percent ..
i want it 100% normal .


this is the script ::
http://www.mediafire.com/download/db...d1y/script.iss
Reply With Quote
  #948  
Old 20-02-2014, 09:32
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,076 Times in 2,295 Posts
Razor12911 is on a distinguished road
http://fileforums.com/showpost.php?p...1&postcount=89
Reply With Quote
  #949  
Old 21-02-2014, 01:51
reiji777's Avatar
reiji777 reiji777 is offline
Registered User
 
Join Date: May 2011
Location: Tokyo
Posts: 53
Thanks: 50
Thanked 3 Times in 3 Posts
reiji777 is on a distinguished road
should I put a different AppId for each conversion? or is it only for the updates?
and what its function and how important this AppId?
for example I had this AppId={{46C93620-0A14-4C5B-B1D5-362233D85F30} for one program can I change it manually?
somehow in yener script I didn't find this entry line.

Last edited by reiji777; 21-02-2014 at 01:53.
Reply With Quote
  #950  
Old 21-02-2014, 05:47
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,076 Times in 2,295 Posts
Razor12911 is on a distinguished road
it's up to you but using the same AppId will use previous installation data, better use Different AppID.

AppId is the program uninstall description shard whereby uninstall information is stored. AppId is also optional, you can choose not to use then Inno Setup will use AppName as AppId.
Reply With Quote
  #951  
Old 21-02-2014, 07:18
GloverK1911's Avatar
GloverK1911 GloverK1911 is offline
Registered User
 
Join Date: Nov 2013
Location: Viet Nam
Posts: 116
Thanks: 22
Thanked 8 Times in 4 Posts
GloverK1911 is on a distinguished road
Razor12911 can u help me check the script? I very need it. Plz
Reply With Quote
  #952  
Old 21-02-2014, 08:19
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
Hi,, i need help.. again.. how can i put this code in a custom label?

Quote:
(ExpandConstant('{cm:ChangeDisk} ') + Arc1[2], mbError, MB_OKCANCEL) = IDCANCEL then ISDoneError := True;
Thanks for your help.
Reply With Quote
  #953  
Old 21-02-2014, 08:52
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 361
Thanks: 248
Thanked 1,018 Times in 239 Posts
altef_4 is on a distinguished road
Quote:
Originally Posted by Logrim View Post
Hi,, i need help.. again.. how can i put this code in a custom label?



Thanks for your help.
YourCustomLabel.Caption := ExpandConstant('{cm:ChangeDisk} ') + Arc1[2];
Reply With Quote
The Following User Says Thank You to altef_4 For This Useful Post:
Logrim (21-02-2014)
  #954  
Old 21-02-2014, 10:12
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
Thanks Altef,, but dont work,, is not a label, sorry is a tnewstatictext, i create a form, and i want to skin my "insert disc 1" msgbox like i made with the custom exit, but i have problem inserting that code

I'll show you the code of the custom form, and the part where i want to put it,, if you can help me with that i'm very thankful to you.

The change disc custom form:

Quote:
///////////////////////////////////////////////////////////CUSTOM CHANGE DISC FORM
procedure ButtonOnClick(hBtn:HWND);
begin
sndPlaySound(ExpandConstant('{tmp}\click.wav'), $0002);
case hBtn of
CDYesBtn: begin MyExit.ModalResult:= mrYes; end;
CDNoBtn: begin MyExit.ModalResult:= mrNo; end;
end;
end;

procedure MyChangeDiscMessage();
begin
MyChangeDisc := CreateCustomForm();
with MyChangeDisc do
begin
BorderStyle:= bsNone;
Position := poScreenCenter;
ClientWidth := WizardForm.Width;
ClientHeight := WizardForm.Height div 2;
Color := clBlack;

with TNewStaticText.Create(MyChangeDisc) do
begin
Left := ScaleX(110);
Top := ScaleY(20);
Width := MyChangeDisc .Width - ScaleX(115);
Height := MyChangeDisc .Height div 2;
AutoSize := False;
WordWrap := True;
Caption := ExpandConstant('{cm:ChangeDisk} ') + Arc1[2];
Parent := MyChangeDisc ;
Font.Color := clWhite;
end;
end;

CDYesBtn:=BtnCreate(MyChangeDisc .Handle,572,5,15,15,ExpandConstant('{tmp}\ExitBtn. png'),0,False);
BtnSetEvent(CDYesBtn,BtnClickEventID,WrapBtnCallba ck(@ButtonOnClick,1));
BtnSetEvent(CDYesBtn,BtnMouseEnterEventID,WrapBtnC allback(@BtnEnter,1));
BtnSetCursor(CDYesBtn,GetSysCursorHandle(32649));

CDNoBtn:=BtnCreate(MyChangeDisc .Handle,560,5,15,15,ExpandConstant('{tmp}\OkBtn.pn g'), 0, false);
BtnSetEvent(CDNoBtn,BtnClickEventID,WrapBtnCallbac k(@ButtonOnClick,1));
BtnSetEvent(CDNoBtn,BtnMouseEnterEventID,WrapBtnCa llback(@BtnEnter,1));
BtnSetCursor(CDNoBtn,GetSysCursorHandle(32649));
end;
////////////////////////////////////////////////////////////////////////////////////////////////
And in this part of the code is where i want to skin the msgbox:

Quote:
if Arc1[0] <> '' then
begin
if not FileExists(Arc1[0]) then
begin
if MsgBox(ExpandConstant('{cm:ChangeDisk} ') + Arc1[2], mbError, MB_OKCANCEL) = IDCANCEL then ISDoneError := True;
end else begin
if not ISArcExtract( 0, 0, Arc1[0], Arc1[1], '', false, Arc1[3], ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then ISDoneError := True;
i:= i + 1;
end;
end;
Reply With Quote
  #955  
Old 21-02-2014, 11:33
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 436
Thanks: 614
Thanked 572 Times in 212 Posts
y_thelastknight is on a distinguished road
If im correct delete this line

Code:
if MsgBox(ExpandConstant('{cm:ChangeDisk} ') + Arc1[2], mbError, MB_OKCANCEL) = IDCANCEL then ISDoneError := True;
It would be like this

Code:
MyChangeDiscMessage;
MyChangeDisc.showmodel;
If modelresult=mrno then ISDoneError := True;

Code:
procedure ButtonOnClick(hBtn:HWND);
begin
sndPlaySound(ExpandConstant('{tmp}\click.wav'), $0002);
case hBtn of
CDYesBtn: begin MyExit.ModalResult:= mrYes; end;
CDNoBtn: begin MyExit.ModalResult:= mrNo; end;
end;
end;
What is that?? Is that fine??

Correct me if im wrong
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
The Following User Says Thank You to y_thelastknight For This Useful Post:
Logrim (21-02-2014)
  #956  
Old 21-02-2014, 16:27
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
Thanks y_thelastnight, work fine, the form show correctly, but there is two little problems :d.. the buttons ok and cancel, not work well, and i cant show one part of the message..
this code part
Quote:
+ Arc1[2]
dont work,, "unknow identifier Arc1[2]" error.

And the buttons how i say dont work .. but thanks man, i have problems calling custom forms .. Still on vacations, by the way? :P

Last edited by Logrim; 21-02-2014 at 16:29.
Reply With Quote
  #957  
Old 21-02-2014, 21:27
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 436
Thanks: 614
Thanked 572 Times in 212 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Logrim View Post
the buttons ok and cancel, not work well, and i cant show one part of the message..
this code part dont work,, "unknow identifier Arc1[2]" error.
I know button wont work like this situation.we did with another method create tbutton and made them as mrok and mrno and call them with botva2 button.

Quote:
unknow identifier Arc1[2]
Set the var and try. I guess this is the problem. But im not pro you know

Quote:
Still on vacations, by the way? :P
Yup
__________________
Glass BB | BlackBox v2 | Portable Installer

Last edited by y_thelastknight; 21-02-2014 at 21:29.
Reply With Quote
The Following User Says Thank You to y_thelastknight For This Useful Post:
Logrim (22-02-2014)
  #958  
Old 22-02-2014, 02:52
Darkangel5 Darkangel5 is offline
Registered User
 
Join Date: Oct 2013
Location: FRANCE
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Darkangel5 is on a distinguished road
sorry to use google translation to translate

I need your service.
how to scroll a text to a point defined

thank you
Reply With Quote
  #959  
Old 22-02-2014, 03:05
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
I forget to set the var.. ains.. sorry for the silly cuestion y_thelasknight.. but the buttons still doesnt work,, i test in some ways and nothing work.
Reply With Quote
  #960  
Old 22-02-2014, 03:24
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 436
Thanks: 614
Thanked 572 Times in 212 Posts
y_thelastknight is on a distinguished road
Did you try with only tbutton??did it works??
__________________
Glass BB | BlackBox v2 | Portable Installer

Last edited by y_thelastknight; 22-02-2014 at 03:36.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 06:51
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 07:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 10:48



All times are GMT -7. The time now is 19:14.


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