
// Check that KS4 does not yet exist.
[BeforeWeStart]
RepositoryKey=51551555
RepositoryPresent=0

// Install KS4 - this is not previously present in ROM, it's new.
// Contains certain capabilities.
[Install_KS4]
sis=z:\TEF_CentralRepository\KS4s.sis
numexist=2
exist0=C:\private\10202be9\51551555.cre
exist1=C:\private\10202be9\persists\51551555.cre
AffectedFile0=C:\private\10202be9\51551555.cre
AffectedFile1=C:\private\10202be9\persists\51551555.cre

[Check_KS4_KeySpace]
RepositoryKey=51551555
ExpectedNumSettings=60
NumInts=20
NumReals=20
NumStrings=20
IntKey0=c00
IntVal0=c000
IntKey1=c01
IntVal1=c010
IntKey2=c02
IntVal2=c020
IntKey3=c03
IntVal3=c030
IntKey4=c04
IntVal4=c040
IntKey5=c05
IntVal5=c050
IntKey6=c06
IntVal6=c060
IntKey7=c07
IntVal7=c070
IntKey8=c08
IntVal8=c080
IntKey9=c09
IntVal9=c090
IntKey10=c10
IntVal10=c100
IntKey11=c11
IntVal11=c110
IntKey12=c12
IntVal12=c120
IntKey13=c13
IntVal13=c130
IntKey14=c14
IntVal14=c140
IntKey15=c15
IntVal15=c150
IntKey16=c16
IntVal16=c160
IntKey17=c17
IntVal17=c170
IntKey18=c18
IntVal18=c180
IntKey19=c19
IntVal19=c190
RealKey0=b00
RealVal0=281.6000
RealKey1=b01
RealVal1=281.7000
RealKey2=b02
RealVal2=281.8000
RealKey3=b03
RealVal3=281.9000
RealKey4=b04
RealVal4=282.0000
RealKey5=b05
RealVal5=282.1000
RealKey6=b06
RealVal6=282.2000
RealKey7=b07
RealVal7=282.3000
RealKey8=b08
RealVal8=282.4000
RealKey9=b09
RealVal9=282.5000
RealKey10=b10
RealVal10=283.2000
RealKey11=b11
RealVal11=283.3000
RealKey12=b12
RealVal12=283.4000
RealKey13=b13
RealVal13=283.5000
RealKey14=b14
RealVal14=283.6000
RealKey15=b15
RealVal15=283.7000
RealKey16=b16
RealVal16=283.8000
RealKey17=b17
RealVal17=283.9000
RealKey18=b18
RealVal18=284.0000
RealKey19=b19
RealVal19=284.1000
StringKey0=a00
StringVal0=test string 0xa0000
StringKey1=a01
StringVal1=test string 0xa0100
StringKey2=a02
StringVal2=test string 0xa0200
StringKey3=a03
StringVal3=test string 0xa0300
StringKey4=a04
StringVal4=test string 0xa0400
StringKey5=a05
StringVal5=test string 0xa0500
StringKey6=a06
StringVal6=test string 0xa0600
StringKey7=a07
StringVal7=test string 0xa0700
StringKey8=a08
StringVal8=test string 0xa0800
StringKey9=a09
StringVal9=test string 0xa0900
StringKey10=a10
StringVal10=test string 0xa1000
StringKey11=a11
StringVal11=test string 0xa1100
StringKey12=a12
StringVal12=test string 0xa1200
StringKey13=a13
StringVal13=test string 0xa1300
StringKey14=a14
StringVal14=test string 0xa1400
StringKey15=a15
StringVal15=test string 0xa1500
StringKey16=a16
StringVal16=test string 0xa1600
StringKey17=a17
StringVal17=test string 0xa1700
StringKey18=a18
StringVal18=test string 0xa1800
StringKey19=a19
StringVal19=test string 0xa1900

// Try to modify some settings. Some will fail, some will succeed depending
// on defined capabilities in the keyspace.
[UserModGivesKS4a]
RepositoryKey=51551555
NumInts=4
IntKey0=c00
Intfn0=delete
IntExpErr0=KErrPermissionDenied
IntKey1=c01
Intfn1=set
IntVal1=c011
IntExpErr1=KErrPermissionDenied
IntKey2=c10
Intfn2=delete
IntExpErr2=KErrNone
IntKey3=c11
Intfn3=set
IntVal3=c111
IntExpErr3=KErrNone
NumReals=4
RealKey0=b00
Realfn0=delete
RealExpErr0=KErrPermissionDenied
RealKey1=b01
Realfn1=set
RealVal1=281.701
RealExpErr1=KErrPermissionDenied
RealKey2=b10
Realfn2=delete
RealExpErr2=KErrNone
RealKey3=b11
Realfn3=set
RealVal3=283.301
RealExpErr3=KErrNone
NumStrings=4
StringKey0=a00
Stringfn0=delete
StringExpErr0=KErrPermissionDenied
StringKey1=a01
Stringfn1=set
StringVal1=test string 0xa0110
StringExpErr1=KErrPermissionDenied
StringKey2=a10
Stringfn2=delete
StringExpErr2=KErrNone
StringKey3=a11
Stringfn3=set
StringVal3=test string 0xa1110
StringExpErr3=KErrNone

