aboutsummaryrefslogtreecommitdiffstats
path: root/Installer/makeMSIESignedCab.sh
blob: b2c405f2c35cc2bb6ffe5b322a2cf9dfa080645d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh

. versiondef.sh

# The Microsft signing keys were created using the Microsoft makecert and
# cert2spc utilities, as follows:
# makecert -nscp -r -n CN=GL4JInst GL4JInst282.cer -sv GL4JInst282.pvk
#     (when prompted for a password, click "None")
# cert2spc GL4JInst282.cer GL4JInst282.spc

rm -f *.class GL4JInst.cab
/MSJVM/BIN/jvc -nomessage -x- -cp:p .\;..\\CAPSAPI_CLASSES.ZIP *.java

. versionundef.sh

/MSJVM/Bin/cabarc N GL4JInst.cab *.class
/MSJVM/Bin/signcode -j javasign.dll -jp low -spc GL4JInst282.spc -v GL4JInst282.pvk GL4JInst.cab
rm *.class