[Main]
Title=Microsoft Calculator
Description=Adds MsCalculator to PE
Selected=True
Author=JFX
Level=3
Version=6.1
Date=04.07.2025
Sizex86=|1004981:0:0
Sizex64=|1151925:0:0
Translation_DE=MaineCoon

[Interface]
pTextLabel1=View:,10,0,,20,20,40,20
pScrollBox1=Standard,1,0,0,80,20,100,20,Standard,Scientific,Programmer,Statistics

tEcho_1=copy files ...


[Interface.07]
Description=Fügt den Rechner zum PE hinzu
pTextLabel1=Ansicht:,10,0,,20,20,50,20
pScrollBox1=Standard,1,0,0,80,18,100,20,Standard,Wissenschaftlich,Programmierer,Statistik

tEcho_1=Dateien werden kopiert...


Panel=1
[Process]

echo,%tEcho_1%
SetReqFile,%Install_sys%,%Distlang%,%FallBack%,%target_sys%
ReqFile,calc.exe,1
ReqFile,IconCodecService.dll
ReqFile,WindowsCodecs.dll
ReqFile,WindowsCodecsExt.dll

GetDistLang,%DistTmp%,%Boot_sys%\shell32.dll,%Distlang%:%FallBack%
Retrieve,%Fold%,ResStr,%target_sys%\%DistTmp%\shell32.dll.mui,,21761
set,%number%,217
if,%os%,=,WinVista,then,set,%number%,83

GetDistLang,%DistTmp%,%Install_sys%\calc.exe,%Distlang%:%FallBack%
Retrieve,%name%,ResStr,%target_sys%\%DistTmp%\calc.exe.mui,,%number%
Add_ShortCut,Startmenu,%Fold%,X:\Windows\system32\calc.exe,%name%

Interface,GetIndex,,pScrollBox1,%Var%
RegLoad,%RegUser%,PE-USER
IF,%Var%,=,1,Then,RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Calc, layout, 1
IF,%Var%,=,2,Then,RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Calc, layout, 0
IF,%Var%,=,3,Then,RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Calc, layout, 2
IF,%Var%,=,4,Then,RegWrite,HKLM,0x4,PE-USER\Software\Microsoft\Calc, layout, 3
RegUnLoad,PE-USER

[Script-Pic]
0=3774,2980,ZLB64
1=eNrtln1QE+kdx7+MHc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