userspace:irfanview_4.3
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| userspace:irfanview_4.3 [2012/12/12 13:20] – bhubal | userspace:irfanview_4.3 [2021/08/23 10:37] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 147: | Line 147: | ||
| </ | </ | ||
| + | |||
| + | ==== delsub.ins ==== | ||
| + | |||
| + | <code winst> | ||
| + | ; Message at install time: | ||
| + | Message " | ||
| + | |||
| + | comment "start uninstall program if exists" | ||
| + | if FileExists($InstallDir$+" | ||
| + | Winbatch_uninstall | ||
| + | sub_check_exitcode | ||
| + | endif | ||
| + | |||
| + | comment " | ||
| + | Files_uninstall | ||
| + | |||
| + | comment "clear start menu" | ||
| + | LinkFolder_uninstall | ||
| + | |||
| + | [Winbatch_uninstall] | ||
| + | " | ||
| + | |||
| + | [Files_uninstall] | ||
| + | del -sf " | ||
| + | |||
| + | [LinkFolder_uninstall] | ||
| + | set_basefolder common_programs | ||
| + | delete_subfolder $ProductId$ | ||
| + | |||
| + | [sub_check_exitcode] | ||
| + | comment "test for installation success via exit code" | ||
| + | set $ExitCode$ = getLastExitCode | ||
| + | ; informations to exit codes see | ||
| + | ; http:// | ||
| + | ; http:// | ||
| + | if ($ExitCode$ = " | ||
| + | comment "looks good: setup program gives exitcode zero" | ||
| + | else | ||
| + | comment "Setup program gives a exitcode unequal zero: " | ||
| + | if ($ExitCode$ = " | ||
| + | comment " | ||
| + | comment " | ||
| + | else | ||
| + | if ($ExitCode$ = " | ||
| + | comment "looks good: setup program gives exitcode 1641" | ||
| + | comment " | ||
| + | else | ||
| + | if ($ExitCode$ = " | ||
| + | comment "looks good: setup program gives exitcode 3010" | ||
| + | comment " | ||
| + | else | ||
| + | logError " | ||
| + | isFatalError | ||
| + | endif | ||
| + | endif | ||
| + | endif | ||
| + | endif | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== uninstall.ins ==== | ||
| + | |||
| + | <code winst> | ||
| + | ; Copyright (c) uib gmbh (www.uib.de) | ||
| + | ; This sourcecode is owned by uib gmbh | ||
| + | ; and published under the Terms of the General Public License. | ||
| + | ; credits: http:// | ||
| + | |||
| + | [Actions] | ||
| + | requiredWinstVersion >= " | ||
| + | setloglevel = 6 | ||
| + | |||
| + | DefVar $ProductId$ | ||
| + | DefVar $InstallDir$ | ||
| + | DefVar $ExitCode$ | ||
| + | DefVar $licensepool$ | ||
| + | |||
| + | ; This should be edited | ||
| + | set $ProductId$ = " | ||
| + | set $InstallDir$=" | ||
| + | |||
| + | comment "show product picture" | ||
| + | ShowBitmap " | ||
| + | |||
| + | if FileExists(" | ||
| + | | ||
| + | sub " | ||
| + | endif | ||
| + | |||
| + | </ | ||
| + | |||
userspace/irfanview_4.3.1355314805.txt.gz · Last modified: (external edit)
