MSIBuild support added
This commit is contained in:
parent
64ca04f468
commit
840f1bce06
9
UpdCheck/MSIBuild/.gitignore
vendored
Normal file
9
UpdCheck/MSIBuild/.gitignore
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
/*-1.idt
|
||||||
|
/*-2.idt
|
||||||
|
/*-2.idtx
|
||||||
|
/*.Binary-1
|
||||||
|
/*.Binary-2
|
||||||
|
/*.Icon-1
|
||||||
|
/*.Icon-2
|
||||||
|
/*.lst
|
||||||
|
/*.msm
|
149
UpdCheck/MSIBuild/Makefile
Normal file
149
UpdCheck/MSIBuild/Makefile
Normal file
@ -0,0 +1,149 @@
|
|||||||
|
#
|
||||||
|
# Copyright 1991-2016 Amebis
|
||||||
|
#
|
||||||
|
# This file is part of ZRCola.
|
||||||
|
#
|
||||||
|
# ZRCola is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# ZRCola is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with ZRCola. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
!INCLUDE "..\..\..\MSI\include\MSIBuildCfg.mak"
|
||||||
|
|
||||||
|
MSIBUILD_IS_LOCALIZEABLE=1
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Component
|
||||||
|
|
||||||
|
All :: "$(LANG).$(PLAT).$(CFG).Component-1.idt"
|
||||||
|
|
||||||
|
"$(LANG).$(PLAT).$(CFG).Component-1.idt" : "Makefile" "..\..\..\MSI\include\MSIBuildCfg.mak"
|
||||||
|
-if exist $@ del /f /q $@
|
||||||
|
move /y << $@ > NUL
|
||||||
|
Component ComponentId Directory_ Attributes Condition KeyPath
|
||||||
|
s$(MSIBUILD_LENGTH_ID) S38 s$(MSIBUILD_LENGTH_ID) i2 S255 S$(MSIBUILD_LENGTH_ID)
|
||||||
|
Component Component
|
||||||
|
!IF "$(PLAT)" == "Win32"
|
||||||
|
compUpdCheck.exe.Win32 {0E56A84C-1567-4030-B5C8-2FF998E9F7E3} $(UPDATER_BINDIR) 0 fileUpdCheck.exe.Win32
|
||||||
|
!ENDIF
|
||||||
|
!IF "$(PLAT)" == "x64"
|
||||||
|
compUpdCheck.exe.x64 {9245E7EC-EDBD-41E1-858B-88810F3AFDD6} $(UPDATER_BINDIR) 256 fileUpdCheck.exe.x64
|
||||||
|
!ENDIF
|
||||||
|
<<NOKEEP
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Feature
|
||||||
|
|
||||||
|
All :: "$(LANG).$(PLAT).$(CFG).Feature-2.idt"
|
||||||
|
|
||||||
|
"En.$(PLAT).$(CFG).Feature-2.idtx" : "Makefile" "..\..\..\MSI\include\MSIBuildCfg.mak"
|
||||||
|
-if exist $@ del /f /q $@
|
||||||
|
move /y << $@ > NUL
|
||||||
|
Feature Feature_Parent Title Description Display Level Directory_ Attributes
|
||||||
|
s$(MSIBUILD_LENGTH_ID) S$(MSIBUILD_LENGTH_ID) L64 L255 I2 i2 S$(MSIBUILD_LENGTH_ID) i2
|
||||||
|
1252 Feature Feature
|
||||||
|
featUpdCheck $(UPDATER_FEATURE_ROOT) Automatic Updating Task for background product updating 1001 2 $(UPDATER_BINDIR) 8
|
||||||
|
<<NOKEEP
|
||||||
|
|
||||||
|
"De.$(PLAT).$(CFG).Feature-2.idt" : "En.$(PLAT).$(CFG).Feature-2.idtx" "..\locale\de_DE.po"
|
||||||
|
rcxgettext.exe idtp $@ $**
|
||||||
|
|
||||||
|
"En.$(PLAT).$(CFG).Feature-2.idt" : "En.$(PLAT).$(CFG).Feature-2.idtx"
|
||||||
|
copy /y $** $@ > NUL
|
||||||
|
|
||||||
|
"It.$(PLAT).$(CFG).Feature-2.idt" : "En.$(PLAT).$(CFG).Feature-2.idtx" "..\locale\it_IT.po"
|
||||||
|
rcxgettext.exe idtp $@ $**
|
||||||
|
|
||||||
|
"Sl.$(PLAT).$(CFG).Feature-2.idt" : "En.$(PLAT).$(CFG).Feature-2.idtx" "..\locale\sl_SI.po"
|
||||||
|
rcxgettext.exe idtp $@ $**
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# FeatureComponents
|
||||||
|
|
||||||
|
All :: "$(LANG).$(PLAT).$(CFG).FeatureComponents-1.idt"
|
||||||
|
|
||||||
|
"$(LANG).$(PLAT).$(CFG).FeatureComponents-1.idt" : "Makefile" "..\..\..\MSI\include\MSIBuildCfg.mak"
|
||||||
|
-if exist $@ del /f /q $@
|
||||||
|
move /y << $@ > NUL
|
||||||
|
Feature_ Component_
|
||||||
|
s38 s$(MSIBUILD_LENGTH_ID)
|
||||||
|
FeatureComponents Feature_ Component_
|
||||||
|
featUpdCheck compUpdCheck.exe.$(PLAT)
|
||||||
|
featUpdCheck compwxExtend.dll.$(PLAT)
|
||||||
|
<<NOKEEP
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# File
|
||||||
|
|
||||||
|
All :: "$(LANG).$(PLAT).$(CFG).File-1.idt"
|
||||||
|
|
||||||
|
"$(LANG).$(PLAT).$(CFG).File-1.idt" : "Makefile" "..\..\..\MSI\include\MSIBuildCfg.mak"
|
||||||
|
-if exist $@ del /f /q $@
|
||||||
|
move /y << $@ > NUL
|
||||||
|
File Component_ FileName FileSize Version Language Attributes Sequence
|
||||||
|
s$(MSIBUILD_LENGTH_ID) s$(MSIBUILD_LENGTH_ID) l255 i4 S$(MSIBUILD_LENGTH_ID) S20 I2 i2
|
||||||
|
File File
|
||||||
|
fileUpdCheck.exe.$(PLAT) compUpdCheck.exe.$(PLAT) UPDCHECK.EXE|UpdCheck.exe 0 0 1536 1
|
||||||
|
<<NOKEEP
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# ScheduledTask
|
||||||
|
|
||||||
|
All :: "$(LANG).$(PLAT).$(CFG).ScheduledTask-2.idt"
|
||||||
|
|
||||||
|
"En.$(PLAT).$(CFG).ScheduledTask-2.idtx" : "Makefile" "..\..\..\MSI\include\MSIBuildCfg.mak"
|
||||||
|
-if exist $@ del /f /q $@
|
||||||
|
move /y << $@ > NUL
|
||||||
|
Task DisplayName Application Parameters Directory_ Flags Priority User Password Author Description IdleMin IdleDeadline MaxRuntime Condition Component_
|
||||||
|
s$(MSIBUILD_LENGTH_ID) l255 s255 S255 s$(MSIBUILD_LENGTH_ID) i4 i4 S255 S255 L255 L0 I2 I2 i4 S255 s$(MSIBUILD_LENGTH_ID)
|
||||||
|
1252 ScheduledTask Task
|
||||||
|
stUpdCheck.$(PLAT) [SimpleProductName] Update [#fileUpdCheck.exe.$(PLAT)] $(UPDATER_BINDIR) 0 32 [Manufacturer] Regularly checks for program updates, downloads, and installs them -1 compUpdCheck.exe.$(PLAT)
|
||||||
|
<<NOKEEP
|
||||||
|
|
||||||
|
"De.$(PLAT).$(CFG).ScheduledTask-2.idt" : "En.$(PLAT).$(CFG).ScheduledTask-2.idtx" "..\locale\de_DE.po"
|
||||||
|
rcxgettext.exe idtp $@ $**
|
||||||
|
|
||||||
|
"En.$(PLAT).$(CFG).ScheduledTask-2.idt" : "En.$(PLAT).$(CFG).ScheduledTask-2.idtx"
|
||||||
|
copy /y $** $@ > NUL
|
||||||
|
|
||||||
|
"It.$(PLAT).$(CFG).ScheduledTask-2.idt" : "En.$(PLAT).$(CFG).ScheduledTask-2.idtx" "..\locale\it_IT.po"
|
||||||
|
rcxgettext.exe idtp $@ $**
|
||||||
|
|
||||||
|
"Sl.$(PLAT).$(CFG).ScheduledTask-2.idt" : "En.$(PLAT).$(CFG).ScheduledTask-2.idtx" "..\locale\sl_SI.po"
|
||||||
|
rcxgettext.exe idtp $@ $**
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# TaskTrigger
|
||||||
|
|
||||||
|
All :: "$(LANG).$(PLAT).$(CFG).TaskTrigger-1.idt"
|
||||||
|
|
||||||
|
"$(LANG).$(PLAT).$(CFG).TaskTrigger-1.idt" : "Makefile" "..\..\..\MSI\include\MSIBuildCfg.mak"
|
||||||
|
-if exist $@ del /f /q $@
|
||||||
|
move /y << $@ > NUL
|
||||||
|
Trigger BeginDate EndDate StartTime StartTimeRand MinutesDuration MinutesInterval Flags Type DaysInterval WeeksInterval DaysOfTheWeek DaysOfMonth WeekOfMonth MonthsOfYear Task_
|
||||||
|
s$(MSIBUILD_LENGTH_ID) i2 I2 i2 I2 I4 I4 i4 i2 I2 I2 I2 I4 I2 I2 s$(MSIBUILD_LENGTH_ID)
|
||||||
|
TaskTrigger Trigger
|
||||||
|
ttUpdCheck.daily.$(PLAT) 0 0 59 1440 60 0 1 1 stUpdCheck.$(PLAT)
|
||||||
|
<<NOKEEP
|
||||||
|
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Build MSM module!
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
!INCLUDE "..\..\..\MSI\MSIBuild\MSM.mak"
|
@ -1,8 +1,8 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: UpdCheck\n"
|
"Project-Id-Version: UpdCheck\n"
|
||||||
"POT-Creation-Date: 2016-03-15 10:56+0100\n"
|
"POT-Creation-Date: 2016-03-30 11:36+0200\n"
|
||||||
"PO-Revision-Date: 2016-03-15 10:57+0100\n"
|
"PO-Revision-Date: 2016-03-30 11:37+0200\n"
|
||||||
"Last-Translator: Simon Rozman <simon.rozman@amebis.si>\n"
|
"Last-Translator: Simon Rozman <simon.rozman@amebis.si>\n"
|
||||||
"Language-Team: Amebis, d. o. o., Kamnik <info@amebis.si>\n"
|
"Language-Team: Amebis, d. o. o., Kamnik <info@amebis.si>\n"
|
||||||
"Language: sl_SI\n"
|
"Language: sl_SI\n"
|
||||||
@ -17,14 +17,51 @@ msgstr ""
|
|||||||
"X-Poedit-KeywordsList: _\n"
|
"X-Poedit-KeywordsList: _\n"
|
||||||
"X-Poedit-SearchPath-0: .\n"
|
"X-Poedit-SearchPath-0: .\n"
|
||||||
|
|
||||||
#: main.cpp:40
|
#: MSIBuild/En.Win32.Debug.ScheduledTask-2.idtx:4
|
||||||
msgid "Show this help message"
|
#: MSIBuild/En.Win32.Release.ScheduledTask-2.idtx:4
|
||||||
msgstr "Pokaži to sporočilo pomoči"
|
#: MSIBuild/En.x64.Debug.ScheduledTask-2.idtx:4
|
||||||
|
#: MSIBuild/En.x64.Release.ScheduledTask-2.idtx:4
|
||||||
|
msgid "[SimpleProductName] Update"
|
||||||
|
msgstr "Posodabljanje [SimpleProductName]"
|
||||||
|
|
||||||
#: main.cpp:41
|
# Windows charset for this language (decimal)
|
||||||
msgid "input file"
|
#: MSIBuild/En.Win32.Debug.Feature-2.idtx:3
|
||||||
msgstr "vhodna datoteka"
|
#: MSIBuild/En.Win32.Debug.ScheduledTask-2.idtx:3
|
||||||
|
#: MSIBuild/En.Win32.Release.Feature-2.idtx:3
|
||||||
|
#: MSIBuild/En.Win32.Release.ScheduledTask-2.idtx:3
|
||||||
|
#: MSIBuild/En.x64.Debug.Feature-2.idtx:3
|
||||||
|
#: MSIBuild/En.x64.Debug.ScheduledTask-2.idtx:3
|
||||||
|
#: MSIBuild/En.x64.Release.Feature-2.idtx:3
|
||||||
|
#: MSIBuild/En.x64.Release.ScheduledTask-2.idtx:3
|
||||||
|
msgid "1252"
|
||||||
|
msgstr "1250"
|
||||||
|
|
||||||
#: main.cpp:42
|
#: MSIBuild/En.Win32.Debug.Feature-2.idtx:4
|
||||||
msgid "output file"
|
#: MSIBuild/En.Win32.Release.Feature-2.idtx:4
|
||||||
msgstr "izhodna datoteka"
|
#: MSIBuild/En.x64.Debug.Feature-2.idtx:4
|
||||||
|
#: MSIBuild/En.x64.Release.Feature-2.idtx:4
|
||||||
|
msgid "Automatic Updating"
|
||||||
|
msgstr "Samodejno posodabljanje"
|
||||||
|
|
||||||
|
#: MSIBuild/En.Win32.Debug.ScheduledTask-2.idtx:4
|
||||||
|
#: MSIBuild/En.Win32.Release.ScheduledTask-2.idtx:4
|
||||||
|
#: MSIBuild/En.x64.Debug.ScheduledTask-2.idtx:4
|
||||||
|
#: MSIBuild/En.x64.Release.ScheduledTask-2.idtx:4
|
||||||
|
msgid "Regularly checks for program updates, downloads, and installs them"
|
||||||
|
msgstr "Redno preverja za posodobitve programa, prenese in jih namesti"
|
||||||
|
|
||||||
|
#: MSIBuild/En.Win32.Debug.Feature-2.idtx:4
|
||||||
|
#: MSIBuild/En.Win32.Release.Feature-2.idtx:4
|
||||||
|
#: MSIBuild/En.x64.Debug.Feature-2.idtx:4
|
||||||
|
#: MSIBuild/En.x64.Release.Feature-2.idtx:4
|
||||||
|
msgid "Task for background product updating"
|
||||||
|
msgstr "Opravilo za samodejno posodabljanje izdelka"
|
||||||
|
|
||||||
|
#~ msgid "Show this help message"
|
||||||
|
#~ msgstr "Pokaži to sporočilo pomoči"
|
||||||
|
|
||||||
|
#~ msgid "input file"
|
||||||
|
#~ msgstr "vhodna datoteka"
|
||||||
|
|
||||||
|
#~ msgid "output file"
|
||||||
|
#~ msgstr "izhodna datoteka"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user