From 904540f41dd3f8f2cf37e488026319380175019c Mon Sep 17 00:00:00 2001 From: Robert Strong Date: Thu, 15 Nov 2012 10:35:05 -0800 Subject: [PATCH] Windows only - Bug 799902 - need pretty branding for stub installer (file naming). r=glandium, a=bbajaj --- browser/locales/Makefile.in | 6 +++--- toolkit/mozapps/installer/package-name.mk | 2 ++ toolkit/mozapps/installer/packager.mk | 2 +- toolkit/mozapps/installer/windows/nsis/makensis.mk | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/browser/locales/Makefile.in b/browser/locales/Makefile.in index e30e80faf776..4d65a725f136 100644 --- a/browser/locales/Makefile.in +++ b/browser/locales/Makefile.in @@ -68,9 +68,9 @@ UNINSTALLER_PACKAGE_HOOK = $(RM) -r $(STAGEDIST)/uninstall; \ $(RM) $(_ABS_DIST)/l10n-stage/setup.exe; \ cp ../installer/windows/l10ngen/setup.exe $(_ABS_DIST)/l10n-stage; \ $(NSINSTALL) -D "$(_ABS_DIST)/$(PKG_INST_PATH)"; \ - $(RM) "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME)-stub.exe"; \ - cp ../installer/windows/l10ngen/stub.exe "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME)-stub.exe"; \ - chmod 0755 "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME)-stub.exe"; \ + $(RM) "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe"; \ + cp ../installer/windows/l10ngen/stub.exe "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe"; \ + chmod 0755 "$(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe"; \ $(NULL) endif diff --git a/toolkit/mozapps/installer/package-name.mk b/toolkit/mozapps/installer/package-name.mk index 7fd299f5b65e..7cb071dbdda5 100644 --- a/toolkit/mozapps/installer/package-name.mk +++ b/toolkit/mozapps/installer/package-name.mk @@ -60,6 +60,7 @@ endif PKG_BASENAME = $(MOZ_PKG_APPNAME)-$(MOZ_PKG_VERSION).$(AB_CD).$(MOZ_PKG_PLATFORM) PKG_PATH = PKG_INST_BASENAME = $(PKG_BASENAME).installer +PKG_STUB_BASENAME = $(PKG_BASENAME).installer-stub PKG_INST_PATH = install/sea/ PKG_UPDATE_BASENAME = $(PKG_BASENAME) CHECKSUMS_FILE_BASENAME = $(PKG_BASENAME) @@ -94,6 +95,7 @@ else ifeq (,$(filter-out WINNT, $(OS_ARCH))) # Windows PKG_BASENAME = $(MOZ_PKG_APPNAME_LC)-$(MOZ_PKG_VERSION) PKG_INST_BASENAME = $(MOZ_PKG_APPNAME) Setup $(MOZ_PKG_LONGVERSION) +PKG_STUB_BASENAME = $(MOZ_PKG_APPNAME) Setup Stub $(MOZ_PKG_LONGVERSION) else # unix (actually, not Windows, Mac or OS/2) PKG_BASENAME = $(MOZ_PKG_APPNAME_LC)-$(MOZ_PKG_VERSION) PKG_INST_BASENAME = $(MOZ_PKG_APPNAME_LC)-setup-$(MOZ_PKG_VERSION) diff --git a/toolkit/mozapps/installer/packager.mk b/toolkit/mozapps/installer/packager.mk index 6da907a07ef3..c146cfa2a15c 100644 --- a/toolkit/mozapps/installer/packager.mk +++ b/toolkit/mozapps/installer/packager.mk @@ -993,7 +993,7 @@ UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PACKAGE).asc) endif ifdef MOZ_STUB_INSTALLER -UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME)-stub.exe) +UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe) endif checksum: diff --git a/toolkit/mozapps/installer/windows/nsis/makensis.mk b/toolkit/mozapps/installer/windows/nsis/makensis.mk index 072361f6e77c..f4d7232cc4c0 100644 --- a/toolkit/mozapps/installer/windows/nsis/makensis.mk +++ b/toolkit/mozapps/installer/windows/nsis/makensis.mk @@ -69,8 +69,8 @@ installer:: cat $(CONFIG_DIR)/7zSD.sfx $(CONFIG_DIR)/app.tag $(CONFIG_DIR)/app.7z > "$(DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME).exe" chmod 0755 "$(DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME).exe" ifdef MOZ_STUB_INSTALLER - cp $(CONFIG_DIR)/stub.exe "$(DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME)-stub.exe" - chmod 0755 "$(DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME)-stub.exe" + cp $(CONFIG_DIR)/stub.exe "$(DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe" + chmod 0755 "$(DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe" endif ifdef MOZ_EXTERNAL_SIGNING_FORMAT $(MOZ_SIGN_CMD) $(foreach f,$(MOZ_EXTERNAL_SIGNING_FORMAT),-f $(f)) "$(DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME).exe"