; vim:et:ts=4:sw=4:ai:tw=0 ; ; Here is a list of variables that you can use in the file ; that will automatically be replaced with their correct value ; at runtime. ; platform ; dsaPath ; upPath ; dpPath [w2003sbs] display_name = "Microsoft Windows Small Business Server 2003 Service Pack 1" strategy= ["w2003Strategy", "FillPnPDriverPath"] partitioning_strategy="Windows" up_copy_size=30 dp_copy_size=750 cd_list = [ 'w2003sbscd1' ] replace_files = [ '%(dpPath)s/$win_nt$.~bt/winnt.sif', '%(dpPath)s/$win_nt$.~ls/$oem$/oneshot.bat', '%(dpPath)s/$win_nt$.~bt/$oem$/txtsetup.oem', ] dsa_files = [ # everything here is for the DP, except as noted. ( "%(dsaPath)s/server_assistant/pexxxx/oemdir_w2003/.", "%(dpPath)s/$win_nt$.~ls/$oem$" ), ( "%(dsaPath)s/server_assistant/%(platform)s/oemdir_w2003/.", "%(dpPath)s/$win_nt$.~ls/$oem$", "crfo" ), ( "%(dsaPath)s/server_assistant/drivers/.", "%(dpPath)s/drivers", "crfo" ), # textmode goes to ~bt for "boot" purposes. # these are additional drivers that textmode loads. ( "%(dpPath)s/$win_nt$.~ls/$oem$/textmode/.", "%(dpPath)s/$win_nt$.~bt/$oem$/", "cr"), # these go here because the gui copies them to the HD. ( "%(dpPath)s/$win_nt$.~ls/$oem$/winnt", "%(dpPath)s/$win_nt$.~ls/$oem$/$$", "mof"), ( "%(dpPath)s/$win_nt$.~ls/$oem$/c_drive/dell", "%(dpPath)s/", "m" ), ( "%(dpPath)s/$win_nt$.~ls/$oem$/c_drive/privates", "%(dpPath)s/", "mo" ), ( "%(dsaPath)s/dsa/company.txt", "%(dpPath)s/dell/openmanage/", "cnfo" ), ( "%(dsaPath)s/server_assistant/pexxxx/oemdir_w2003/boot.ini", "%(dpPath)s/" ), ( "%(dsaPath)s/server_assistant/%(platform)s/oemdir_w2003/boot.ini", "%(dpPath)s/", "cnfo" ), ( "%(dsaPath)s/dsa/drmk/.", "%(upPath)s/" ), # note these go on UP ( "%(dsaPath)s/server_assistant/pexxxx/upimg.bin", "%(upPath)s/", "cnfo" ), # note these go on UP ( "%(dsaPath)s/server_assistant/%(platform)s/upimg.bin", "%(upPath)s/", "cnfo" ), # note these go on UP #OM Install files (optional) ( "%(dsaPath)s/srvadmin/windows", "%(dpPath)s/serveradministrator", "crfo" ), #UNATTEND FILES ( "%(dsaPath)s/server_assistant/pexxxx/oemdir_w2003/unattend.txt", "%(dpPath)s/$win_nt$.~bt/winnt.sif" ), ( "%(dsaPath)s/server_assistant/pexxxx/oemdir_w2003/platform_override.ini", "/tmp/platform_override.ini"), ( "%(dsaPath)s/server_assistant/%(platform)s/oemdir_w2003/platform_override.ini", "/tmp/platform_override.ini", "cnfo" ), ] ; quote all strings in CD declarations [w2003sbscd1] display_name = "Microsoft Windows Small Business Server 2003 CD 1" size=50 cd_type="Base" ; Win2000 Example line: DriverVer=04/24/2001,5.00.2195.2959 ; Win2003 Example line: DriverVer=10/01/2002,5.2.3790.0 identity_type="Custom" ; note - don't use leading slash below identity_custom="""self._identifyByFileContent( "i386/dosnet.inf", r"^DriverVer=[0-9/]*,5\.2" ) \ and self._identifyByFileContent( "i386/dosnet.inf", r"^ProductType\s*=\s*[6]" ) \ and self._identifyByPath( "i386/bosprep.exe" )""" copy_type=["DestIsDir"] copy_file=[ #boot files ("i386/ntdetect.com", "%(dpPath)s/"), ("i386/setupldr.bin", "%(dpPath)s/$ldr$"), ("i386/ntldr*", "%(dpPath)s/"), ("i386/txtsetup.sif", "%(dpPath)s/"), ("i386/.", "%(dpPath)s/$win_nt$.~ls/i386"), # ("%(dpPath)s/$win_nt$.~ls/i386/system32/.", "%(dpPath)s/$win_nt$.~bt/system32"), # # this is the list of files that winnt32.exe copies # ("%(dpPath)s/$win_nt$.~ls/i386/*.dl_", "%(dpPath)s/$win_nt$.~bt/"), ("%(dpPath)s/$win_nt$.~ls/i386/*.sy_", "%(dpPath)s/$win_nt$.~bt/"), ("%(dpPath)s/$win_nt$.~ls/i386/*.nl_", "%(dpPath)s/$win_nt$.~bt/", "cnfo"), ("%(dpPath)s/$win_nt$.~ls/i386/*kbd*.dl?", "%(dpPath)s/$win_nt$.~bt/", "cnfo"), ("%(dpPath)s/$win_nt$.~ls/i386/*.fo_", "%(dpPath)s/$win_nt$.~bt/", "cnfo"), ("%(dpPath)s/$win_nt$.~ls/i386/ntkrnlmp.ex?", "%(dpPath)s/$win_nt$.~bt/", "cnfo"), ("%(dpPath)s/$win_nt$.~ls/i386/biosinfo.inf", "%(dpPath)s/$win_nt$.~bt/", "cnfo"), ("%(dpPath)s/$win_nt$.~ls/i386/drvmain.sdb", "%(dpPath)s/$win_nt$.~bt/", "cnfo"), ("%(dpPath)s/$win_nt$.~ls/i386/setupreg.hiv", "%(dpPath)s/$win_nt$.~bt/", "cnfo"), ("%(dpPath)s/$win_nt$.~ls/i386/ntfs.sys", "%(dpPath)s/$win_nt$.~bt/", "cnfo"), ("%(dpPath)s/$win_nt$.~ls/i386/ksecdd.sys", "%(dpPath)s/$win_nt$.~bt/", "cnfo"), ("%(dpPath)s/$win_nt$.~ls/i386/spcmdcon.sys", "%(dpPath)s/$win_nt$.~bt/", "cnfo"), ("%(dpPath)s/$win_nt$.~ls/i386/migrate.inf", "%(dpPath)s/$win_nt$.~bt/", "cnfo"), ("%(dpPath)s/$win_nt$.~ls/i386/bootfont.bin", "%(dpPath)s/$win_nt$.~bt/", "cnfo"), ]