So, I want to inject a few little changes into the answer file during the deployment before the answer file gets used.  I want to change a few little details in the answer file depending on the location of the office the deployment is occuring in.  

I would love to be able to have a script that can make any change I want to the answer file in the same way the setcomputername.exe does, but allowing me to enter my own variables.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1
It will be a quadzillion times easier to repackage the installation as an MSI and use properties to tailor it the way you want.
Answered 12/16/2015 by: VBScab
Red Belt

  • Repackage what installer?
    • Because ITNinja is primarily an application packaging fora (with KACE Support added) the terminology you used ("deployment", "answer file") led people who answered your question to believe that your question was about deploying software.

      It would seem that you are talking about OS deployment and associated answer files - which is where the confusion came in. Please update your tags to support the type of question you've posted.
Please log in to comment

Answers

0
Our K2000 had stock pre- and post-install tasks for getting and setting the computer name that used VB scripts. Do you have them on your K2000? You could probably check how those scripts do the modification and use them as an example. The answer file is XML so anything that can modify XML should be able to make changes to it.

Answered 12/16/2015 by: chucksteel
Red Belt

Please log in to comment
0
depending on the settings you want to change I would do this as a post install task, since the way you want to do would work but will be a pain if something is not working as suspected.
Answered 12/17/2015 by: Nico_K
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity