Source code of Windows XP (NT5)
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.

47 lines
1.8 KiB

  1. !include ..\make.inc
  2. MSIVAL2_IDT=$(MSI_DATA_DIR)\msival2.idt
  3. MSIVAL2_PLATFORM_IDT=$(MSIVAL2_IDT)\$(TARGET_DIRECTORY)
  4. EVALMSM_IDT=$(MSI_DATA_DIR)\evalmsm.idt\$(TARGET_DIRECTORY)
  5. MsiVal2Msi: \
  6. $(BUILD_PACKAGEDIR)\msival2.msi \
  7. $(O)\msivlcab.ddf
  8. $(O)\msivlcab.ddf: $(MSIVAL2_PLATFORM_IDT)\cab.ddf
  9. copy /y $(MSIVAL2_PLATFORM_IDT)\cab.ddf $@
  10. #-----------------------------------------------------------------------------
  11. $(O)\evalcom.msm: $(EVALMSM_IDT)\internal\*.idt $(BUILD_PACKAGEDIR)\evalcom.msm
  12. copy /y $(BUILD_PACKAGEDIR)\evalcom.msm $@
  13. msidb.exe -i -f$(EVALMSM_IDT)\internal -d$@ *.idt
  14. #-----------------------------------------------------------------------------
  15. $(O)\val2prop.idt: $(SDK_INC_PATH)\ntverp.h $(MSIVAL2_PLATFORM_IDT)\property.tpl
  16. $(C_PREPROCESSOR_NAME) -I $(SDK_INC_PATH) /EP /Tc $(MSIVAL2_PLATFORM_IDT)\property.tpl | perl $(MSI_DATA_DIR)\idtproc.pl > $@
  17. $(O)\val2upgr.idt: $(SDK_INC_PATH)\ntverp.h $(MSIVAL2_PLATFORM_IDT)\upgrade.tpl
  18. $(C_PREPROCESSOR_NAME) -I $(SDK_INC_PATH) /EP /Tc $(MSIVAL2_PLATFORM_IDT)\upgrade.tpl | perl $(MSI_DATA_DIR)\idtproc.pl > $@
  19. #-----------------------------------------------------------------------------
  20. $(BUILD_PACKAGEDIR)\msival2.msi: $(BUILD_PACKAGEDIR)\uisample.msi $(O)\evalcom.msm \
  21. $(MSIVAL2_IDT)\*.idt $(MSIVAL2_PLATFORM_IDT)\*.idt $(O)\val2prop.idt \
  22. $(O)\val2upgr.idt
  23. msidb.exe -i -c -f$(MSIVAL2_IDT) -d$@ *.idt
  24. msidb.exe -i -f$(MSIVAL2_PLATFORM_IDT) -d$@ *.idt
  25. msidb.exe -i -f$(MSI_DATA_DIR)\msival2.idt\$(O) -d $@ val2prop.idt
  26. msidb.exe -i -f$(MSI_DATA_DIR)\msival2.idt\$(O) -d $@ val2upgr.idt
  27. msidb.exe -m$(BUILD_PACKAGEDIR)\uisample.msi -d$@
  28. msidb.exe -m$(O)\evalcom.msm -d$@
  29. msitran.exe -a $(MSIVAL2_IDT)\addlegal.mst $@
  30. CScript $(WSHTOOLS)\wisuminf.vbs $@ 11=Date 12=Date
  31. CScript $(WSHTOOLS)\wirunsql.vbs $@ "UPDATE `Property` SET `Value`=0 WHERE `Property`='ShowUserRegistrationDlg'"