#VB Install routine
10-Oct-91 11:00:28
Sb: #2398-#VB Install routine
Fm: Dennis L. Harrington 76216,3472
To: George Campbell 71571,222
George,
<< … impossible to test for all the ways a system could be setup … >>
This may not be that difficult with windows because so much of the setup
in included in the win.ini and system.ini files in very well defined
formats. Additionally, windows will tell you the name and location of the
main and system directory no matter what the name or location.
For example, you can find out which shell is used with a simple
GetPrivateProfileString call to system.ini. If it's not progman, you can
still easily see if progman is still in the windows directory with the
OpenFile call. If it's not the shell and not on disk, then bypass any code
in your install that would setup a program group. Pretty simple and
straight forward.
Perhaps some humble soul could put together a generic system
configuration generator that could be used with install programs. It would
be a fantastic way of really getting comfortable with the api calls.
–dennis
There is 1 Reply.