This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userspace:wps-office [2019/05/20 12:42] Thomas_H [setup.ins] |
userspace:wps-office [2021/08/23 08:37] (current) |
||
---|---|---|---|
Line 6: | Line 6: | ||
Special thanks to Mossi, [[https:// | Special thanks to Mossi, [[https:// | ||
+ | Special thanks to Simon Monteneau [[https:// | ||
+ | Dépôt WAPT Les Fourmis Du Web ]] (Merci beaucoup) \\ | ||
The installation-files can be downloaded from: http:// | The installation-files can be downloaded from: http:// | ||
Line 17: | Line 19: | ||
So we have to change some things in the installation pack to force the setup to behave as we need it. | So we have to change some things in the installation pack to force the setup to behave as we need it. | ||
Once done this change, the rest is easy and we can install the new file with opsi as well known. | Once done this change, the rest is easy and we can install the new file with opsi as well known. | ||
+ | |||
+ | ==== Urgently needed ==== | ||
+ | |||
+ | - a pot of coffee or tea | ||
+ | - nerve food like chocolat | ||
+ | - nerves of steel | ||
+ | - understanding wife or colleague | ||
+ | - NO KIDS AROUND! | ||
+ | - 7Zip | ||
+ | - any Editor, which can save text in UTF-8-format | ||
Line 288: | Line 300: | ||
DefVar $ExitCode$ | DefVar $ExitCode$ | ||
DefVar $NTVersioninfo$ | DefVar $NTVersioninfo$ | ||
- | DefVar $uninstallstring$ | ||
DefVar $Parameter$ | DefVar $Parameter$ | ||
DefVar $Picture$ | DefVar $Picture$ | ||
Line 298: | Line 309: | ||
; ---------------Define some Variables here ---------------------- | ; ---------------Define some Variables here ---------------------- | ||
Set $ProductId$ | Set $ProductId$ | ||
- | Set $Picture$ | + | Set $Picture$ |
- | Set $Version$ | + | Set $Version$ |
- | Set $UninstPrg$ | + | Set $UninstPrg$ |
- | Set $uninstallstring$ = " | + | Set $Parameter$ |
- | Set $Parameter$ | + | |
; ---------------------------------------------------------------- | ; ---------------------------------------------------------------- | ||
Line 309: | Line 319: | ||
; 64 Bit OS | ; 64 Bit OS | ||
- | if GetSystemType = "64 Bit System" | + | if GetSystemType = "64 Bit System" |
- | comment " 64 Bit System" | + | comment " 64 Bit System" |
- | comment | + | comment $ProductId$ + " |
- | Sub_uninstall | + | Sub_uninstall |
endif | endif | ||
; 32 Bit OS | ; 32 Bit OS | ||
if GetSystemType = "x86 System" | if GetSystemType = "x86 System" | ||
- | comment " 32 Bit System" | + | |
- | comment | + | comment $ProductId$ + " |
- | Sub_uninstall | + | Sub_uninstall |
endif | endif | ||
Line 340: | Line 350: | ||
; http:// | ; http:// | ||
if ($ExitCode$ = " | if ($ExitCode$ = " | ||
- | comment "Looks good: setup program gives exitcode zero" | + | |
else | else | ||
- | comment "Setup program gives a exitcode unequal zero: " + $ExitCode$ | + | |
- | if ($ExitCode$ = " | + | if ($ExitCode$ = " |
- | comment " | + | comment " |
- | comment " | + | comment " |
- | else | + | else |
- | if ($ExitCode$ = " | + | if ($ExitCode$ = " |
- | comment "looks good: setup program gives exitcode 1641" | + | comment "looks good: setup program gives exitcode 1641" |
- | comment " | + | comment " |
- | else | + | else |
- | if ($ExitCode$ = " | + | if ($ExitCode$ = " |
- | comment "looks good: setup program gives exitcode 3010" | + | comment "looks good: setup program gives exitcode 3010" |
- | comment " | + | comment " |
- | else | + | else |
- | logError " | + | logError " |
- | isFatalError | + | isFatalError |
- | endif | + | endif |
- | endif | + | endif |
- | endif | + | endif |
endif | endif | ||
</ | </ |