Windows 95 didn’t detect installers, it ‘guessed’ based on the file name, says veteran dev — it simply checked for words like setup, install, inst, or localized equivalents

Windows 95
(Image credit: Getty Images)

Windows 95 worked out whether a setup program had run by reading the executable's name and checking it against a short list of hard-coded words, according to Microsoft engineer and semi-official Windows historian Raymond Chen, sharing the details via his Old New Thing blog. A filename containing "setup," "install," or "inst" flagged the program as an installer, which triggered the operating system's routine for repairing system files that installers had damaged. Three non-English entries appeared on the same list, which Chen identified as his own guesses at Italian, Turkish, and Hungarian.

The full match list ran to six terms: setup, install, inst, imposta, ayarla, and felrak. Chen wrote that "install" was redundant, because any name containing it already contains "inst," and speculated that the shorter entry was added later to catch installers named along the lines of "blahinst" without anyone deleting the original. A program whose own name produced no match got a second test, with Windows 95 checking whether the word "Setup" appeared anywhere in the path to the executable. A separate live check ran after any multimedia driver was installed through an INF file, added because those drivers frequently overwrote system DLLs.

Latest Videos FromTom's Hardware
Luke James
Contributor

Luke James is a freelance writer and journalist.  Although his background is in legal, he has a personal interest in all things tech, especially hardware and microelectronics, and anything regulatory. 

  • dalauder
    Fun article. It helps me understand why so many installations required a system restart. Through about 1997, I still was installing and launching plenty of games from MS-DOS mode. Now I know that a lot of Windows programs did that kind of under-the-hood on the restarts.
    Reply
  • ezst036
    Interesting.

    I still miss Windows 95. Back when Microsoft was for its users and not for Microsoft.
    Reply
  • usertests
    ezst036 said:
    Interesting.

    I still miss Windows 95. Back when Microsoft was for its users and not for Microsoft.
    Lol
    Reply
  • NinoPino
    Scary way to do that.
    Reply
  • vinay2070
    Toms now posting all good articles behind the paywall and useless dramas here.
    Reply
  • adamboy64
    ezst036 said:
    Interesting.

    I still miss Windows 95. Back when Microsoft was for its users and not for Microsoft.
    Totally. It's a relic from the time where computers were more like our friends - working with us, and software devs were trying to improve functionality & user experience. These days tech feels like the opposite.
    Reply
  • recycledelectrons
    This should not be a surprise. If you tried to name your installer anything other than "setup" Microsoft threw a fit.
    Reply
  • ezst036
    adamboy64 said:
    Totally. It's a relic from the time where computers were more like our friends - working with us, and software devs were trying to improve functionality & user experience. These days tech feels like the opposite.
    You can still have that experience but its only now available in the open source world.

    That is in fact a part of why the Linux numbers slowly keep growing. People slowly discover. It is not lost after all.
    Reply