|
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
|