|
|
1.1 root 1: Sample: DDEML API Demonstration
2:
3: Summary:
4:
5: The Install SDK sample provides an example of how to use the DDEML
6: API's to add groups and program items to the Program Manager. The
7: program can be run either in interactive or batch mode and the
8: search path can be specified on the command line.
9:
10: More Information:
11:
12: The program can be started from the command line. The following
13: flags can be used.
14:
15: (-/)(sS) <path> Specify the search path. Currently this must be
16: single path. The application searches for an environmental variable
17: "MSTOOLS". If this variable is not found then the default value is
18: c:\mstools\samples.
19:
20: (-/)g(G) <name> Specify the name of the group that the items
21: should be added to. The default value is 'Sample Applications'.
22:
23: (-/)b(B) Specifies that the program should run in batch mode.
24: The program will find all of the .exe files in the specified
25: path, searching recursively. It will then create the specified
26: group and add all of the found executables to the group. The
27: program will then exit.
28:
29: (-/)(iI) Specifies interactive mode. This is the default. The
30: program will find all of the exe files in the specified
31: path, searching recursively. The names will be displayed in
32: a list with the name that will be use displayed in an additional
33: list. A drop down combo box will display a list of the currently
34: available groups. The user can type in a new group name if
35: desired.
36:
37: If the program finds more than 50 executables then after adding 50
38: items to a group a new group is created using the name currently
39: selected in the Program Manager Group list with "Part <n>" appended
40: where <n> starts at 2 and is incremented after every new group is
41: added.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.