Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!nih-csl!helix.nih.gov!donnel From: donnel@helix.nih.gov (Donald A. Lehn) Newsgroups: comp.windows.ms Subject: Re: Windows3 .GRP file format Message-ID: <1553@nih-csl.nih.gov> Date: 3 Jun 91 19:24:48 GMT References: <1991Jun3.082252.5193@clinet.fi> Sender: news@nih-csl.nih.gov Organization: National Institutes of Health, Bethesda Lines: 48 In article <1991Jun3.082252.5193@clinet.fi> ebbe@clinet.fi (Ebbe Jonsson) writes: -> -> Being a novice to Windows programming and having, in the course of ->a project, to write a windows-based Install program, I've come up against a ->wall: -> I need to create a new group file in Program Manager, and place a ->certain number of icons/files into that group. In all the litterature I have ->been able to access there's no reference to the .GRP file format; I've ->tried to do file comparisons between two slightly different groups, but to ->no avail. -> -> If anyone out there could give me some pointers as to where to look ->for .GRP file information, I would be very grateful. Please mail your response, ->I tend to lose large volumes of mail because of a storage size problem at this ->site. -> -> -> ->-- ->----------------------------------------------------------------------------- ->Ebbe Jonsson ebbe@clinet.fi ->Maruddsstrand 17 {uunet}!clinet!ebbe >SF-00930 HELSINGFORS ebbe@f8.n220.z2.fidonet.org The best way to do this is to make the group file on your computer and copy it to the install disk. Then write a little utility that copies the .grp file to the directory that your program uses and that modifies the progman.ini file to add the gropu to the list of groups. That is: [Groups] Group1=C:\WINDOWS\ONE.GRP Group2=C:\WINDOWS\TWO.GRP Group3=C:\WINDOWS\THREE.GRP Group..=C:\WINDOWS\(etc>).GRP GroupN=C:\WINDOWS\N.GRP <- This is the last current group GroupN+1:\WINDOWS\N+1.GRP <- This is your group Notice: you will have to parse progman.ini to find the number of groups and then add one to it to get the value your group should have. If your initialization program has the option of several types of group seteps, place each different setup in a different .grp file and at setup time, copy over the appropriate .grp file. Best regards, Don Lehn donnel@helix.nih.gov