Newer
Older
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages xmlns:packages="http://www.wpkg.org/packages">
<!-- To set per user settings like the colours, edit c:\users\{username}\SciTEUser.properties. To use the default colours, delete existing SciTEUser.properties and start Scite
-->
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<package id="autoit" name="Autoit and Scite Editor" revision="%version%.1" reboot="false" priority="5">
<variable name="version" value="3.3.14.5"/>
<!-- <variable name="scite_version" value="14.801.2025.0"/> DON'T USE THIS VERSION, IT DOESN'T LET ROOT SAVE ANY SCITE CONFIG CHANGES, 4_5_2013 DOES! -->
<variable name="scite_version" value="4.5.2013"/>
<check type="uninstall" condition="exists" path="AutoIt v%version%" />
<check type="uninstall" condition="exists" path="SciTE4AutoIt3 %scite_version%" />
<install cmd='cmd /c if exist "%PROGRAMFILES(x86)%\autoit3\" rd /s /q "%PROGRAMFILES(x86)%\autoit3\"'>
<exit code='1' />
</install>
<install cmd='%WPKGSOFTWARE%\autoit\%VERSION%\autoit-v3-setup.exe /S' />
<install cmd='cmd /c copy /y "%WPKGSOFTWARE%\autoit\include\*.au3" "%PROGRAMFILES(x86)%\autoit3\include\"' />
<!-- include the Scite editor -->
<install cmd='%WPKGSOFTWARE%\scite\%SCITE_VERSION%\SciTE4AutoIt3.exe /S' />
<install cmd='cmd /c type %WPKGSOFTWARE%\scite\options.properties >> "%PROGRAMFILES(x86)%\autoit3\scite\properties\others.properties"' />
<upgrade include="remove" />
<upgrade include="install" />
<remove cmd='taskkill /f /im autoit3help.exe'>
<exit code='0' />
<exit code='1' />
<exit code='128' />
</remove>
<remove cmd='%wpkgsoftware%\wpkg\tools\waitforprocess.cmd Au_.exe' />
<remove cmd='cmd /c "%PROGRAMFILES(x86)%\autoit3\uninstall.exe" /S' />
<remove cmd='%wpkgsoftware%\wpkg\tools\waitforprocess.cmd Au_.exe' />
<remove cmd='cmd /c rd /s /q "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\autoit v3"'>
<exit code='1' />
</remove>
<remove cmd='%wpkgsoftware%\wpkg\tools\waitforprocess.cmd Au_.exe' />
<remove cmd='cmd /c if exist "%PROGRAMFILES(x86)%\autoit3\scite\uninst.exe" "%PROGRAMFILES(x86)%\autoit3\scite\uninst.exe" /S' />
<remove cmd='%wpkgsoftware%\wpkg\tools\waitforprocess.cmd Au_.exe' />
<remove cmd='cmd /c rd /s /q "%PROGRAMFILES(x86)%\autoit3\" 2>nul'> <!-- adding 2>nul stopped the need for deldir.exe -->
<exit code='1' />
</remove>
</package>