|
1 @rem |
|
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 @rem All rights reserved. |
|
4 @rem This component and the accompanying materials are made available |
|
5 @rem under the terms of the License "Eclipse Public License v1.0" |
|
6 @rem which accompanies this distribution, and is available |
|
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 @rem |
|
9 @rem Initial Contributors: |
|
10 @rem Nokia Corporation - initial contribution. |
|
11 @rem |
|
12 @rem Contributors: |
|
13 @rem |
|
14 @rem Description: |
|
15 @rem |
|
16 REM |
|
17 REM Backup and copy in UDEB certclients and filecertstore |
|
18 REM |
|
19 set TARG=\epoc32\release\winscw\udeb\z\private\101f72a6 |
|
20 set BACKUP=\epoc32\release\winscw\udeb\z\private\101f72a6.pretcertapp |
|
21 md %BACKUP% |
|
22 md %TARG% |
|
23 del /q /s %BACKUP%\* |
|
24 move /y %TARG%\* %BACKUP% |
|
25 copy \epoc32\winscw\c\security_tools\tcertapp\SDP-Security_Tools-CertApp-CCDAT_0000.dat %TARG%\certclients.dat |
|
26 copy \epoc32\winscw\c\security_tools\tcertapp\SDP-Security_Tools-CertApp-FILEDAT_0000.dat %TARG%\cacerts.dat |
|
27 |
|
28 REM |
|
29 REM Backup and copy in UREL certclients and filecertstore |
|
30 REM |
|
31 set TARG=\epoc32\release\winscw\urel\z\private\101f72a6 |
|
32 set BACKUP=\epoc32\release\winscw\urel\z\private\101f72a6.pretcertapp |
|
33 md %BACKUP% |
|
34 md %TARG% |
|
35 del /q /s %BACKUP%\* |
|
36 move /y %TARG%\* %BACKUP% |
|
37 copy \epoc32\winscw\c\security_tools\tcertapp\SDP-Security_Tools-CertApp-CCDAT_0000.dat %TARG%\certclients.dat |
|
38 copy \epoc32\winscw\c\security_tools\tcertapp\SDP-Security_Tools-CertApp-FILEDAT_0000.dat %TARG%\cacerts.dat |
|
39 |
|
40 REM |
|
41 REM Delete system drive filecertstore |
|
42 REM |
|
43 del /q /s \epoc32\winscw\c\private\101f72a6\* |
|
44 |
|
45 |
|
46 REM |
|
47 REM Backup and copy in swicertstore |
|
48 REM |
|
49 |
|
50 REM UDEB swicertstore |
|
51 set TARG=\epoc32\release\winscw\udeb\z\resource |
|
52 set BACKUP=\epoc32\release\winscw\udeb\z\resource.pretcertapp |
|
53 md %BACKUP% |
|
54 md %TARG% |
|
55 del /q /s %BACKUP%\* |
|
56 move /y %TARG%\swicertstore* %BACKUP% |
|
57 copy \epoc32\winscw\c\security_tools\tcertapp\SDP-Security_Tools-CertApp-SWIDAT_0000.dat %TARG%\swicertstore.dat |
|
58 |
|
59 REM UREL swicertstore |
|
60 set TARG=\epoc32\release\winscw\urel\z\resource |
|
61 set BACKUP=\epoc32\release\winscw\urel\z\resource.pretcertapp |
|
62 md %BACKUP% |
|
63 md %TARG% |
|
64 del /q /s %BACKUP%\* |
|
65 move /y %TARG%\swicertstore* %BACKUP% |
|
66 copy \epoc32\winscw\c\security_tools\tcertapp\SDP-Security_Tools-CertApp-SWIDAT_0000.dat %TARG%\swicertstore.dat |
|
67 |
|
68 REM |
|
69 REM Delete writable swicertstore files |
|
70 REM |
|
71 del /q \epoc32\winscw\c\resource\swicertstore\dat\swicertstore*.dat |
|
72 |
|
73 REM |
|
74 REM Disable swicertstore unified certstore plugin |
|
75 REM |
|
76 move \epoc32\release\winscw\udeb\swicertstoreplugin.dll \epoc32\release\winscw\udeb\swicertstoreplugin.dll.disabled |
|
77 move \epoc32\release\winscw\urel\swicertstoreplugin.dll \epoc32\release\winscw\urel\swicertstoreplugin.dll.disabled |
|
78 |
|
79 |