Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1066  
Old 11-05-2014, 14: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
i need to know how see the installer in the taskbar please thanks for your help.

Last edited by Logrim; 15-05-2014 at 13:47. Reason: solved
Reply With Quote
The Following User Says Thank You to Logrim For This Useful Post:
Danik1B9 (19-06-2014)
Sponsored Links
  #1067  
Old 15-05-2014, 01:40
lcatorio lcatorio is offline
Registered User
 
Join Date: May 2014
Location: Philippines
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
lcatorio is on a distinguished road
Quote:
Originally Posted by thilanka View Post
(Sorry for my English)



I want to Automatically detect and set MAC Address to Input Query when i run setup ( inno setup key generator).

Attachment 5554

Attachment 5555

Please send me the Script because i have no knowledge about this coding


This is very Important to me please help me


Thank you very much


This is inno script




[_ISTool]

EnableISX=true

Use7zip=false

[Files]

Source: sample2.iky; DestDir: {tmp}; Flags: ignoreversion

Source: ISID.dll; DestDir: {sys}\ISID; Flags: ignoreversion


[Setup]

AppName=Inno Key Generator2

AppVerName=Inno Key Generator 1.0.2.1 2

DefaultDirName={pf}\MJ Freelancing\IKG

DefaultGroupName=Inno Key Generator

OutputDir=output

AppCopyright=Copyright © Oct 2002 - 2006 MJ Freelancing

OutputBaseFilename=IKGSetup


[ThirdParty]

CompileLogMethod=append


[Code]


function ValidateSerialNumber(InnoKeyFile, User, Orgn, ProdCode, HDD, MAC, PrivateKey, Serial: AnsiString): Boolean;

external 'ValidateSerialNumber@files:ISID.dll stdcall';

function GetMACAddress(output: AnsiString): Boolean;

external 'GetMACAddress@files:ISID.dll stdcall';


var

UserPage: TInputQueryWizardPage;

UserValues: TArrayOfString;

I: Integer;

procedure InitializeWizard();

begin

{ create the custom page }

UserPage := CreateInputQueryPage(wpInfoBefore, //wpWelcome,

'Enter Registration Details', 'You need to be a registered user to be able to proceed',

'Enter your registration details exactly (case sensitive), then click Next.');

UserPage.Add('MAC Address:', False);
UserPage.Add('Unlock Code:', False);
UserPage.Add('Private Key:', False);

// here's how to assign texts to those edit boxes
UserPage.Edits[0].Text := 'Detect and set MAC Address';
UserPage.Edits[1].Text := '123456789_Unlock';
UserPage.Edits[2].Text := 'Pr1v4t3 k3y';

// iterate all edit boxes to set them ReadOnly mode and gray color in
// an easier way than writing the same three times for all edit boxes
for I := 0 to 2 do
begin
UserPage.Edits[I].ReadOnly := True;
UserPage.Edits[I].Color := clBtnFace;
end;

{ Set default values }

SetArrayLength(UserValues, 3);

end;

function ScriptDlgPages(CurPage: Integer; BackClicked: Boolean): Boolean;

var

ExpPath: String;

begin

Result := True;

if (CurPage = UserPage.ID) then

begin

ExtractTemporaryFile('sample2.iky'); { the public key file }

ExpPath := ExpandConstant('{tmp}\sample2.iky');

Result := False;

UserValues[0] := UserPage.Values[0];
UserValues[1] := UserPage.Values[1];
UserValues[2] := UserPage.Values[2];

if (UserValues[0] = '') or (UserValues[1] = '') or (UserValues[2] = '') then

MsgBox('No fields can be blank !', mbError, MB_OK)

else

begin



//UserPage.Values[0] := GetPreviousData('MAC', UserValues[0]);

//UserPage.Values[1] := GetPreviousData('Unlock', UserValues[1]);

//UserPage.Values[2] := GetPreviousData('Private', UserValues[2]);



//function ValidateSerialNumber(InnoKeyFile, User, Orgn, PCe,HDD,MAC,PrivateKey, Serial: AnsiString): Boolean;

Result := ValidateSerialNumber( ExpPath,'','','','',UserValues[0],UserValues[2],UserValues[1] );

if (not Result) then

MsgBox('Invalid Entry !', mbError, MB_OK);

end
end

end;


function NextButtonClick(CurPage: Integer): Boolean;

begin

Result := ScriptDlgPages(CurPage, False);

end;

function BackButtonClick(CurPage: Integer): Boolean;

begin

Result := True;//ScriptDlgPages(CurPage, True);

end;

function HasHtmlHelp(): Boolean;

begin

{ HHCTRL.OCX GUID }

Result := RegValueExists(HKCR, 'CLSID\{4662DAB0-D393-11D0-9A56-00C04FB68B66}\InprocServer32', '');

end;

function HasNoHtmlHelp(): Boolean;

begin

Result := not HasHtmlHelp;

end;
I also need this, still no answers? Can't find anywhere Please help us..!
Reply With Quote
The Following User Says Thank You to lcatorio For This Useful Post:
Danik1B9 (19-06-2014)
  #1068  
Old 15-05-2014, 13:49
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 would like to know if there is a way to show the installer pages in the taskbar when mousedown in the taskbar icon. thanks.
Reply With Quote
The Following User Says Thank You to Logrim For This Useful Post:
Danik1B9 (19-06-2014)
  #1069  
