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)

punchao 12-07-2015 08:57

With this code:

[UninstallDelete]
Type: filesandordirs; Name: {app}

game folder is not deleted when uninstall

mertderler 12-07-2015 23:17

Quote:

Originally Posted by Bilawal (Post 441913)
Here's the fix

100% Working

toto621 27-07-2015 04:43

Edit : fixed

Thx for the script :)

toto621 28-07-2015 18:28

Hi,

I have a problem with the script, for redist I need to set an argument that point to "Documents" folder of windows so, following the rule described in the script :
;Redist Caption|Exec Directory + File|Arguments

I tried this :
Redist1=test redist 1 (7-Zip SFX)|Optionnal\test.exe|-o"{userdocs}\Documents\test1" -y
Redist2=test redist 2 (7-Zip SFX)|Optionnal\test.exe|-o{userdocs}"\Documents\test" -y
Redist3=test redist 3 (7-Zip SFX)|Optionnal\test.exe|-o"%userprofile%\Documents\test" -y
Redist4=test redist 4 (7-Zip SFX)|Optionnal\test.exe|-o%userprofile%"\Documents\test" -y

But all failled because "{userdocs}" or "%userprofile%" are treated as a folder name, not variable, is there a way to fix this ?

-- EDIT --
Another problem : No matter which soft I try (compressor or ultraarc, tested all available versions), it I tick precomp option WPI setup file ALWAYS fail with : Incorrect version of precomp.exe. Without precomp the decompression work as expected. I use WPI 3.1 untouched script from this thread.

Razor12911 29-07-2015 02:41

Find '{#R1[61]}' and rename it to ExpandConstant( '{#R1[61]}')
Find '{#R2[61]}' and rename it to ExpandConstant( '{#R2[61]}')
Find '{#R3[61]}' and rename it to ExpandConstant( '{#R3[61]}')
Find '{#R4[61]}' and rename it to ExpandConstant( '{#R4[61]}')
Find '{#R5[61]}' and rename it to ExpandConstant( '{#R5[61]}')

toto621 29-07-2015 03:40

Quote:

Originally Posted by Razor12911 (Post 442161)
Find '{#R1[61]}' and rename it to ExpandConstant( '{#R1[61]}')
Find '{#R2[61]}' and rename it to ExpandConstant( '{#R2[61]}')
Find '{#R3[61]}' and rename it to ExpandConstant( '{#R3[61]}')
Find '{#R4[61]}' and rename it to ExpandConstant( '{#R4[61]}')
Find '{#R5[61]}' and rename it to ExpandConstant( '{#R5[61]}')

Perfect !! Thx a lot :)

If you can also help me about the precomp problem it would be awesome:D

Razor12911 29-07-2015 04:53

what precomp problem?

toto621 29-07-2015 05:25

The one I added in edited post :
No matter which soft I try (compressor or ultraarc, tested all available versions), it I tick precomp option (tested all versions too 0.38 to 0.42) WPI setup file ALWAYS fail with : "Incorrect version of precomp.exe".

Without precomp option the decompression work as expected. I use WPI 3.1 untouched script from this thread.

Razor12911 29-07-2015 05:30

Well, If you tested all version from 0.38 to 0.42 (0.38, 0.40, 0.41 and 0.42) then it means you have used a much earlier version or newer version of precomp, 0.43 is not supported by WPI. UltraARC is not supported, only compressor is supported. With precomp, you must be consistent, if you use version 0.38, for decompression, you must use the same version.

toto621 29-07-2015 07:29

Ok I partially fixed my issue, until I do not tick "JPG compression" it seems to work, somehow (crc error at the end of decompression)...I will stop using PreComp for now.

Razor12911 29-07-2015 08:18

Try compressing different sets of data, for the crc error.

toto621 30-07-2015 01:53

I tried many sets of data and, from what I have seen, precomp should be renamed Uber_Alpha_Proccess...

From 10 sets of data, only 2 were successfully compressed and extracted, 6 times fail at compression and 2 at decompression (CRC error).

It's far too random to be reliable so better not use it...I know some do not have problem with (hard to believe) but it's clearly not my case.

Thx for your time and advises razor :)

Razor12911 30-07-2015 02:03

The only thing that makes that can be packjpg_dll.dll and zlib1.dll, just make sure that they are the same.

exorc 31-07-2015 02:14

Not found with ultra-arc create files?

Thanks..

toto621 31-07-2015 02:28

Quote:

Originally Posted by exorc (Post 442204)
Not found with ultra-arc create files?

Thanks..

Like razor wrote earlier, UltraARC is not supported with WPI, only Compressor.

I have a question :
Actually I use Redist to install optionnal files but some are mutually exclusive.
For example, if Redist1 is ticked, Redist 2 must untick (if it is) and if redist2 is ticked, Redist1 must untick.

If it possible to modify the script to archieve this ?


All times are GMT -7. The time now is 02:59.

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