alastair.camero
04-14-2002, 12:10 PM
I have written a VBScript which digitally signs all our product exes/dlls/cabs/msi/etc using a Verisign Digital Certificate (in the form of a .SPC and .PVK file).
I don't use the Digital Signature option in the Developer IDE - instead we execute this VB script _BEFORE_ and _AFTER_ we build our InstallShield setup to sign the source files _AND_ the final setup MSI/EXEs. This all seems to work just fine.
However, I think the last bit for me to do is to populate the MSI MsiDigitalCertificate and MsiDigitalSignature tables (according to the "Authoring a Fully Verified Signed Installation" topic in MSDN).
Can anybody tell me how to do this from a VBScript? I have the .SPC and .PVK files, but am not sure how I go about programmatically importing them in to the MSI using the MSI API.
Thanks.
Alastair
I don't use the Digital Signature option in the Developer IDE - instead we execute this VB script _BEFORE_ and _AFTER_ we build our InstallShield setup to sign the source files _AND_ the final setup MSI/EXEs. This all seems to work just fine.
However, I think the last bit for me to do is to populate the MSI MsiDigitalCertificate and MsiDigitalSignature tables (according to the "Authoring a Fully Verified Signed Installation" topic in MSDN).
Can anybody tell me how to do this from a VBScript? I have the .SPC and .PVK files, but am not sure how I go about programmatically importing them in to the MSI using the MSI API.
Thanks.
Alastair