Software Deployment Question
Single MSI with Multiple .config files with parameters during deployment
04/13/2016 1237 views
I wanted to know how to have a single MSI that contains multiple .config files and that can be used with parameters. All the config files have the same name so they are build with them separately.
Application (contains deptest.config)
deptest.config (department 1)
deptest.config (department 2)
deptest.config (department 3)
deptest.config (department 4)
the way its done now is there are 4 differnt msi's built with different department config files in them.
Application + deptest.config (department 1) = Testdep1.msi then KACE Deploy for Dep 1
Application + deptest.config (department 2) = Testdep2.msi then KACE Deploy for Dep 2
Application + deptest.config (department 3) = Testdep3.msi then KACE Deploy for Dep 3
Application + deptest.config (department 4) = Testdep4.msi then KACE Deploy for Dep 4
What i would like is
One TEST.msi (with all the config files in it) and use parameters to send it to different department during the KACE Deploy.
Advanced Installer for Making/editing MSI's
KACE1000 to deploy to PC's
Also feel free to suggest better ways doing this.
Thanks in advance
Community Chosen Answer
Please log in to answer
A quick way would be to have the different files copied to a globally accessible location e.g. somewhere in the 'All Users' profile, using different names. Each file would need to be in a separate component with a condition set. How you differentiate between departments is unknown to us but you would detect that somehow and use the detection to set a public property named, say DEPT_NAME with a value. Your condition would then read DEPT_NAME=FINANCE or DEPT_NAME=OPS. Then use the DuplicateFile table to copy the relevant file to its proper location.
Answered 04/14/2016 by: anonymous_9363