sereby.aio/CLIENT_DATA/config3264.ins
Mario Fetka c1755ed6fe using lastactionstate is not working on the actial package state so a real once script based on setup scipt is created
to reduce duplicate entries the setup3264.inc file was introduced that gets included in setup.ins and once.ins
the control.ins was split into config.ins cleanup.ins to be included into once and setup
2013-03-17 21:43:45 +01:00

166 lines
5.9 KiB
TeX

DefVar $MSVersion$
Set $MSVersion$ = GetMsVersionInfo
DefVar $java_reinstall$
Set $java_reinstall$ = GetProductProperty("java_reinstall", "1")
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", "none")
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")
DosInAnIcon_init_config
if ($dotnet1.1$ = "install")
DosInAnIcon_dotnet1.1_config
endif
if ($dotnet2.0$ = "install")
DosInAnIcon_dotnet2.0_config
endif
if ($dotnet3.0$ = "install")
DosInAnIcon_dotnet3.0_config
endif
if ($dotnet3.5$ = "install")
DosInAnIcon_dotnet3.5_config
endif
if ($dotnet4.0$ = "install")
DosInAnIcon_dotnet4.0_config
endif
if ($dotnet4.5$ = "install")
DosInAnIcon_dotnet4.5_config
endif
if ($msjsharp$ = "install")
DosInAnIcon_msjsharp_config
endif
if ($silver$ = "install")
DosInAnIcon_silver_config
endif
if ($jre7$ = "install")
DosInAnIcon_jre7_config
endif
if ($AdobeShock$ = "install")
DosInAnIcon_AdobeShock_config
endif
if ($basicruntimes$ = "install")
DosInAnIcon_basicruntimes_config
endif
if ($msdx9$ = "install")
DosInAnIcon_msdx9_config
endif
if ($msdxm$ = "install")
DosInAnIcon_msdxm_config
endif
if ($msvc$ = "install")
DosInAnIcon_msvc_config
endif
if ($AdobeFlash$ = "install")
DosInAnIcon_AdobeFlash_config
endif
DosInAnIcon_finish_config
[DosInAnIcon_init_config]
copy "%ScriptPath%\Config\WinPKG.xml" "$LogDir$"
copy "$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"
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/timer[@enabled=0]/@enabled" -v $timer_enabled$ "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_dotnet1.1_config]
copy "$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"
[DosInAnIcon_dotnet2.0_config]
copy "$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"
[DosInAnIcon_dotnet3.0_config]
copy "$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"
[DosInAnIcon_dotnet3.5_config]
copy "$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"
[DosInAnIcon_dotnet4.0_config]
copy "$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"
[DosInAnIcon_dotnet4.5_config]
copy "$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"
[DosInAnIcon_msjsharp_config]
copy "$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"
[DosInAnIcon_silver_config]
copy "$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"
[DosInAnIcon_jre7_config]
copy "$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"
[DosInAnIcon_AdobeShock_config]
copy "$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"
[DosInAnIcon_basicruntimes_config]
copy "$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"
[DosInAnIcon_msdx9_config]
copy "$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"
[DosInAnIcon_msdxm_config]
copy "$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"
[DosInAnIcon_msvc_config]
copy "$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"
[DosInAnIcon_AdobeFlash_config]
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_finish_config]
move $LogDir$\WinPKG.xml "%System%"
del $LogDir$\WinPKG.xml.old