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)

Gupta 28-02-2017 20:52

Mainly happens when you have used FAZip's Lzma with large dictionary > 96MB for compression and unpack it with ARC's LZMA
Make sure u defined LZMA as External COmpressor with FAzip in Arc.in

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

ZakirAhmad 28-02-2017 23:48

How can I make WPI show progress during installation of game in apps icon at bootom of taskbar...
Any example script please..
thanks in advance...

Gupta 01-03-2017 00:06

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

rinaldo 01-03-2017 00:13

1 Attachment(s)
I do not know if I understand



Code:

#define  AppExe = "game.exe"

[Icons]
Name: "{userdesktop}\Uninstall {#AppName}"; Filename: "{app}\Uninstall\unins000.exe"; WorkingDir: {app}\Uninstall; Check: CheckError
Name: "{userdesktop}\Install {#AppName}"; Filename: "{app}\{#AppExe}";WorkingDir: {app}; Check: CheckError
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExe}"; WorkingDir: {app}; Check: CheckError
Name: "{group}\Uninstall {#AppName}"; Filename: "{app}\Uninstall\unins000.exe"; WorkingDir: {app}\Uninstall; Check: CheckError


ZakirAhmad 01-03-2017 03:59

@rinaldo
Bro... as i am newbie in programming... I failed what is missing while trying to compile ur script... please if possible... post the full script... thanks alot for all ur help and patience... thanks...

felice2011 01-03-2017 05:18

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

You can compress with any archiving program here in the forum, inno-setup goes configured so that during extraction temporary files, ISS has to find the same decompression files used for compression, with proper setting in the configuration file (*.ini), contrarily you will always the same error.;)

rinaldo 01-03-2017 05:20

ok
 
1 Attachment(s)
Quote:

Originally Posted by ZakirAhmad (Post 456539)
@rinaldo
Bro... as i am newbie in programming... I failed what is missing while trying to compile ur script... please if possible... post the full script... thanks alot for all ur help and patience... thanks...

done

TWOELV 01-03-2017 14:40

Hey man thank you so much but i have a question so if i use 2.5.1 both masked data and wpi then i shouldn't face anymore isdone errors right ? i am asking this because as you have specifically modified the wpi for masked data 2.5.1
so all the compression method in 2.5.1 should be supported ?
Fast,mediuml1,mediuml2,ultral1,ultral2,ultral3

sorry if i am asking noob questions but i am extremely sorry i am still learning

again thank you so much for the help <3

rinaldo 04-03-2017 12:41

the mask in a few mistakes, so sometimes inexperienced does not work

TWOELV 05-03-2017 11:01

http://i.imgur.com/8rPjbER.png

how can i add these options in wpi ?

GTX590 05-03-2017 14:58

Open WindowsPhone.iss and edit like this:

[Redists]
;Redist Caption|Exec Directory + File|Arguments
Redist1=Direct X 9.0c|DirectX\DXSetup.exe|/silent
Redist2=Microsoft Visual C++ 2013 x86|_CommonRedist\vcredist\2013\vcredist_x86.exe|quiet /norestart

Hope it'll help:cool:

TWOELV 05-03-2017 16:41

thank you also how can i do that 64 bit and 32 bit ?

GTX590 05-03-2017 18:24

Same thing, just open WindowsPhone.iss and edit like this:
[Execs]
;Tile Caption|Exec Directory|Exec File|Shortcut Name/Action Name
AppExe1=Battlefield 4||bf4_x86.exe|Play Battlefield(TM) 4
AppExe2=Battlefield 4 (64-Bit)||bf4.exe|Play Battlefield(TM) 4 (64-Bit)

TWOELV 05-03-2017 20:12

i meant how can i make 32bit and 64bit optional like if the user wants to only install 64bit version of the game then 32 bit needs to be unchecked

rinaldo 06-03-2017 01:20

1 Attachment(s)
Automatic
Code:

