Windows Vista requirement check added

This commit is contained in:
Simon Rozman 2016-05-19 13:17:21 +02:00
parent 4ac895ffa2
commit 7f341f9fd3
2 changed files with 30 additions and 1 deletions

View File

@ -20,6 +20,8 @@
!INCLUDE "..\..\..\include\MSIBuildCfg.mak"
MSIBUILD_IS_LOCALIZEABLE=1
######################################################################
# CustomAction
@ -87,6 +89,33 @@ caSet$(MSIBUILD_PRODUCT_NAME_UC)DIR2 INSTALLDIR AND UILevel < 4 1002
<<NOKEEP
######################################################################
# LaunchCondition
All :: "$(LANG).$(PLAT).$(CFG).LaunchCondition-2.idt"
"En.$(PLAT).$(CFG).LaunchCondition-2.idtx" : "Makefile" "..\..\..\include\MSIBuildCfg.mak"
-if exist $@ del /f /q $@
move /y << $@ > NUL
Condition Description
s255 l255
LaunchCondition Condition
VersionNT >= "600" [ProductName] requires Windows Vista or later version of Windows.
<<NOKEEP
"De.$(PLAT).$(CFG).LaunchCondition-2.idt" : "En.$(PLAT).$(CFG).LaunchCondition-2.idtx" "..\locale\de_DE.po"
rcxgettext.exe idtp $@ $**
"En.$(PLAT).$(CFG).LaunchCondition-2.idt" : "En.$(PLAT).$(CFG).LaunchCondition-2.idtx"
copy /y $** $@ > NUL
"It.$(PLAT).$(CFG).LaunchCondition-2.idt" : "En.$(PLAT).$(CFG).LaunchCondition-2.idtx" "..\locale\it_IT.po"
rcxgettext.exe idtp $@ $**
"Sl.$(PLAT).$(CFG).LaunchCondition-2.idt" : "En.$(PLAT).$(CFG).LaunchCondition-2.idtx" "..\locale\sl_SI.po"
rcxgettext.exe idtp $@ $**
######################################################################
# Media

@ -1 +1 @@
Subproject commit 72bbc4bfe6c6945bd005e3306fcb5f2a4d538d97
Subproject commit b9c9d6e674e171f885a43c4f90d2baf00dc3adc6