Code

source: vlc.mediaplayer/CLIENT_DATA/uninstall32.ins @ 863ab3

Revision 863ab3, 1.4 KB checked in by geos_one, 8 years ago (diff)

rename

  • Property mode set to 100644
Line 
1; Copyright (c) uib gmbh (www.uib.de)
2; This sourcecode is owned by uib gmbh
3; and published under the Terms of the General Public License.
4; credits: http://www.opsi.org/credits/
5
6[Actions]
7requiredWinstVersion >= "4.10.8.6"
8
9DefVar $UninstallProgram$
10DefVar $LogDir$
11DefVar $ExitCode$
12DefVar $ProductId$
13DefVar $InstallDir$
14
15Set $LogDir$ = "%SystemDrive%\tmp"
16
17; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
18; and adds the following variables:
19;   from builder-product.cfg :  all variables definded by attribute WINST[index]
20;   from builder-product.cfg :  VENDOR PN VERSION RELEASE PRIORITY ADVICE TYPE   
21;   from opsi-builder.cfg    :  CREATOR_TAG CREATOR_NAME CREATOR_EMAIL           
22;   auto generated winst-variables
23;         $IconFile$: path to product picture
24;
25@@BUILDER_VARIABLES@@
26
27; ----------------------------------------------------------------
28; - Please edit the following values                             -
29; ----------------------------------------------------------------
30Set $ProductId$       = "videolan.vlc"
31Set $InstallDir$      = "%ProgramFiles32Dir%\VideoLAN\VLC"
32; ----------------------------------------------------------------
33
34
35comment "Show product picture"
36ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
37
38Message "Uninstalling " + $ProductId$ + " ..."
39
40if FileExists("%ScriptPath%\delsub32.ins")
41        comment "Start uninstall sub section"
42        Sub "%ScriptPath%\delsub32.ins"
43endif
Note: See TracBrowser for help on using the repository browser.