Index: /trunk/src/VBox/Installer/common/Makefile.kmk
===================================================================
--- /trunk/src/VBox/Installer/common/Makefile.kmk	(revision 65049)
+++ /trunk/src/VBox/Installer/common/Makefile.kmk	(revision 65050)
@@ -35,4 +35,6 @@
 endif # VBOX_WITH_PYTHON
 
+ifdef VBOX_WITH_UNATTENDED
+
 INSTALLS += VBox-unattended-templates
 
@@ -48,4 +50,6 @@
 	$(VBOX_PATH_INST_COMMON_SRC)/unattended_templates/win_nt6_unattended.xml
 
+endif # VBOX_WITH_UNATTENDED
+
 include $(FILE_KBUILD_SUB_FOOTER)
 
