FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Windows Phone Installer (WPI) (https://fileforums.com/showthread.php?t=96242)

omrsaeedfoad 16-01-2018 22:04

How To Use Other Compressors With This Installer Without Freearc, 7Zip And WinRar. Example (Masked Data Compression)

EzzEldin16 18-01-2018 04:49

Explain your question
 
Quote:

Originally Posted by omrsaeedfoad (Post 466008)
How To Use Other Compressors With This Installer Without Freearc, 7Zip And WinRar. Example (Masked Data Compression)

you don't actually use the compressors with script the you just add them so they work together with the script libraries to unpack the archive
And the "mask data compression" is just a batch script not a compressor
it's a script with written lines to work with freearc console application

Sebazz 08-02-2018 13:45

Please i need help. How to add Minimize and Exit Buttons ?. Thanks

rinaldo 09-02-2018 00:45

Code:

//---> Directive
#define ExitButtonLeft = "765"
#define ExitButtonTop = "10"
#define MinimizeButtonLeft = "735"

//End

//---> Files
Source: Resources\MinimizePng.png; DestDir: {tmp}; Flags: dontcopy;
Source: Resources\ExitPng.png; DestDir: {tmp}; Flags: dontcopy;
//End

//---> Code
var
  ExitBtn,MinimizeBtn: HWND;
//End

//---> InitializeSetup
ExtractTemporaryFile('MinimizePng.png');
ExtractTemporaryFile('ExitPng.png');
//End

procedure MinimizeBtnClick(hBtn:HWND);
begin
  SendMessage(WizardForm.Handle,$112,61472,0);
end;

procedure CloseBtnClick(hBtn:HWND);
begin
  WizardForm.CancelButton.Click;
end;

//---> InitializeWizard
ExitBtn:=BtnCreate(WizardForm.Handle,{#ExitButtonLeft},{#ExitButtonTop},23,23,ExpandConstant('{tmp}')+'\ExitPng.png',0,False);
BtnSetEvent(ExitBtn,BtnClickEventID,WrapBtnCallback(@CloseBtnClick,1));
BtnSetCursor(ExitBtn,GetSysCursorHandle(32649));

MinimizeBtn:=BtnCreate(WizardForm.Handle,{#MinimizeButtonLeft},{#ExitButtonTop},23,23,ExpandConstant('{tmp}')+'\MinimizePng.png',0,False);
BtnSetEvent(MinimizeBtn,BtnClickEventID,WrapBtnCallback(@MinimizeBtnClick,1));
BtnSetCursor(MinimizeBtn,GetSysCursorHandle(32649));
//End


MMBDON 16-02-2018 21:42

Quote:

Originally Posted by rinaldo (Post 465329)
--->

Thank you very much Rinaldo sir. I'll include this basic script in WPI.

ZakirAhmad 18-02-2018 00:53

is it possible to use percentage instead of ram usage in mb in srepint('', 256,0) function of isdone.

PsYcHo_RaGE 02-03-2018 01:37

just downloaded

tried to compile

got this bloody error

Line 349:
Column 8:
Unknown Type 'TTimer'

KaktoR 02-03-2018 01:41

Use Inno Unicode Enhanced Edition

pakrat2k2 02-03-2018 07:20

Quote:

Originally Posted by KaktoR (Post 468575)
Use Inno Unicode Enhanced Edition

which you find in first post of topic
http://www.fileforums.com/showthread.php?t=96619

mahbodsx 14-03-2018 12:01

Sorry guys which Script Use Pzlib

rinaldo 14-03-2018 16:21

Quote:

Originally Posted by mahbodsx (Post 468999)
Sorry guys which Script Use Pzlib

this

PsYcHo_RaGE 19-03-2018 22:03

Quote:

Originally Posted by Razor12911 (Post 433799)
Windows Phone Installer v3.1

-Inno Setup Enhanced Edition 2 Unicode is required - Download
-Design based on Windows 8.1, Windows Phone 7.5, 7.8 and 8
-Enjoy

Link of WPI based on FMX:
http://fileforums.com/showthread.php?t=99856


Thank you very much for this installer i appreciate your hard work:)
but i need some help with music:confused: how to add it, and when we install something with this installer it always goes to lockscreen again; i want lockscreen but only for one time when we run the installer, and also how t add the fonts to installer so that they work if i don't have these fonts installed on my pc


and if you're going to help me please explain it well because i am still a noob
and i don't want to mess with your installer:)

PsYcHo_RaGE 19-03-2018 22:57

Quote:

Originally Posted by harshlohaan (Post 455993)
Thank you Razor12911 for the script. But I have a question. I've created multiple .bin archives (Setup-1.bin, Setup-2.bin,...). So in the script where there is a single 'data.bin' what changes I need to make for these multiple archives?


like this

[Archives]
;Precomp 0.38
;Archive Types 7Zip, Freearc and WinRAR
PrecompVer=0.38
Archive1Type=Freearc
Archive1Source={src}\Setup-1.bin(Here u need to change)
Archive1Output={app}
Archive1Disk=1
Archive1Password=

PrecompVer=0.38
Archive2Type=Freearc
Archive2Source={src}\Setup-2.bin(Here u need to change if you have another .bin file)
Archive2Output={app}
Archive2Disk=2
Archive2Password=

PsYcHo_RaGE 19-03-2018 23:04

Quote:

Originally Posted by TWOELV (Post 456479)
http://i.imgur.com/pdVqBDN.png
some people are getting that error with my repack but most people doesn't get it
so i decided to use different installer based on inno and same story
does it have something to do with masked data compressor not supporting wpi very well ?
i use the optimal compression method

Don't use the masked data compressor to compress files, but if you want to use it u need to edit the .groups file in the compressor so add more extensions to it but it seems it is still buggy & in current situation every repacker doen't use masked data compressor

PsYcHo_RaGE 19-03-2018 23:14

Quote:

Originally Posted by Nizar3003 (Post 449027)
This archive is corrupt, try with other archive.

Maybe the archive is corrupt but if its not change the ISDone.dll with suitable one :)

PsYcHo_RaGE 19-03-2018 23:18

Quote:

Originally Posted by zaniyah (Post 448894)
how to fix this ? ISDone.dll

An error Occured when unpacking!
Unarc.dll returned error code:-1
ERROR: archive data corrupted (Decompression Fails)

this fail is when im installing it


Change the ISDone.dll file & arc.exe

incompatibility between arc.exe and unarc.dll, use the same arc.exe and unarc.dll for compression and decompression.

PsYcHo_RaGE 19-03-2018 23:35

Quote:

Originally Posted by truerepacks (Post 449632)
Even added UltraARC Support with correct progress percentage

Can you send me the script with all attached files, i really want to modify this also and i was lookin for this:rolleyes:

PsYcHo_RaGE 19-03-2018 23:40

Quote:

Originally Posted by Nizar3003 (Post 449751)
I think mini installer version not bad, because i make to. but i can't share because i remove watermark. but the installer i make for me not for share. for Razor12911, i'm sorry for remove your watermark.

No sorries please Credit goes to razor only & no one else who have modified it
i too have modified razors script but i have the included the razors watermark too so that this world know that this wpi has created originally by razor and i really appreciate razors work on it and his name also looks cool on our custom modded wpi's:)

bunti_o4u 16-04-2018 13:43

I tried to create new page between welcome page and select directory page but no new page is getting created in the installer.

procedure CurPageChanged(CurPageID: Integer);

wpLicense:
begin
ButtonSetText(NextBtn,'Proceed');
ButtonSetText(BackBtn1,'Back');
end;

function ShouldSkipPage(PageID: Integer): Boolean;
begin
if (PageID <> wpWelcome) and (PageID <> wpLicense) and (PageID <> wpSelectDir) and (PageID <> wpInstalling) and (PageID <> wpFinished) then
Result:=True
else
Result:=False;
if (ISDoneError = True) and (PageID = wpFinished) then
Result:=True;
end;

ffmla 17-04-2018 01:21

Quote:

Originally Posted by bunti_o4u (Post 470267)
I tried to create new page between welcome page and select directory page but no new page is getting created in the installer.

procedure CurPageChanged(CurPageID: Integer);

wpLicense:
begin
ButtonSetText(NextBtn,'Proceed');
ButtonSetText(BackBtn1,'Back');
end;

function ShouldSkipPage(PageID: Integer): Boolean;
begin
if (PageID =wpLicense)or(PageID =wpInfoBefore)or(PageID =wpUserInfo)or(PageID =wpSelectComponents)or(PageID =wpSelectProgramGroup)or(PageID =wpSelectTasks)or(PageID =wpReady)then
Result:= True;
end;

You may test this.
In function ShouldSkipPage(PageID: Integer): Boolean; function you need to mention which page you want to hide.
ie. You use wpLicense page,then remove it from hide function.
Quote:

function ShouldSkipPage(PageID: Integer): Boolean;
begin
if (PageID =wpInfoBefore)or(PageID =wpUserInfo)or(PageID =wpSelectComponents)or(PageID =wpSelectProgramGroup)or(PageID =wpSelectTasks)or(PageID =wpReady)then
Result:= True;
end;

darkwolves 03-05-2018 09:39

Quote:

Originally Posted by PsYcHo_RaGE (Post 469331)
Don't use the masked data compressor to compress files, but if you want to use it u need to edit the .groups file in the compressor so add more extensions to it but it seems it is still buggy & in current situation every repacker doen't use masked data compressor

i have seen that error something is missing from the script requiring decompression
if that is from pankers original masked compressor it is probably 7zip
you can either add it to the script or just install it and the script will utilize it
yes 7zip and its dll are there in the masked compressor but they were not implemented into the script
or it could be something else check the resources folder and make sure all the components are integrated into the script..
also check and make sure you have unpack commands for it in arc.ini

PsYcHo_RaGE 28-05-2018 23:48

Change Logs Ver 3.1

* Added Installation Bar called winTB
* Added Music, Button, Position
* Added Pause & Resume Buttons
* Added ESplash & NSplash (Are you confused what are they?)
* Added Lockscreen switch
* Added Font - Even you don't have it installed
* Added Video Mechanism
* Added more colors at least 63 Colors
* Added Innocallback to control video and music seperately
* Added Exit & Minimize Button instead of Labels
* Added Extraction process ouside by using Archives.ini Instead of using internal
* Added Rollback while cancelling the installion process(actually fixed it)
* Added round edges (thanks to jiva Newstone)
* Added More which i forget!

Upcoming mod will be with more functions

Oh one thing more i changed the name from WPI to RPI; sorry @Razor12911 but if you want i can change it to RWPI also
and about your watermark its still there and will be always

Thanks for this great Thing @Razor12911

ffmla 08-06-2018 02:04

Button Refresh issue.
 
Hello everyone.
Is there any way to fix the button refresh issue in the Windows phone installer...?

For example:

While clicking close.
1.Close form showed.=ok
2.If we click No,=> then Close button keep active in the main form(Button not refreshed).

anyone help...

PsYcHo_RaGE 08-06-2018 03:01

Quote:

Originally Posted by ffmla (Post 471555)
Hello everyone.
Is there any way to fix the button refresh issue in the Windows phone installer...?

For example:

While clicking close.
1.Close form showed.=ok
2.If we click No,=> then Close button keep active in the main form(Button not refreshed).

anyone help...

Send me a screenshot of the error you are getting!!

ffmla 08-06-2018 03:22

Sorry now I am far from PC..
I'll talk about button refresh... issue...

Already posted by some user.

http://fileforums.com/showpost.php?p...&postcount=573

See the above posted image in the URL.

When you click [About],[Close] button, respective forms shows.on that forms if you click close,then on main form repective buttons got Active not refreshed yet.

R u understand?

PsYcHo_RaGE 10-06-2018 21:48

Quote:

Originally Posted by ffmla (Post 471560)
Sorry now I am far from PC..
I'll talk about button refresh... issue...

Already posted by some user.

http://fileforums.com/showpost.php?p...&postcount=573

See the above posted image in the URL.

When you click [About],[Close] button, respective forms shows.on that forms if you click close,then on main form repective buttons got Active not refreshed yet.

R u understand?

sorry i didn't replied but can you send me a screenshot i am not able to find what you are trying to tell me....your english!

ffmla 11-06-2018 02:22

Sorry for the mistake in conversation..
You may see the post #573.url posted on previous post.
Read that post. I am talk about Next button enable & disable code...

Also is there any way to refresh the windowsphone installer button like texture buttons.

PsYcHo_RaGE 11-06-2018 22:07

Quote:

Originally Posted by ffmla (Post 471629)
Sorry for the mistake in conversation..
You may see the post #573.url posted on previous post.
Read that post. I am talk about Next button enable & disable code...

Also is there any way to refresh the windowsphone installer button like texture buttons.

DM me or ping me on discord so i can understand it better what you are talking about

ffmla 12-06-2018 02:09

Thanks for your helping intension towards my request.

This is my known level of English.
Sorry to say.,🤐

bunti_o4u 12-06-2018 12:10

Quote:

Originally Posted by PsYcHo_RaGE (Post 471645)
DM me or ping me on discord so i can understand it better what you are talking about

he wants to fix the bug relating to refreshing the buttons. for example if you click on directory browse button and close the dialog box, the directory browse button remains active (as mouse is hovering over it) though mouse pointer is elsewhere.

I hope it is clear now.

PsYcHo_RaGE 13-06-2018 08:11

Quote:

Originally Posted by ffmla (Post 471647)
Thanks for your helping intension towards my request.

This is my known level of English.
Sorry to say.,��

DM me your script if you can gimme i will fix it

otherwise i am posting my script after some time

ffmla 13-06-2018 10:54

Thanks @PsYcHo_RaGE.
No Problem.I'll solve it, soon.
{you may read what @bunti_o4u post on your previous post.}=Exact Problem

bunti_o4u 20-06-2018 14:41

1 Attachment(s)
Quote:

Originally Posted by PsYcHo_RaGE (Post 471675)
DM me your script if you can gimme i will fix it

otherwise i am posting my script after some time

Here is the script.

pakrat2k2 20-06-2018 16:06

Quote:

Originally Posted by bunti_o4u (Post 471763)
Here is the script.

many thanks for posting i'm sure others will appreciate it very much. Looks great in fact, easily enough to change for any other game as you can just change graphics / text to suit it.

-NORO- 21-06-2018 02:48

Quote:

Originally Posted by bunti_o4u (Post 471763)
Here is the script.

looks nice thanks

bunti_o4u 24-06-2018 13:08

Quote:

Originally Posted by pakrat2k2 (Post 471767)
many thanks for posting i'm sure others will appreciate it very much. Looks great in fact, easily enough to change for any other game as you can just change graphics / text to suit it.

Welcome @pakrat2k2. But real credit goes to Razor for sharing his work.
For that many thanks to you @Razor12911.

PsYcHo_RaGE 27-06-2018 02:39

Quote:

Originally Posted by bunti_o4u (Post 471763)
Here is the script.

just saw your script looks cool, now if you have fixed problem then i don't need to do anything but if you want me to fix it DM me here

yojansdey 30-06-2018 10:04

fix 2 dvd ???????

pakrat2k2 30-06-2018 16:47

Quote:

Originally Posted by yojansdey (Post 472174)
fix 2 dvd ???????

Open the ISS script, look under [Archives] its right there, remove the // from front of line for all Archive2 lines.

yojansdey 03-07-2018 07:54

Quote:

Originally Posted by pakrat2k2 (Post 472181)
Open the ISS script, look under [Archives] its right there, remove the // from front of line for all Archive2 lines.

So this is and it does not work if I create 2 isos each of a DVD5
https://image.ibb.co/cu5vjy/not.png


All times are GMT -7. The time now is 09:21.

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