• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 868
  • 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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

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