Old 16-05-2014, 02:05
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Logrim View Post
hi, i would like to know if there is a way to show the installer pages in the taskbar when mousedown in the taskbar icon. thanks.
use this dll bro.

WinTB 1.0.0.8 by David.D.Rocco
Attached Files
File Type: zip wintb.zip (23.9 KB, 41 views)
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
The Following 2 Users Say Thank You to y_thelastknight For This Useful Post:
Danik1B9 (19-06-2014), Logrim (16-05-2014)
  #1070  
Old 16-05-2014, 02:51
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_thelastknight... the problem with wintb is that when i mousedown in taskbar setup icon, dont show the buttons and text, only de png that i set in background. My installer have a bmp mask.
Reply With Quote
  #1071  
Old 16-05-2014, 23:08
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
How to make a botva button visible or invisible in ini file? i have botva buttons for redist checkboxes, and redist names in ini. i want that when i set not visible the directX label for example, the directx button not visible too. Now i have this in CuPageChanged and work well,, but i have to hide the label in the ini and the button in the script..

Quote:
//BtnSetVisibility(DirectXCheck,False);
DirectXLabel.Visible:=ExpandConstant('{code:Redist 1Name}') <> '';
Help please.. Thanks

Last edited by Logrim; 16-05-2014 at 23:12.
Reply With Quote
  #1072  
Old 17-05-2014, 02:05
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
@logrim Contact me in fb.. i have to confirm something.
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
  #1073  
Old 17-05-2014, 09:54
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 437
Thanks: 616
Thanked 576 Times in 213 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Logrim View Post
How to make a botva button visible or invisible in ini file? i have botva buttons for redist checkboxes, and redist names in ini. i want that when i set not visible the directX label for example, the directx button not visible too. Now i have this in CuPageChanged and work well,, but i have to hide the label in the ini and the button in the script..



Help please.. Thanks
BtnSetVisibility(DirectXCheck,ExpandConstant('{cod e:Redist 1Name}') <> '');
DirectXLabel.Visible:=ExpandConstant('{code:Redist 1Name}') <> '';
__________________
Glass BB | BlackBox v2 | Portable Installer
Reply With Quote
The Following User Says Thank You to y_thelastknight For This Useful Post:
Danik1B9 (19-06-2014)
  #1074  
Old 20-05-2014, 19:32
ahmetbtmn's Avatar
ahmetbtmn ahmetbtmn is offline
Registered User
 
Join Date: Feb 2013
Location: Turkey
Posts: 216
Thanks: 241
Thanked 443 Times in 120 Posts
ahmetbtmn is on a distinguished road
How to use precomp+srep+lzma64 or precomp+srep64+lzma in bat file? for example Razor12911 code: -mprecomp+srep64+lzma64:a1:mfbt4:d158m:fb273:mc1000 :lc8

I add code in bat file but gives error unsupported.

Last edited by ahmetbtmn; 21-05-2014 at 03:27.
Reply With Quote
The Following User Says Thank You to ahmetbtmn For This Useful Post:
Danik1B9 (19-06-2014)
  #1075  
Old 21-05-2014, 07:33
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
copy and paste arc.ini lzma64.exe and srep64.exe from conversion packer to your bat location
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
ahmetbtmn (21-05-2014), Danik1B9 (19-06-2014)
  #1076  
Old 13-06-2014, 20:15
Shadow Delta's Avatar
Shadow Delta Shadow Delta is offline
Registered User
 
Join Date: May 2014
Location: In Real Time
Posts: 59
Thanks: 97
Thanked 50 Times in 30 Posts
Shadow Delta is on a distinguished road
Send a message via ICQ to Shadow Delta Send a message via AIM to Shadow Delta Send a message via Yahoo to Shadow Delta
Could all these customization which inno can deliver, could possibly be achieved by NSIS? or does the form have a dedicated session for NSIS scripts and tool like Inno has?
__________________
Non temete l'oscurita - accettate il suo abbraccio.
Reply With Quote
The Following User Says Thank You to Shadow Delta For This Useful Post:
Danik1B9 (18-06-2014)
  #1077  
Old 14-06-2014, 01:56
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
yea I think so as long as there are libraries for NSIS that can do the same with Inno, you can always import some abilities from dll files.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Danik1B9 (18-06-2014)
  #1078  
Old 18-06-2014, 14:31
Danik1B9's Avatar
Danik1B9 Danik1B9 is offline
Registered User
 
Join Date: Jan 2014
Location: ČR
Posts: 16
Thanks: 58
Thanked 4 Times in 4 Posts
Danik1B9 is on a distinguished road
Hi I use this compression: arc a -ep1 -ed -r -w.\Data\ Data-09a.db -msrep+delta+rep+lzma:a1:mfbt4:d158m:fb273:mc1000:l c8 "D:\1\*" I know it even better, can anyone advise what mni, eg: BLACKBOX, RG Mechanics, RG Revenants. thanks
Reply With Quote
  #1079  
Old 23-06-2014, 13:16
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 with a little thing.. I try to explain the problem with my poor english..

I need to know how to move a custom form and at same time move the wizardform..
I mean move the two as if it were one.

I hope you understand me .. thanks.
Reply With Quote
The Following User Says Thank You to Logrim For This Useful Post:
y_thelastknight (27-06-2014)
  #1080  
Old 27-06-2014, 01: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
Hi all,, please i need to know how to make a custom new folder button in a custom folderbrowse form. thanks..
Reply With Quote
Reply


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 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



All times are GMT -7. The time now is 15:23.


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