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)

Kitsune1982 12-06-2019 08:47

is there a way to change the default WPI color from near electric pink to say red? Im trying but i can only seem to change the text color not the actual message box or title, in this example in bunti_04u's new script, 'Far Cry Dawn' to 'My game name', Im having issues changing the colors :< any assistance would be appreciated.

please reply back.

-Kitsune

bunti_o4u 12-06-2019 11:51

Quote:

Originally Posted by Kitsune1982 (Post 481346)
is there a way to change the default WPI color from near electric pink to say red? Im trying but i can only seem to change the text color not the actual message box or title, in this example in bunti_04u's new script, 'Far Cry Dawn' to 'My game name', Im having issues changing the colors :< any assistance would be appreciated.

please reply back.

-Kitsune

Change the color code i.e. 01 to 34 (I think) if you think the color you want is not in all these 34 color you are free to use any color by giving color code as 00 and give CustColor code for your color and it should be in BBGGRR format..

Color codes are in hex and you can convert your RGB color code to hex color code on google..

wollercoller 14-06-2019 08:14

This function is used in this Installer:
function ProgressCallback (OveralPct, CurrentPct: integer; CurrentFile, TimeStr1, TimeStr2, TimeStr3: PAnsiChar): longword;

I used TimeStr3 value for remaining time label but it is not working can any one help
me
thank you.

Jiva newstone 14-06-2019 10:27

Quote:

Originally Posted by wollercoller (Post 481367)
This function is used in this Installer:
function ProgressCallback (OveralPct, CurrentPct: integer; CurrentFile, TimeStr1, TimeStr2, TimeStr3: PAnsiChar): longword;

I used TimeStr3 value for remaining time label but it is not working can any one help
me
thank you.

TimeStr3 is estimated time
TimeStr2 is elapsed time
TimeStr1 is remaining time
i think it won't if u using disk like arc extract method
if u usin ISARCEXTRACT with progress value it works fine

wollercoller 15-06-2019 01:19

Quote:

Originally Posted by Jiva newstone (Post 481368)
TimeStr3 is estimated time
TimeStr2 is elapsed time
TimeStr1 is remaining time
i think it won't if u using disk like arc extract method
if u usin ISARCEXTRACT with progress value it works fine

Can you tell me How I can add ISARCEXTRACT in wpi.

Carldric Clement 15-06-2019 04:45

Quote:

Originally Posted by wollercoller (Post 481370)
Can you tell me How I can add ISARCEXTRACT in wpi.

If you first time to use it:
Quote:

function ISArcExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutPath, ExtractedPath: AnsiString; DeleteInFile:boolean; Password, CfgFile, WorkPath: AnsiString; ExtractPCF: boolean ):boolean; external 'ISArcExtract@files:ISDone.dll stdcall delayload';
then here's of example:
Quote:

if not ISArcExtract(0, 50, ExpandConstant('{src}\Data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
:)

Saifuddin 08-07-2019 03:29

Help me! Editing the script for my game and after compiling it doesnt change the name to my repack game it always shows Battlefiels 4

Carldric Clement 08-07-2019 09:17

Quote:

Originally Posted by Saifuddin (Post 481691)
Help me! Editing the script for my game and after compiling it doesnt change the name to my repack game it always shows Battlefiels 4

I recommended use WPI Wizard. :)

PsYcHo_RaGE 09-07-2019 20:50

Quote:

Originally Posted by Saifuddin (Post 481691)
Help me! Editing the script for my game and after compiling it doesnt change the name to my repack game it always shows Battlefiels 4

you didn't completely edited the script! check again, it should better change the name

Saifuddin 10-07-2019 02:18

Quote:

Originally Posted by PsYcHo_RaGE (Post 481718)
you didn't completely edited the script! check again, it should better change the name

Thanks for the reply, I found where i was making mistake and it works:) the preview looks awesome. But now the setup doesn't read compressed data.bin it installs with no extracted files in the destination folder, create blank desktop shortcut and finishes installation.

heihuanlanhun 11-07-2019 05:42

Quote:

Originally Posted by PsYcHo_RaGE (Post 481718)
you didn't completely edited the script! check again, it should better change the name

Help me,please.It is wrong.

unarc.dll returned an error code:-2
error:unsupported compression method
xZLib+srep:m3f+lzma:a1:mfbt4:256m:fb273:mc10000000 00:lc8+diskspan:7900mb:7950mb

PsYcHo_RaGE 11-07-2019 06:55

Quote:

Originally Posted by Saifuddin (Post 481719)
Thanks for the reply, I found where i was making mistake and it works:) the preview looks awesome. But now the setup doesn't read compressed data.bin it installs with no extracted files in the destination folder, create blank desktop shortcut and finishes installation.

any error pops up?

and are you sure that you have given the same name to the data files which you have in the script?
in the script, it should be something like this > data.bin or data.rip or data.xax
and the data file a.k.a compressed/repacked also should be having the same name which should reside in the same folder as setup.exe

PsYcHo_RaGE 11-07-2019 06:57

Quote:

Originally Posted by heihuanlanhun (Post 481744)
Help me,please.It is wrong.

unarc.dll returned an error code:-2
error:unsupported compression method
xZLib+srep:m3f+lzma:a1:mfbt4:256m:fb273:mc10000000 00:lc8+diskspan:7900mb:7950mb

check the decompression files a.k.a unpack files and also the settings in arc.ini
make sure every file is there for some purpose

heihuanlanhun 11-07-2019 10:24

Quote:

Originally Posted by PsYcHo_RaGE (Post 481747)
check the decompression files a.k.a unpack files and also the settings in arc.ini
make sure every file is there for some purpose

thanks.brother.i will try .

Saifuddin 11-07-2019 21:52

Quote:

Originally Posted by PsYcHo_RaGE (Post 481746)
any error pops up?

and are you sure that you have given the same name to the data files which you have in the script?
in the script, it should be something like this > data.bin or data.rip or data.xax
and the data file a.k.a compressed/repacked also should be having the same name which should reside in the same folder as setup.exe

Yes no error pop ups. everythis is correct but it doesnt extract data.bin file. Then i checked it with WPI Wizard it worked. but this script and the script modified by Gupta also did not worked.


All times are GMT -7. The time now is 22:43.

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