Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!fernwood!uupsi!sunic!sics.se!fuug!tuura!risto From: risto@tuura.UUCP (Risto Lankinen) Newsgroups: comp.windows.ms Subject: Re: How come? Message-ID: <1185@tuura.UUCP> Date: 26 May 91 09:35:25 GMT References: <1991May23.203907.17615@sjuphil.uucp> Organization: Nokia Data Systems Oy Lines: 34 tmoody@sjuphil.uucp (T. Moody) writes: >I recently ran the Windows 3.0 setup routine to locate Windows >applications, and an interesting thing happened. It found Microsoft >Word (*not* Word for Windows) and Brief. The odd thing is that I don't >have Brief. I have an editor called "Boxer," a shareware program that I >picked up on CompuServe. Why do you suppose Windows thinks that Boxer >is Brief? Hi! Your 'Boxer'-editor program must have the same executable file name (B.EXE?) than the 'Brief'. The Setup uses a special ASCII file for initialization, SETUP.INF, which tells it a name to associate to each .EXE found on the disk. So, take a peek to the SETUP.INF, and earch 'B.EXE' (or whatever the file name of the Boxer were) to see what I mean. For .EXE-files not listed in SETUP.INF, the Windows scans their 'Executable File Header' to see, whether they're made for Windows. If positive, their headers include a description of the application, which the Setup uses to list in the 'Install Applications' list box, instead. Btw, you can add your own applications to the SETUP.INF the same way the default ones are. Very handy feature, if you've sold some software to your customers, and later sell them a copy of Windows. Just edit the SETUP.INF to make Windows' Setup automatically add to a group what you sold before. Terveisin: Risto Lankinen -- Risto Lankinen / product specialist *************************************** Nokia Data Systems, Technology Dept * 2 3 * THIS SPACE INTENTIONALLY LEFT BLANK * 2 +1 is PRIME! Now working on 2 -1 * replies: risto@yj.data.nokia.fi ***************************************