Jump to content

Settings file for software installation program

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Parabola

Parabola

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 331 posts
I have a program that I wrote for work that basically makes deployment of new PC's easier-
You select what software you want, and hit install. It uses autoit and such to go through and properly install all of the software you need on a new PC without you needing to be there. The program works great, but I now want to take it a step further, and I'm not sure how.

Basically, I'm really trying to find the easiest way to do this. What I need to do is have the program check Active Directory for the OU of the computer, and based upon that information, say "this is what software you need to install".
The OU of the PC tells me 3 things:
What site the PC is at (we have somewhere around 13 sites all over the metroplex)
Is this a clinical or common use PC?
Is it wireless?
For example:
Common Desktop THFW means it's in Fort Worth, anyone can log on, and it's wired
Wireless Clinical THD - Dallas, Wireless, generic login ID that is locked down to this PC

Using whatever information, it should then be able to say Ok, you need Office 07 and Citrix installed.

Technically, I could go through and create a bool value for each program for each site... but that would mean... somewhere around 150+ individual values... no thanks, that would be messy.

Isn't there some way to have a set of values for each site, something like that? For instance:
THFWCommonDesktop.Office07 = true;
as in:
OU.program = bool
(it would be much nicer to load the site and OU into variables so i could look up the settings in this manner:
foreach(string app in AppList)
{
    if (OU+app = true)
         chk_app.Checked = true;
}
or possibly even an array?

Any input or ideas would be appreciated. Also, any solution that allows editing by non programmers outside of the IDE would also be very awesome.

Please let me know, I need help with this.:confused::confused:
Programmer (n): An organism that can turn caffeine into code.
Programming would be so much easier without all the users.

#2
Parabola

Parabola

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 331 posts
Also, one other thing- each site has 4 OU's.... So basically we have roughly 52 OU's... So that would actually (each OU + each program had indivual bool) be around 600+ settings...
Programmer (n): An organism that can turn caffeine into code.
Programming would be so much easier without all the users.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users