Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.7 KiB

  1. !include ..\make.inc
  2. SCHEMA_MSM_IDT=$(MSI_DATA_DIR)\schemaMsm.idt
  3. MMMSM_IDT=$(MSI_DATA_DIR)\mergemsm.idt\$(TARGET_DIRECTORY)
  4. EVALMSM_IDT=$(MSI_DATA_DIR)\evalmsm.idt\$(TARGET_DIRECTORY)
  5. ORCA_IDT=$(MSI_DATA_DIR)\orca.idt
  6. ORCA_PLATFORM_IDT=$(ORCA_IDT)\$(TARGET_DIRECTORY)
  7. ORCA_IDT_ICON=$(ORCA_IDT)\icon
  8. OrcaMsi: $(BUILD_PACKAGEDIR)\orca.msi \
  9. $(BUILD_PACKAGEDIR)\orca.dat \
  10. $(O)\orcacab.ddf
  11. #-----------------------------------------------------------------------------
  12. $(O)\evalcom.msm: $(EVALMSM_IDT)\internal\*.idt $(BUILD_PACKAGEDIR)\evalcom.tmp
  13. copy /y $(BUILD_PACKAGEDIR)\evalcom.tmp $@
  14. msidb.exe -i -f$(EVALMSM_IDT)\internal -d$@ *.idt
  15. #-----------------------------------------------------------------------------
  16. $(O)\mergemod.msm: $(MMMSM_IDT)\internal\*.idt $(BUILD_PACKAGEDIR)\mergemod.tmp
  17. copy /y $(BUILD_PACKAGEDIR)\mergemod.tmp $@
  18. msidb.exe -i -f$(MMMSM_IDT)\internal -d$@ *.idt
  19. #-----------------------------------------------------------------------------
  20. $(BUILD_PACKAGEDIR)\orca.dat: $(SCHEMA_IDT)\*.idt $(SCHEMA_MSM_IDT)\*.idt
  21. msidb.exe -c -i -f$(SCHEMA_IDT) -d$@ *.idt
  22. msidb.exe -c -i -f$(SCHEMA_IDT) -d$(O)\schema.msm *.idt
  23. msidb.exe -m $(O)\schema.msm -d $@
  24. #-----------------------------------------------------------------------------
  25. $(O)\orcacab.ddf: $(ORCA_PLATFORM_IDT)\cab.ddf
  26. copy /y $(ORCA_PLATFORM_IDT)\cab.ddf $@
  27. #-----------------------------------------------------------------------------
  28. $(O)\orcaprop.idt: $(ORCA_PLATFORM_IDT)\property.tpl $(SDK_INC_PATH)\ntverp.h
  29. $(C_PREPROCESSOR_NAME) -I $(SDK_INC_PATH) /EP /Tc $(ORCA_PLATFORM_IDT)\property.tpl | perl $(MSI_DATA_DIR)\idtproc.pl > $@
  30. $(O)\orcaupgr.idt: $(ORCA_PLATFORM_IDT)\upgrade.tpl $(SDK_INC_PATH)\ntverp.h
  31. $(C_PREPROCESSOR_NAME) -I $(SDK_INC_PATH) /EP /Tc $(ORCA_PLATFORM_IDT)\upgrade.tpl | perl $(MSI_DATA_DIR)\idtproc.pl > $@
  32. #-----------------------------------------------------------------------------
  33. $(BUILD_PACKAGEDIR)\orca.msi: $(BUILD_PACKAGEDIR)\uisample.msi $(O)\mergemod.msm $(O)\evalcom.msm \
  34. $(ORCA_IDT)\*.idt $(ORCA_PLATFORM_IDT)\*.idt $(ORCA_IDT_ICON)\*.* $(O)\orcaprop.idt \
  35. $(O)\orcaupgr.idt
  36. msidb.exe -i -c -f$(ORCA_IDT) -d$@ *.idt
  37. msidb.exe -i -f$(ORCA_PLATFORM_IDT) -d$@ *.idt
  38. msidb.exe -i -f$(MSI_DATA_DIR)\orca.idt\$(O) -d $@ orcaprop.idt
  39. msidb.exe -i -f$(MSI_DATA_DIR)\orca.idt\$(O) -d $@ orcaupgr.idt
  40. msidb.exe -m $(BUILD_PACKAGEDIR)\uisample.msi -d$@
  41. msidb.exe -m $(O)\evalcom.msm -d$@
  42. msidb.exe -m $(O)\mergemod.msm -d$@
  43. msitran.exe -a $(ORCA_IDT)\addlegal.mst $@
  44. CScript $(WSHTOOLS)\wisuminf.vbs $@ 11=Date 12=Date
  45. CScript $(WSHTOOLS)\wirunsql.vbs $@ "UPDATE `Property` SET `Value`=0 WHERE `Property`='ShowUserRegistrationDlg'"