![]() |
Quote:
What else? |
Quote:
Hello, how are you doing? That example of the button is complete? There a message saying THIS IS NOT COMPLETE. Also, if you help me about the question (post #159), i will be grateful. |
Quote:
Filecopy uninstall.jpg to app directory. then filecopy to tmp directory when uninstallling, load image, done. |
arc a -ep1 -r -w.\ .\data1.cab mlzma:a1:mfbt4:d256m:fb128:mc1000:lc8 (or)
ARC -m0 PRECOMP038 -slow SREP -m3f ARC -mrep:800mb lzma:800mb delta exe which one of these is better ?(any other code will also be a help) |
Quote:
|
-mprecomp:t-nfj:zl99:d1+srep+exe+rep:800mb+delta+lzma:a1:mfbt4 :d256m:fb128:mc1000:lc8
|
Quote:
|
Quote:
old - rep, new - super rep. |
1 Attachment(s)
Quote:
Work fine. Attachment 5552 |
I want to Automatically detect and set MAC Address to Input Query when i run setup
(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; |
1 Attachment(s)
Quote:
This was the result: Attachment 5560 |
Quote:
|
Quote:
I will try to do this. This is complete? (see #158). Thanks. |
I'm having a problem with the music during installation.
If the operating system volume is at 30%, when I run the installer, it automatically goes to 100%. Could you suggest a code that does not affect the volume of operating system? This is the code I'm using: Code:
#include "botva2.iss" |
check in bass script. It is best if you use 100 instead of another number.
this usually happens if you are using windows xp |
Quote:
Test it. |
Quote:
I used the script about music but donīt appear the button on/off music and the music audio.. Can you please see where is my mistake? |
Where are the setup files?
|
Quote:
Here is. Attachment 5616 Thanks in advance. |
what is wrong with script?
|
Quote:
|
I don't even see it.
|
Quote:
I used this script in my script but the button and the music donīt appear. |
Replace bass script with another one.
|
Quote:
|
1 Attachment(s)
Bass Scripts
|
CJ Style Pack
1 Attachment(s)
Addon Pack for Installer Source Codes:
Cjstyle Theme Pack This Package Contains: 200+ Styles(No Joke [Super Compressed]):D Enjoy!!! Compressed Size := 15MB Original Size := 375MB Password := Fileforums |
Quote:
But if i use the bass script i will have the same error that i show in the post #174. |
Remove bass then move onto something else like custom progressbar.
I also haven't installed bass in my script. |
Quote:
I will try to fix the music and button on/off on my installer. If i fix the problem, i will show you to you use, if you want, on your installer. Can you show me the face of your installer? Regards. |
1 Attachment(s)
There.
|
Quote:
The button is very nice. I still try to make work in my installer your tip (post #158). |
Ok. What else?
|
Quote:
See the linlk below (post #6). I beleive that was used the precompr method. I used just lzma2/Ultra64 of inno, but it was not the same size http://fileforums.com/showthread.php...ight=inversion |
Probably Precomp Compression wasn't used in that conversion.
But this Compression was used : LZMA2/Ultra64 But also some content was also removed. That's the reason why sizes are different. |
Hello.
Has a any way to make the uninstall files (JPEG, DLL, PNG...) stay inside of the unins000.exe? If so, please show the code. |
Quote:
|
Quote:
Thank you man, but donīt work. Can you please revised the script? I think that problem is in var: Code:
var |
Quote:
|
If I use this command:
Code:
arc a -ep1 -r -w.\DVD1\Data1.cab -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 [email protected] -dp"%choice1%" .\DVD1\%arc% |
| All times are GMT -7. The time now is 09:05. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com