add Adobe AIR to serbey pack
This commit is contained in:
7
CLIENT_DATA/AdobeAIR.xml
Normal file
7
CLIENT_DATA/AdobeAIR.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<package id="AdobeAir" name="Adobe AIR 3.7" group="Standard Programme">
|
||||
<check type="file" condition="<" path="%commonprogramfiles%\Adobe AIR\Versions\1.0\Adobe AIR.dll" value="3.7.0.1530" />
|
||||
<install>
|
||||
<cmd arch="x86" path="air3-7_win.exe" param="-silent" />
|
||||
<cmd arch="x64" path="air3-7_win.exe" param="-silent" />
|
||||
</install>
|
||||
</package>
|
||||
@@ -113,6 +113,11 @@ if ($sereby_AdobeFlash$ = "reinstall")
|
||||
opsiservicecall_AdobeFlash_uninstall
|
||||
Set $reboot$ = "true"
|
||||
endif
|
||||
if ($sereby_AdobeAir$ = "reinstall")
|
||||
Winbatch_AdobeAir_uninstall
|
||||
opsiservicecall_AdobeAir_uninstall
|
||||
Set $reboot$ = "true"
|
||||
endif
|
||||
|
||||
; and the final reboot after the uninstall is done
|
||||
if ($reboot$ = "true")
|
||||
@@ -299,6 +304,17 @@ $UninstallFlashExe$ -uninstall
|
||||
"%opsiserviceUser%"
|
||||
]
|
||||
|
||||
[Winbatch_AdobeAir_uninstall]
|
||||
|
||||
[opsiservicecall_AdobeAir_uninstall]
|
||||
"method": "setProductProperty"
|
||||
"params": [
|
||||
"$ProductId$",
|
||||
"sereby_AdobeAir",
|
||||
"install",
|
||||
"%opsiserviceUser%"
|
||||
]
|
||||
|
||||
; windows xp dotnet bug uninstall
|
||||
; uninstall all languages and then remove .net
|
||||
[Winbatch_uninstall_msi_net35_deu_32]
|
||||
|
||||
@@ -46,6 +46,9 @@ endif
|
||||
if ($sereby_AdobeFlash$ = "install")
|
||||
DosInAnIcon_AdobeFlash_config
|
||||
endif
|
||||
if ($sereby_AdobeAir$ = "install")
|
||||
DosInAnIcon_AdobeAir_config
|
||||
endif
|
||||
|
||||
DosInAnIcon_finish_config winst /SysNative
|
||||
|
||||
@@ -118,6 +121,10 @@ xml ed -O -u "/settings/set[@component='msvc']/@checked" -v 1 "$LogDir$\WinPKG.x
|
||||
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
||||
xml ed -O -u "/settings/set[@component='AdobeFlash']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
||||
|
||||
[DosInAnIcon_AdobeAir_config]
|
||||
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
||||
xml ed -O -u "/settings/set[@component='AdobeAir']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
||||
|
||||
[DosInAnIcon_finish_config]
|
||||
move $LogDir$\WinPKG.xml "%System%"
|
||||
del $LogDir$\WinPKG.xml.old
|
||||
|
||||
@@ -34,5 +34,7 @@ DefVar $sereby_msvc$
|
||||
Set $sereby_msvc$ = GetProductProperty("sereby_msvc", "install")
|
||||
DefVar $sereby_AdobeFlash$
|
||||
Set $sereby_AdobeFlash$ = GetProductProperty("sereby_AdobeFlash", "install")
|
||||
DefVar $sereby_AdobeAir$
|
||||
Set $sereby_AdobeAir$ = GetProductProperty("sereby_AdobeAir", "install")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user