|Pathologically Eclectic Rubbish Lister|
Re^4: Reading Install type config file into hashby tmurnane (Novice)
|on Aug 10, 2012 at 13:31 UTC||Need Help??|
Thank you so much - that is exactly what I am looking for.
I do need it ordered because I'm creating a Perl Tk UI that will read this setup file, allow users to modify it and write it back out...basically, creating a Suite installer outside of InstallShield. I'm thinking of using a NoteBook where the first tab will have a list of Products and Features with CheckBoxes. The other tabs will have the "Property = Value" info in a label Textbox fashion so they can change the values and write out a new setup.ini.
I will also have another script that can be run from the UI and cmdline for users without UI capabilities, that will just read the setup.ini, build the commands to run each install silently and run them...where obviously, order does not matter.
Still have to figure that one out - when running outside the UI, how do I determine what to install. I May have to add a Product="y|n", Feature="y|n" to the setup.ini file.
Thanks a bunch - I knew to use Arrays of Hashes but couldn't conceptualize it visually.
Boy do I have a lot to learn - who'd thunk to use an || in a Hash Key. Great stuff.
If anyone has a better solution...by all means, let me know.