Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^4: Reading Install type config file into hash

by tmurnane (Novice)
on Aug 10, 2012 at 13:31 UTC ( #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 all means, let me know.

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986744]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2018-03-17 04:04 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (223 votes). Check out past polls.