Board index » delphi » Creating Windows Program group from Pascal program

Creating Windows Program group from Pascal program

I want to create a Windows Program group from a Pascal 'install' program
that I'm writing. The user will type in the windows directory (normally
'c:\windows').  From this directory, my program reads the PROGMAN.INI
file and appends a 'GROUPxx=c:\mydir\mygroup.grp' line. (Checking to
make sure that this 'mygroup.grp' line does already exist).

If my INSTALL program has been run from the DOS prompt, the desired
'mygroup' box, with icon, appears when Windows is started.  Everything
seems to be ok.

However, if my INSTALL program has been executed from within Windows,
the icon does not appear.  I must first exit windows, and then reenter
windows before "mygroup" appears.  Is there a way to have this
program group box appear upon exiting my INSTALL program? Perhaps
a better technique exists for setting up 'mygroup.grp'?

Bob

 

Re:Creating Windows Program group from Pascal program


Hi there...
  Check out PROGTALK.PAS that coms with TPW. It's located in the OWLDEMOS sub directory..

James

Other Threads