How to make msi installation read encrypted param file ?

Posted on 2007-10-09
Last Modified: 2013-11-14

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.


Question by:dannykario
    1 Comment
    LVL 5

    Accepted 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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    One of the frequent problems with the installations is when some file or registry entry is not removed from the system upon un-installation of the product. Clean removal is always highly desirable. One major reason for that is badly authored inst…
    I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now