This reverts commit f8f20f3667d0c5d2844f2a926146ab1714d2d1ed. Due to Active Setup StubPath bug in already deployed MSI packages we can fix automatically using minor update only, we cannot change the component GUIDs just yet. Signed-off-by: Simon Rozman <simon@rozman.si>
73 lines
2.5 KiB
Makefile
73 lines
2.5 KiB
Makefile
#
|
|
# Copyright 1991-2020 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 "..\..\..\include\MSIBuildCfg.mak"
|
|
|
|
!IFNDEF MSIBUILD_LANGID
|
|
!ERROR Parameter MSIBUILD_LANGID is undefined.
|
|
!ENDIF
|
|
|
|
!IFNDEF MSIBUILD_LANG_GUID
|
|
!ERROR Parameter MSIBUILD_LANG_GUID is undefined.
|
|
!ENDIF
|
|
|
|
|
|
######################################################################
|
|
# Component
|
|
|
|
All :: "$(LANG).$(PLAT).$(CFG).Component-1.idt"
|
|
|
|
"$(LANG).$(PLAT).$(CFG).Component-1.idt" : "Makefile" "..\..\..\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 "$(LANG)" == "ru_RU"
|
|
complibZRColaUI.mo.ru_RU {2099A205-5D5E-4AD9-BD31-EECC87FEAB47} ZRCOLALOC$(MSIBUILD_LANG_GUID)DIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filelibZRColaUI.mo.ru_RU
|
|
!ENDIF
|
|
!IF "$(LANG)" == "sl_SI"
|
|
complibZRColaUI.mo.sl_SI {EAE1C699-8415-4FC6-9EC7-FE74AFC432A9} ZRCOLALOC$(MSIBUILD_LANG_GUID)DIR $(MSIBUILD_COMPONENT_ATTRIB_FILE) filelibZRColaUI.mo.sl_SI
|
|
!ENDIF
|
|
<<NOKEEP
|
|
|
|
|
|
######################################################################
|
|
# File
|
|
|
|
All :: "$(LANG).$(PLAT).$(CFG).File-1.idt"
|
|
|
|
"$(LANG).$(PLAT).$(CFG).File-1.idt" : "Makefile" "..\..\..\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
|
|
!IF "$(LANG)" != "en_US"
|
|
filelibZRColaUI.mo.$(LANG) complibZRColaUI.mo.$(LANG) LIBZRC~1.MO|libZRColaUI.mo 0 $(MSIBUILD_LANGID) 0 1
|
|
!ENDIF
|
|
<<NOKEEP
|
|
|
|
|
|
######################################################################
|
|
# Build MSM module!
|
|
######################################################################
|
|
|
|
!INCLUDE "..\..\..\MSI\MSIBuild\MSM.mak"
|