Adding Program Groups and Items During Unattended SetupLast reviewed: June 18, 1996Article ID: Q147231 |
The information in this article applies to:
- Microsoft Windows NT Workstation versions 3.5 and 3.51 - Microsoft Windows NT Server versions 3.5 and 3.51
SUMMARYTo add additional Program Groups and Program Items automatically during Unattended Setup, modification of the PARTIAL.INF is required.
MORE INFORMATIONFrom a shared copy of Windows NT on a systems hard drive expand the PARTIAL.IN_ to PARTIAL.INF (expand partial.in_ partial.inf). Rename PARITIAL.IN_ to PARTIAL.BAK. NOTE: The Windows NT version of EXPAND.EXE is required to properly expand the file. There are four areas that have to modified/added:
EXAMPLEThis example uses TerraFlora to identify the new item to be added and in referenced throughout the example. NOTE: "*" means an added line. [PartialDestinationVars] ReadmeDest = $(!STF_WINDOWSPATH) AccessoriesDest = $(!STF_WINDOWSSYSPATH) GamesDest = $(!STF_WINDOWSSYSPATH) SaversDest = $(!STF_WINDOWSSYSPATH) WallpapersDest = $(!STF_WINDOWSPATH) MainDest = $(!STF_WINDOWSSYSPATH) AdminToolsDest = $(!STF_WINDOWSSYSPATH) StartupDest = $(!STF_WINDOWSSYSPATH) * TerraFloraDest = $(!STF_WINDOWSSYSPATH) exit[InstallProgramGroups] set Groups = ^(ProgmanGroups, 1) set MainToInstall = ^(MainItems$(!STF_PRODUCT)$(!STF_PLATFORM), 1) set AdminToolsToInstall = ^(AdminToolsItems$(!STF_PRODUCT), 1) set StartupToInstall = {}* set TerraFloraToInstall = ^(TerraFloraItems,1) ForListDo $(Groups) set Group = $($) ifstr(i) $(Group) != Startup[MainItemsWinntI386] FileManager ControlPanel PrintManager Clipboard Command Setup Pifedit Mail SchedulePlus CommandRefWinnt Intro readme OnlineBooks* [TerraFloraItems] * Terra1 * Terra2 * Terra3 * Terra4 * Terra5 * Terra6 * [TerraFloraItemsENG] * Terra1 = "Terra Flora Help 1", INTRO.EXE, "%windir%\SYSTEM32\INTRO.EXE", "intro.ico", 0* Terra2 = "Terra Flora Help 2", INTRO.EXE, "%windir%\SYSTEM32\INTRO.EXE", "intro.ico", 0* Terra3 = "Terra Flora Help 3", INTRO.EXE, "%windir%\SYSTEM32\INTRO.EXE", "intro.ico", 0* Terra4 = "Terra Flora Help 4", INTRO.EXE, "Q:\SYSTEM32\INTRO.EXE", "intro.ico", 0* Terra5 = "Terra Flora Help 5",INTRO.EXE, "\\TRAINING\INTRO\WINNT35\SYSTEM32\INTRO.EXE", "intro.ico", 0* Terra6 = "Terra Flora Help 6", INTRO.EXE, "\\TRAINING\INTRO2\WINNT35\SYSTEM32\INTRO.EXE", "intro.ico", 0For additional information, see the "Windows NT Resource Kit Volume 1," Chapter 3: Customizing Windows NT Setup.
|
KBCategory: kbsetup
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |