

[SetPrjSize]
//system,log,on,1
If,%WIM_MAJOR%%WIM_MINOR%,=,60,Then,Set,%Prj%,Win7PE
If,%WIM_MAJOR%%WIM_MINOR%,=,61,Then,Set,%Prj%,Win7PE
If,%WIM_MAJOR%%WIM_MINOR%,=,62,Then,Set,%Prj%,Win8PE
If,%WIM_MAJOR%%WIM_MINOR%,=,63,Then,Set,%Prj%,Win8PE
If,%WIM_MAJOR%%WIM_MINOR%,=,100,Then,Set,%Prj%,Win10PE
If,%WIM_BUILD%,=>,22000,Then,Set,%Prj%,Win10PE

if,%Prj%,=,#$pPrj#$p,then,Return

inireadsection,%var%,%BaseDir%\Tools\PrjSize.txt,%Prj%%Arch%
String,%Cnt%,SplitArray,%Var%,#$x
For,%x%,1,%Cnt%
	String,%Res%,GetArray,%x%
	String,%Pos%,Find,%Res%,=
	Math,%Pos%,%pos%-1
	String,%Dir%,Left,%Res%,%Pos%
	Math,%Pos%,%pos%+2
	String,%Tmp%,Mid,%Res%,%Pos%
	String,%Key%,Split,%Tmp%,=,1
	String,%Val%,Split,%Tmp%,=,2
	iniwrite,%ProjectDir%\%dir%,Main,%Key%,%Val%
Next
Update,Project,NoInterface

[WimExtSize]
Win7PEX86=1751:353
Win7PEX64=2829:427
Win8PEX86=4168:465
Win8PEX64=5463:602
Win10PEX86=3648:636
Win10PEX64=4137:1027

[Win7PEX86]
Build\3-PreConfig.srt=Sizex86=|0:0:0
Build\4-Base-files.srt=Sizex86=|344226553:16485326:0
Build\5-RegConfig.srt=Sizex86=|10404912:26:0
Build\6-WoW64.srt=Sizex86=|0:0:0
Shells\1-ExplorerShell.srt=Sizex86=|81750948:82:0
Components\Audio.srt=Sizex86=|26666693:0:0
Components\MsCalc.srt=Sizex86=|1004983:0:0
Components\MsMMC.srt=Sizex86=|5654832:0:0
Components\MsPaint.srt=Sizex86=|10640282:0:0
Components\MsPictureViewer.srt=Sizex86=|6854525:0:0
Components\MsWordpad.srt=Sizex86=|4625503:0:0
Components\NetworkCenter.srt=Sizex86=|56647326:0:0
customize\1-StartAllBack.srt=Sizex86=|0:0:0
customize\1-StartIsBack10.srt=Sizex86=|0:0:0
customize\Settings.srt=Sizex86=|0:0:0
customize\StartIsBack8.1.srt=Sizex86=|0:0:0
customize\Themes.srt=Sizex86=|6959163:0:0
customize\Wallpaper.srt=Sizex86=|2359370:0:0
Apps\PENetwork_MC.srt=Sizex86=pScrollBox1-1|1048:1788251:0
Apps\Compression\7-Zip.srt=Sizex86=pCheckbox1-True|451:3193270:0
Apps\Internet\QtWeb.srt=Sizex86=pCheckbox1-True|906:7881180:0

[Win7PEX64]
Build\3-PreConfig.srt=Sizex64=|0:0:0
Build\4-Base-files.srt=Sizex64=|447251583:33848818:0
Build\5-RegConfig.srt=Sizex64=|10768432:26:0
Build\6-WoW64.srt=Sizex64=|125309759:0:0
Shells\1-ExplorerShell.srt=Sizex64=|93479696:164:0
Components\Audio.srt=Sizex64=|25607961:0:0
Components\MsCalc.srt=Sizex64=|1151927:0:0
Components\MsMMC.srt=Sizex64=|6706992:0:0
Components\MsPaint.srt=Sizex64=|11817370:0:0
Components\MsPictureViewer.srt=Sizex64=|18074509:0:0
Components\MsWordpad.srt=Sizex64=|9635935:0:0
Components\NetworkCenter.srt=Sizex64=|62798501:0:0
customize\1-StartAllBack.srt=Sizex64=|0:0:0
customize\1-StartIsBack10.srt=Sizex64=|0:0:0
customize\Settings.srt=Sizex64=|0:0:0
customize\StartIsBack8.1.srt=Sizex64=|0:0:0
customize\Themes.srt=Sizex64=|7568955:0:0
customize\Wallpaper.srt=Sizex64=|2359370:0:0
Apps\PENetwork_MC.srt=Sizex64=pScrollBox1-1|1048:1975131:0
Apps\Compression\7-Zip.srt=Sizex64=pCheckbox1-True|451:3193270:0
Apps\Internet\QtWeb.srt=Sizex64=pCheckbox1-True|966:7881180:0

[Win8PEX86]
Build\3-PreConfig.srt=Sizex86=|0:0:0
Build\4-Base-files.srt=Sizex86=|474215609:41523960:0
Build\5-RegConfig.srt=Sizex86=|185621:27:0
Build\6-WoW64.srt=Sizex86=|0:0:0
Shells\1-ExplorerShell.srt=Sizex86=|58901043:82:0
Components\Audio.srt=Sizex86=|27975378:0:0
Components\MsCalc.srt=Sizex86=|1019831:0:0
Components\MsMMC.srt=Sizex86=|9314609:0:0
Components\MsPaint.srt=Sizex86=|6993818:0:0
Components\MsPictureViewer.srt=Sizex86=|8769517:0:0
Components\MsWordpad.srt=Sizex86=|4590175:0:0
Components\NetworkCenter.srt=Sizex86=|93832261:0:0
customize\1-StartAllBack.srt=Sizex86=|0:0:0
customize\1-StartIsBack10.srt=Sizex86=|0:0:0
customize\Settings.srt=Sizex86=|0:0:0
customize\StartIsBack8.1.srt=Sizex86=|21989:4550190:0
customize\Themes.srt=Sizex86=|11637156:0:0
customize\Wallpaper.srt=Sizex86=|2385912:0:0
Apps\PENetwork_MC.srt=Sizex86=pScrollBox1-1|1048:1788251:0
Apps\Compression\7-Zip.srt=Sizex86=pCheckbox1-True|786883:3193270:0
Apps\Internet\QtWeb.srt=Sizex86=pCheckbox1-True|906:7881180:0

[Win8PEX64]
Build\3-PreConfig.srt=Sizex64=|0:0:0
Build\4-Base-files.srt=Sizex64=|632215983:42660088:0
Build\5-RegConfig.srt=Sizex64=|549141:27:0
Build\6-WoW64.srt=Sizex64=|142845852:0:0
Shells\1-ExplorerShell.srt=Sizex64=|69223733:164:0
Components\Audio.srt=Sizex64=|31057362:0:0
Components\MsCalc.srt=Sizex64=|1143223:0:0
Components\MsMMC.srt=Sizex64=|11913009:0:0
Components\MsPaint.srt=Sizex64=|7348634:0:0
Components\MsPictureViewer.srt=Sizex64=|19667549:0:0
Components\MsWordpad.srt=Sizex64=|9492575:0:0
Components\NetworkCenter.srt=Sizex64=|102475993:0:0
customize\1-StartAllBack.srt=Sizex64=|0:0:0
customize\1-StartIsBack10.srt=Sizex64=|0:0:0
customize\Settings.srt=Sizex64=|0:0:0
customize\StartIsBack8.1.srt=Sizex64=|22019:4550190:0
customize\Themes.srt=Sizex64=|12658300:0:0
customize\Wallpaper.srt=Sizex64=|2385912:0:0
Apps\PENetwork_MC.srt=Sizex64=pScrollBox1-1|1048:1975131:0
Apps\Compression\7-Zip.srt=Sizex64=pCheckbox1-True|786883:3193270:0
Apps\Internet\QtWeb.srt=Sizex64=pCheckbox1-True|966:7881180:0

[Win10PEX86]
Build\3-PreConfig.srt=Sizex86=|0:0:0
Build\4-Base-files.srt=Sizex86=|658602700:41473950:0
Build\5-RegConfig.srt=Sizex86=|3974166:28:0
Build\6-WoW64.srt=Sizex86=|0:0:0
Shells\1-ExplorerShell.srt=Sizex86=|84857062:82:0
Components\Audio.srt=Sizex86=|33100334:0:0
Components\MsCalc.srt=Sizex86=|999351:0:8836237
Components\MsMMC.srt=Sizex86=|7059514:0:0
Components\MsPaint.srt=Sizex86=|4100506:0:0
Components\MsPictureViewer.srt=Sizex86=|6939013:0:0
Components\MsWordpad.srt=Sizex86=|3121247:0:0
Components\NetworkCenter.srt=Sizex86=|94340536:0:0
customize\1-StartAllBack.srt=Sizex86=|0:0:0
customize\1-StartIsBack10.srt=Sizex86=|262393:4219262:7251646
customize\Settings.srt=Sizex86=|0:0:0
customize\StartIsBack8.1.srt=Sizex86=|0:0:0
customize\Themes.srt=Sizex86=|13446382:0:0
customize\Wallpaper.srt=Sizex86=|2385912:0:0
Apps\PENetwork_MC.srt=Sizex86=pScrollBox1-1|1048:1788251:852
Apps\Compression\7-Zip.srt=Sizex86=pCheckbox1-True|451:3193270:0
Apps\Internet\QtWeb.srt=Sizex86=pCheckbox1-True|906:7881180:0

[Win10PEX64]
Build\3-PreConfig.srt=Sizex64=|0:0:0
Build\4-Base-files.srt=Sizex64=|995975683:44298717:0
Build\5-RegConfig.srt=Sizex64=|331798:28:0
Build\6-WoW64.srt=Sizex64=|184606211:0:0
Shells\1-ExplorerShell.srt=Sizex64=|116282857:164:0
Components\Audio.srt=Sizex64=|39779330:0:0
Components\MsCalc.srt=Sizex64=|1122743:0:0
Components\MsMMC.srt=Sizex64=|8360114:0:0
Components\MsPaint.srt=Sizex64=|0:0:0
Components\MsPictureViewer.srt=Sizex64=|17683741:0:0
Components\MsWordpad.srt=Sizex64=|6555231:0:0
Components\NetworkCenter.srt=Sizex64=|112468170:0:0
customize\1-StartAllBack.srt=Sizex64=|7634317:0:0
customize\1-StartIsBack10.srt=Sizex64=|0:0:0
customize\Settings.srt=Sizex64=|0:0:0
customize\StartIsBack8.1.srt=Sizex64=|0:0:0
customize\Themes.srt=Sizex64=|13696792:0:0
customize\Wallpaper.srt=Sizex64=|2385912:0:0
Apps\PENetwork_MC.srt=Sizex64=pScrollBox1-1|1048:1975131:0
Apps\Compression\7-Zip.srt=Sizex64=pCheckbox1-True|451:3193270:0
Apps\Internet\QtWeb.srt=Sizex64=pCheckbox1-True|966:7881180:0