From b593d27e07e17c107776a81c182574eff08ec94f Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Wed, 12 Dec 2012 13:14:13 +0000 Subject: [PATCH] =?UTF-8?q?Dodal=20sem=20=C5=A1e=20tabele=20Binary,=20Cust?= =?UTF-8?q?omAction=20in=20InstallExecuteSequence=20ter=20usposobil=20prip?= =?UTF-8?q?ravo=20namestitvenega=20paketa,=20da=20lahko=20za=C4=8Dnem=20s?= =?UTF-8?q?=20pravim=20razvojem=20orodja=20MSITSCA.dll.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MSI/Makefile | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++ MSITSCA.cpp | 18 +++------------ MSITSCA.h | 2 +- 3 files changed, 67 insertions(+), 16 deletions(-) diff --git a/MSI/Makefile b/MSI/Makefile index 3249184..ba145a9 100644 --- a/MSI/Makefile +++ b/MSI/Makefile @@ -1,6 +1,13 @@ !INCLUDE "..\..\include\MSINast.mak" #MSM_IMA_LOKALIZACIJO=1 +!IF "$(CFG)" == "ReleaseU" +CFG_VC=Unicode Release +!ELSEIF "$(CFG)" == "DebugU" +CFG_VC=Unicode Debug +!ELSE +CFG_VC=$(CFG) +!ENDIF ###################################################################### @@ -46,6 +53,62 @@ TaskTrigger Task_ N ScheduledTask 1 Identifier Key of the Trigger's task. < NUL +Name Data +s$(MSI_TIP_ID) v0 +Binary Name +binMSITSCA.dll MSITSCA.dll +< NUL + + +###################################################################### +# CustomAction + +Vse :: "$(JEZIK).$(CFG).$(PLAT).CustomAction-1.idt" + +"$(JEZIK).$(CFG).$(PLAT).CustomAction-1.idt" : "Makefile" "..\..\include\MSINast.mak" + -if exist $@ del /f /q $@ + move /y << $@ > NUL +Action Type Source Target +s$(MSI_TIP_ID) i2 S$(MSI_TIP_ID) S255 +CustomAction Action +caEvaluateScheduledTasks 1 binMSITSCA.dll EvaluateScheduledTasks +caInstallScheduledTasks 1025 binMSITSCA.dll InstallScheduledTasks +caRollbackScheduledTasks 1281 binMSITSCA.dll RollbackScheduledTasks +caCommitScheduledTasks 1537 binMSITSCA.dll CommitScheduledTasks +< NUL +Action Condition Sequence +s$(MSI_TIP_ID) S255 I2 +InstallExecuteSequence Action +caEvaluateScheduledTasks 6580 +caInstallScheduledTasks 6581 +caRollbackScheduledTasks 6582 +caCommitScheduledTasks 6583 +<