sereby.aio/CLIENT_DATA/control3264.ins
2013-03-15 21:47:00 +01:00

266 lines
7.8 KiB
TeX

DefVar $MSVersion$
Set $MSVersion$ = GetMsVersionInfo
DefVar$timer_value$
Set $timer_value$ = GetProductProperty("timer_value", "40")
DefVar$timer_enabled$
Set$timer_enabled$ = GetProductProperty("timer_enabled", "1")
DefVar $dotnet1.1$
Set $dotnet1.1$ = GetProductProperty("dotnet1.1", "install")
DefVar $dotnet2.0$
Set $dotnet2.0$ = GetProductProperty("dotnet2.0", "install")
DefVar $dotnet3.0$
Set $dotnet3.0$ = GetProductProperty("dotnet3.0", "install")
DefVar $dotnet3.5$
Set $dotnet3.5$ = GetProductProperty("dotnet3.5", "install")
DefVar $dotnet4.0$
Set $dotnet4.0$ = GetProductProperty("dotnet4.0", "install")
DefVar $dotnet4.5$
Set $dotnet4.5$ = GetProductProperty("dotnet4.5", "install")
DefVar $msjsharp$
Set $msjsharp$ = GetProductProperty("msjsharp", "install")
DefVar $silver$
Set $silver$ = GetProductProperty("silver", "install")
DefVar $jre7$
Set $jre7$ = GetProductProperty("jre7", "install")
DefVar $AdobeShock$
Set $AdobeShock$ = GetProductProperty("AdobeShock", "install")
DefVar $basicruntimes$
Set $basicruntimes$ = GetProductProperty("basicruntimes", "install")
DefVar $msdx9$
Set $msdx9$ = GetProductProperty("msdx9", "install")
DefVar $msdxm$
Set $msdxm$ = GetProductProperty("msdxm", "install")
DefVar $msvc$
Set $msvc$ = GetProductProperty("msvc", "install")
DefVar $AdobeFlash$
Set $AdobeFlash$ = GetProductProperty("AdobeFlash", "install")
Winpatch_init_config
if ($dotnet1.1$ = "install")
Winpatch_dotnet1.1_config
endif
if ($dotnet1.1$ = "uninstall")
Winbatch_dotnet1.1_uninstall
endif
if ($dotnet2.0$ = "install")
Winpatch_dotnet2.0_config
endif
if ($dotnet2.0$ = "uninstall")
Winbatch_dotnet2.0_uninstall
endif
if ($dotnet3.0$ = "install")
Winpatch_dotnet3.0_config
endif
if ($dotnet3.0$ = "uninstall")
Winbatch_dotnet3.0_uninstall
endif
if ($dotnet3.5$ = "install")
Winpatch_dotnet3.5_config
endif
if ($dotnet3.5$ = "uninstall")
Winbatch_dotnet3.5_uninstall
endif
if ($dotnet4.0$ = "install")
Winpatch_dotnet4.0_config
endif
if ($dotnet4.0$ = "uninstall")
Winbatch_dotnet4.0_uninstall
endif
if ($dotnet4.5$ = "install")
Winpatch_dotnet4.5_config
endif
if ($dotnet4.5$ = "uninstall")
Winbatch_dotnet4.5_uninstall
endif
if ($msjsharp$ = "install")
Winpatch_msjsharp_config
endif
if ($msjsharp$ = "uninstall")
Winbatch_msjsharp_uninstall
endif
if ($silver$ = "install")
Winpatch_silver_config
endif
if ($silver$ = "uninstall")
Winbatch_silver_uninstall
endif
if ($jre7$ = "install")
Winpatch_jre7_config
endif
if ($jre7$ = "uninstall")
Winbatch_jre7_uninstall
endif
if ($AdobeShock$ = "install")
Winpatch_AdobeShock_config
endif
if ($AdobeShock$ = "uninstall")
Winbatch_AdobeShock_uninstall
endif
if ($basicruntimes$ = "install")
Winpatch_basicruntimes_config
endif
if ($basicruntimes$ = "uninstall")
Winbatch_basicruntimes_uninstall
endif
if ($msdx9$ = "install")
Winpatch_msdx9_config
endif
if ($msdx9$ = "uninstall")
Winbatch_msdx9_uninstall
endif
if ($msdxm$ = "install")
Winpatch_msdxm_config
endif
if ($msdxm$ = "uninstall")
Winbatch_msdxm_uninstall
endif
if ($msvc$ = "install")
Winpatch_msvc_config
endif
if ($msvc$ = "uninstall")
Winbatch_msvc_uninstall
endif
if ($AdobeFlash$ = "install")
Winpatch_AdobeFlash_config
endif
if ($AdobeFlash$ = "uninstall")
Winbatch_AdobeFlash_uninstall
endif
Dospatch_finish_config
[Winpatch_init_config]
vcopy "%ScriptPath%\Config\WinPKG.xml" "$LogDir$"
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/timer[@value=40]/@value" -v $timer_value$ "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/timer[@enabled=1]/@enabled" -v $timer_enabled$ "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_dotnet1.1_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net1.1']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_dotnet2.0_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net2.0']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_dotnet3.0_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net3.0']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_dotnet3.5_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net3.5']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_dotnet4.0_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net4.0']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_dotnet4.5_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net4.5']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_msjsharp_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='msjsharp']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_silver_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='silver']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_jre7_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='jre7']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_AdobeShock_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='AdobeShock']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_basicruntimes_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='basicruntimes']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_msdx9_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='msdx9']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_msdxm_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='msdxm']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_msvc_config]
vcopy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='msvc']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[Winpatch_AdobeFlash_config]
vcopy "$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"
[Dospatch_finish_config]
move $LogDir$\WinPKG.xml "%System%"
del $LogDir$\WinPKG.xml.old
[Winbatch_dotnet1.1_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 1.1 /u"
[Winbatch_dotnet2.0_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 2.0 /u"
[Winbatch_dotnet3.0_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 3.0 /u"
[Winbatch_dotnet3.5_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 3.5 /u"
[Winbatch_dotnet4.0_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 4.0 /u"
[Winbatch_dotnet4.5_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 4.5 /u"
[Winbatch_msjsharp_uninstall]
[Winbatch_silver_uninstall]
[Winbatch_jre7_uninstall]
vcopy "%ScriptPath%\UnInstall\Package\JRE\JavaRa.*" "$LogDir$\"
$LogDir$\JavaRa.exe /REMOVEOLD /SILENT /UPDATEDEFS
[Winbatch_AdobeShock_uninstall]
[Winbatch_basicruntimes_uninstall]
[Winbatch_msdx9_uninstall]
[Winbatch_msdxm_uninstall]
[Winbatch_msvc_uninstall]
[Winbatch_AdobeFlash_uninstall]