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:


Sign In
Create Account


Back to top