IsWin64
not IsWin64

manual

TWOELV 06-03-2017 04:49

Thank you so much <3

so i am assuming it should be the same if i want to add .bin files there right ?

like user can choose which .bin to install and which not too

rinaldo 06-03-2017 04:50

Mm
 
1 Attachment(s)
Quote:

Originally Posted by TWOELV (Post 456726)
Thank you so much <3

so i am assuming it should be the same if i want to add .bin files there right ?

like user can choose which .bin to install and which not too


yes
you can choose to install whatever you want adding Vx ...

TWOELV 06-03-2017 19:58

awesome so i got everything working fine :) now i just need to know how can i make these two button direct to one of the .bin files
so if the user clicks on the 64bit then it will install data2.bin
and if the user clicks on the 32bit then it will install data3.bin

http://i.imgur.com/G39P6Wd.png

rinaldo 07-03-2017 05:09

I have already given so too contribution to this script that I claim copyright to the creator :), now use other scripts because this program to the limitations .. I'm sorry but I will no longer forgive me updates :(

TWOELV 07-03-2017 13:58

Quote:

Originally Posted by rinaldo (Post 456863)
I have already given so too contribution to this script that I claim copyright to the creator :), now use other scripts because this program to the limitations .. I'm sorry but I will no longer forgive me updates :(

i understand man you have helped me a lot so no worries cheers :)

Viper645 08-03-2017 00:04

Any option to use reflate by gozarck in WPI?

TWOELV 10-03-2017 04:39

Quote:

Originally Posted by PrinceGupta2000 (Post 456486)
Mainly happens when you have used FAZip's Lzma with large dictionary > 96MB for compression and unpack it with ARC's LZMA
Make sure u defined LZMA as External COmpressor with FAzip in Arc.in

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

okay using ultral2 gives inno error -11 but using mediuml2 gives error -1 any idea why ? i have also tried other methods but the same issue

Edit : advanced setup creator works just fine with any compression method i guess now i will just have to take my time and try to replicate wpi in asc...

Edit : okay after playing around with asc i still like wpi better :p oh well rip

ZakirAhmad 13-03-2017 02:39

@rinaldo: Bro WPI is not showing icon in "uninstall or change a program"... how to make it show their icon....

ZakirAhmad 25-03-2017 18:28

@Anyone who can help, I want to add .png buttons instead of text buttons in WPI, can someone help.

Nizar3003 31-03-2017 10:14

WPI Mini Version
 
2 Attachment(s)
I mod WPI installer to mini version....
Hope you all like it...

i give example in setup...

Thanks to Razor12911 and rinaldo :D

oltjon 31-03-2017 11:29

Quote:

Originally Posted by Nizar3003 (Post 457584)
I mod WPI installer to mini version....
Hope you all like it...

i give example in setup...

Thanks to Razor12911 and rinaldo :D

very nice man;)

008black 06-04-2017 10:42

HOW TO add
PZLIB AND PZLIB LIBRARY FILES SO THAT IT CAN EXTRACT FILE PZLIB+SREP64+LZMA2 I HAVE EDITED ARC.INI AND ADDED PZLIB.EXE AND DLL FILE IN
Resource folder and edit script file under file section to include these files but it still not extracting as in temp folder there is no Pzlib and DLL file so can any one help how to add Pzlib files so that it can extract

78372 06-04-2017 11:38

Quote:

Originally Posted by 008black (Post 457870)
HOW TO add
PZLIB AND PZLIB LIBRARY FILES SO THAT IT CAN EXTRACT FILE PZLIB+SREP64+LZMA2 I HAVE EDITED ARC.INI AND ADDED PZLIB.EXE AND DLL FILE IN
Resource folder and edit script file under file section to include these files but it still not extracting as in temp folder there is no Pzlib and DLL file so can any one help how to add Pzlib files so that it can extract

You must add ExtractTemporaryFile to do that

