From cf3859c733b5e592b37f383cf3b3a0c1376425c2 Mon Sep 17 00:00:00 2001 From: anders_k Date: Fri, 1 Jun 2018 22:08:04 +0000 Subject: [PATCH] Added Publisher ARP value to pass Windows App Certification Kit tests git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6999 212acab6-be3b-0410-9dea-997c60f758d6 --- Examples/makensis.nsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Examples/makensis.nsi b/Examples/makensis.nsi index d4f5b62c..cab366aa 100644 --- a/Examples/makensis.nsi +++ b/Examples/makensis.nsi @@ -833,14 +833,16 @@ Section -post !endif WriteRegExpandStr HKLM "${REG_UNINST_KEY}" "UninstallString" '"$INSTDIR\uninst-nsis.exe"' + ;WriteRegStr HKLM "${REG_UNINST_KEY}" "QuietUninstallString" '"$INSTDIR\uninst-nsis.exe" /S' ; Ideally WACK would use this WriteRegExpandStr HKLM "${REG_UNINST_KEY}" "InstallLocation" "$INSTDIR" WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayName" "Nullsoft Install System${NAMESUFFIX}" WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayIcon" "$INSTDIR\uninst-nsis.exe,0" WriteRegStr HKLM "${REG_UNINST_KEY}" "DisplayVersion" "${VERSION}" !ifdef VER_MAJOR & VER_MINOR & VER_REVISION & VER_BUILD - WriteRegDWORD HKLM "${REG_UNINST_KEY}" "VersionMajor" "${VER_MAJOR}" - WriteRegDWORD HKLM "${REG_UNINST_KEY}" "VersionMinor" "${VER_MINOR}" + WriteRegDWORD HKLM "${REG_UNINST_KEY}" "VersionMajor" "${VER_MAJOR}" ; Required by WACK + WriteRegDWORD HKLM "${REG_UNINST_KEY}" "VersionMinor" "${VER_MINOR}" ; Required by WACK !endif + WriteRegStr HKLM "${REG_UNINST_KEY}" "Publisher" "Nullsoft and Contributors" ; Required by WACK WriteRegStr HKLM "${REG_UNINST_KEY}" "URLInfoAbout" "http://nsis.sourceforge.net/" WriteRegStr HKLM "${REG_UNINST_KEY}" "HelpLink" "http://nsis.sourceforge.net/Support" WriteRegDWORD HKLM "${REG_UNINST_KEY}" "NoModify" "1"