|
#106
|
||||
|
||||
|
With this code:
[UninstallDelete] Type: filesandordirs; Name: {app} game folder is not deleted when uninstall |
| Sponsored Links |
|
#107
|
|||
|
|||
|
#108
|
|||
|
|||
|
Edit : fixed
Thx for the script
Last edited by toto621; 27-07-2015 at 05:44. |
|
#109
|
|||
|
|||
|
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. Last edited by toto621; 29-07-2015 at 03:11. Reason: adding informations |
|
#110
|
||||
|
||||
|
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]}') |
| The Following User Says Thank You to Razor12911 For This Useful Post: | ||
toto621 (29-07-2015) | ||
|
#111
|
|||
|
|||
|
Quote:
![]() If you can also help me about the precomp problem it would be awesome
|
|
#112
|
||||
|
||||
|
what precomp problem?
|
|
#113
|
|||
|
|||
|
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. |
|
#114
|
||||
|
||||
|
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.
|
|
#115
|
|||
|
|||
|
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.
Last edited by toto621; 29-07-2015 at 07:42. |
|
#116
|
||||
|
||||
|
Try compressing different sets of data, for the crc error.
|
|
#117
|
|||
|
|||
|
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
|
|
#118
|
||||
|
||||
|
The only thing that makes that can be packjpg_dll.dll and zlib1.dll, just make sure that they are the same.
|
|
#119
|
|||
|
|||
|
Not found with ultra-arc create files?
Thanks.. |
|
#120
|
|||
|
|||
|
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 ? Last edited by toto621; 31-07-2015 at 02:37. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Conversion Designer/Installer Creator | Razor12911 | Conversion Tutorials | 1613 | 03-10-2024 01:24 |
| Windows XP - Tricks | gargujjwal | Software | 3 | 25-05-2008 02:54 |
| Error Windows Installer: Command And Conquer 3 Kane Edition | glfsd | PC Games | 14 | 24-01-2008 06:00 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |