Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 865
  • Last Modified:

How to make msi installation read encrypted param file ?


I wrote some software (add-in for word) and an msi for installing it.
I have few (~100) different installation sites, each with ~300-500 users.
I want to have different parameters for each installtion. these are for INSTALL time not for run time.
So I wrote a param file that contains all the parameters.
However, I want to verify that no one except me changed the parameters file.
That leads for a need to have a encrypted parameters file (fixed symetric key).
My question is how to implment this on the msi ? How can I supply it an encrypted param file
that is decrypted in install time and "merged" into the installation.

Important - I prefer to work on Visual Studio 2005. If not possible, please mention another product (installShield?) that is a must have.


1 Solution
If you were not encrypting/decrypting then the standard msi has built-in stuff to do this really well.

However, to do what you are asking the only real solution is for you to write a helper C++ MSI dll that will decrypt the information in memory for you to use then set MSI properties appropriately to do what you want.

Hope this helps.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now