008black 06-04-2017 19:11

Can u post the source code

TWOELV 08-04-2017 16:30

after adding pzlib support i am getting -11 error

Nizar3003 08-04-2017 21:06

Quote:

Originally Posted by TWOELV (Post 457924)
after adding pzlib support i am getting -11 error


SS please, mabe we can help you :D

Nizar3003 08-04-2017 21:11

1 Attachment(s)
Quote:

Originally Posted by 008black (Post 457878)
Can u post the source code

like this...

TWOELV 08-04-2017 23:07

Quote:

Originally Posted by Nizar3003 (Post 457930)
SS please, mabe we can help you :D

i would really really appreciate it if you can help me i have attached my script thank you ^_^ also i tried adding stats but it doesn't work like i want it to show how much time left to install and stuff

Nizar3003 09-04-2017 03:35

Quote:

Originally Posted by TWOELV (Post 457932)
i would really really appreciate it if you can help me i have attached my script thank you ^_^ also i tried adding stats but it doesn't work like i want it to show how much time left to install and stuff

i checked, and you doing right... maybe you forgot add unpack in arc.ini

008black 09-04-2017 05:22

Quote:

Originally Posted by Nizar3003 (Post 457931)
like this...

Thanks

008black 09-04-2017 05:30

I used Pzlib -m2 -x c256m +srep +Lzma2 to compress GTA 5 and also used msc for audio (compressed to 15.3 gb intial size 16.6 gb ) and final compressed size is of 39 gb version 1.36 but there are repacks on net like fitgirl 36 gb approx can anyone tell how to achieve that size

TWOELV 09-04-2017 08:57

1 Attachment(s)
i checked my arc.ini and i can see it has unpack see the attachments

felice2011 09-04-2017 11:36

TWOELV, Whyyyy Lzma2, "CMD Viper Edition" does not use the name LZMA2, but with 7z is compression line "a -txz -an -mcrc=0 -m1=lzma2:d192m:fb=273:mf=bt4:mc=999999:lc=4:lp=0 -mmt=2 -mx9", the LZ77 algorithm is LZMA 16.04 with this "-a1 -d27 -fb273 -mc100000000 -lc8 -lp4 -mfbt4 -mt8"...

so you have to delete this from INI files ...
Code:

[External compressor:Lzma2]
header = 0
unpackcmd = 7z x -txz -an -y -si -so <stdin> <stdout>

this edited ...
Code:

[External compressor:7z]
header = 0
packcmd  = 7z a -txz -an -mcrc=0 -m1=lzma2:d450m:fb=273:mf=bt4:mc=1000000:lc=4:lp=0 -mmt=4 -mx9 -si -so <stdin> <stdout>
unpackcmd = dec x -txz -an -y -si -so <stdin> <stdout>

And finally uses this method and try ..."pzlib+srep64+7z"

:)

EDIT : Tested and functional out with the said method, two in bin format archives with your password, let me know if you have solved, otherwise tell me if you submit your work here or in private ...ciaoo;)

TWOELV 09-04-2017 13:12

the arc.ini that i attached was for wpi not for cmd bench so i have to compress the files with pzlib+srep64+7z again ?

cause i am having problem when i try to install it with wpi i get -11 error but if i remove lzma2 from wpi arc.ini then installer says unknown compression method

felice2011 09-04-2017 13:20

Quote:

Originally Posted by felice2011 (Post 457950)

EDIT : Tested and functional out with the said method, two in bin format archives with your password, let me know if you have solved, otherwise tell me if you submit your work here or in private ...ciaoo;)

Quote:

Originally Posted by TWOELV (Post 457956)
the arc.ini that i attached was for wpi not for cmd bench so i have to compress the files with pzlib+srep64+7z again ?

Yesssssssssssssss..brooo:p
and remember you should use the same file is arc.ini for compression and decompression of installer with inno-setup.


All times are GMT -7. The time now is 08:06.

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