Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Reading Install type config file into hash

by tmurnane (Novice)
on Aug 10, 2012 at 13:31 UTC ( [id://986744]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Reading Install type config file into hash
in thread Reading Install type config file into hash

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.

  • Comment on Re^4: Reading Install type config file into hash

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://986744]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-24 21:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found