Friday, December 17, 2010

Encrypt attributes in an XML file with InstallShield

It is common to require set some configure parameters to encrypted values during installation. Following just show the steps quickly:

1, InstallShield does not have a encryption function out of box. This requires me to write a simple  Encryption.dll in C# or vb.net.

2, Back on InstallShield, create a new custom action "Calling a Public Method in a Managed Assembly".

3, using "XML File Changes" to set the encrypted value.

No comments:

Post a Comment