// Check the keyspace following modification.
[Check_KS4a_KeySpace]
RepositoryKey=51551555
ExpectedNumSettings=57
NumInts=19
NumReals=19
NumStrings=19
IntKey0=c00
IntVal0=c000
IntKey1=c01
IntVal1=c010
IntKey2=c02
IntVal2=c020
IntKey3=c03
IntVal3=c030
IntKey4=c04
IntVal4=c040
IntKey5=c05
IntVal5=c050
IntKey6=c06
IntVal6=c060
IntKey7=c07
IntVal7=c070
IntKey8=c08
IntVal8=c080
IntKey9=c09
IntVal9=c090
IntKey10=c11
IntVal10=c111
IntKey11=c12
IntVal11=c120
IntKey12=c13
IntVal12=c130
IntKey13=c14
IntVal13=c140
IntKey14=c15
IntVal14=c150
IntKey15=c16
IntVal15=c160
IntKey16=c17
IntVal16=c170
IntKey17=c18
IntVal17=c180
IntKey18=c19
IntVal18=c190
RealKey0=b00
RealVal0=281.6000
RealKey1=b01
RealVal1=281.7000
RealKey2=b02
RealVal2=281.8000
RealKey3=b03
RealVal3=281.9000
RealKey4=b04
RealVal4=282.0000
RealKey5=b05
RealVal5=282.1000
RealKey6=b06
RealVal6=282.2000
RealKey7=b07
RealVal7=282.3000
RealKey8=b08
RealVal8=282.4000
RealKey9=b09
RealVal9=282.5000
RealKey10=b11
RealVal10=283.3010
RealKey11=b12
RealVal11=283.4000
RealKey12=b13
RealVal12=283.5000
RealKey13=b14
RealVal13=283.6000
RealKey14=b15
RealVal14=283.7000
RealKey15=b16
RealVal15=283.8000
RealKey16=b17
RealVal16=283.9000
RealKey17=b18
RealVal17=284.0000
RealKey18=b19
RealVal18=284.1000
StringKey0=a00
StringVal0=test string 0xa0000
StringKey1=a01
StringVal1=test string 0xa0100
StringKey2=a02
StringVal2=test string 0xa0200
StringKey3=a03
StringVal3=test string 0xa0300
StringKey4=a04
StringVal4=test string 0xa0400
StringKey5=a05
StringVal5=test string 0xa0500
StringKey6=a06
StringVal6=test string 0xa0600
StringKey7=a07
StringVal7=test string 0xa0700
StringKey8=a08
StringVal8=test string 0xa0800
StringKey9=a09
StringVal9=test string 0xa0900
StringKey10=a11
StringVal10=test string 0xa1110
StringKey11=a12
StringVal11=test string 0xa1200
StringKey12=a13
StringVal12=test string 0xa1300
StringKey13=a14
StringVal13=test string 0xa1400
StringKey14=a15
StringVal14=test string 0xa1500
StringKey15=a16
StringVal15=test string 0xa1600
StringKey16=a17
StringVal16=test string 0xa1700
StringKey17=a18
StringVal17=test string 0xa1800
StringKey18=a19
StringVal18=test string 0xa1900
NumAbsentSettings=3
Absent0=a10
Absent1=b10
Absent2=c10

// Install KS4.1 - upgrades KS4 (which has been user modified)
// This is a 'SP', 'Standard Patch' install.
// This should have no effect on values (none are different from the original keyspace)
// however capability information has been swapped around which
// should have no effect.
[Install_KS41]
sis=z:\TEF_CentralRepository\KS41s.sis
AffectedFile0=C:\private\10202be9\51551555.cre
AffectedFile1=C:\private\10202be9\persists\51551555.cre


// Uninstall KS4. Should leave no user modified settings.
[UnInstallKS4]
uid=102819fc
packageName=KS4
vendorName=Symbian Software Ltd.
numnonexist=2
nonexist0=C:\private\10202be9\51551555.cre
nonexist1=C:\private\10202be9\persists\51551555.cre
