2013-03-15 21:47:00 +01:00
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_init_config
|
2013-03-15 21:47:00 +01:00
|
|
|
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_dotnet1.1$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_dotnet1.1_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_dotnet2.0$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_dotnet2.0_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_dotnet3.0$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_dotnet3.0_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_dotnet3.5$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_dotnet3.5_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_dotnet4.0$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_dotnet4.0_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2014-01-29 23:07:44 +01:00
|
|
|
if ($sereby_dotnet4.5.1$ = "install")
|
|
|
|
DosInAnIcon_dotnet4.5.1_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_msjsharp$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_msjsharp_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-09-04 23:13:44 +02:00
|
|
|
if ($sereby_msfsharp$ = "install")
|
|
|
|
DosInAnIcon_msfsharp_config
|
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_silver$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_silver_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_jre$ = "install")
|
|
|
|
DosInAnIcon_jre_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_AdobeShock$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_AdobeShock_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_basicruntimes$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_basicruntimes_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_msdx9$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_msdx9_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_msdxm$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_msdxm_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_msvc$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_msvc_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_AdobeFlash$ = "install")
|
2013-03-17 20:33:40 +01:00
|
|
|
DosInAnIcon_AdobeFlash_config
|
2013-03-15 21:47:00 +01:00
|
|
|
endif
|
2013-04-08 22:12:02 +02:00
|
|
|
if ($sereby_AdobeAir$ = "install")
|
|
|
|
DosInAnIcon_AdobeAir_config
|
|
|
|
endif
|
2013-03-15 21:47:00 +01:00
|
|
|
|
2013-04-06 21:50:40 +02:00
|
|
|
DosInAnIcon_finish_config winst /SysNative
|
2013-03-15 21:47:00 +01:00
|
|
|
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_init_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "%ScriptPath%\Config\WinPKG.xml" "$LogDir$"
|
2013-03-15 21:47:00 +01:00
|
|
|
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-04-01 14:49:25 +02:00
|
|
|
xml ed -O -u "/settings/timer[@value=40]/@value" -v $sereby_timer_value$ "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-04-01 14:49:25 +02:00
|
|
|
xml ed -O -u "/settings/timer[@enabled=0]/@enabled" -v $sereby_timer_enabled$ "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
2013-03-15 21:47:00 +01:00
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_dotnet1.1_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='net1.1']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_dotnet2.0_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='net2.0']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_dotnet3.0_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='net3.0']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_dotnet3.5_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='net3.5']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_dotnet4.0_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='net4.0']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2014-01-29 23:07:44 +01:00
|
|
|
[DosInAnIcon_dotnet4.5.1_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2014-01-29 23:07:44 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='net4.5.1']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
2013-03-15 21:47:00 +01:00
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_msjsharp_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='msjsharp']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-09-04 23:13:44 +02:00
|
|
|
[DosInAnIcon_msfsharp_config]
|
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
|
|
|
xml ed -O -u "/settings/set[@component='msfsharp']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_silver_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='silver']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-04-01 10:30:15 +02:00
|
|
|
[DosInAnIcon_jre_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='jre7']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_AdobeShock_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='AdobeShock']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_basicruntimes_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='basicruntimes']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_msdx9_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='msdx9']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_msdxm_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='msdxm']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_msvc_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='msvc']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_AdobeFlash_config]
|
2013-03-17 08:58:03 +01:00
|
|
|
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
|
2013-03-15 21:47:00 +01:00
|
|
|
xml ed -O -u "/settings/set[@component='AdobeFlash']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
|
|
|
|
|
2013-04-08 22:12:02 +02:00
|
|
|
[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"
|
|
|
|
|
2013-03-17 20:33:40 +01:00
|
|
|
[DosInAnIcon_finish_config]
|
2013-03-15 21:47:00 +01:00
|
|
|
move $LogDir$\WinPKG.xml "%System%"
|
|
|
|
del $LogDir$\WinPKG.xml.old
|
|
|
|
|