From b7920fdfb5997893a9e2343f5c92db8b0f47e9c9 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Tue, 21 Nov 2006 17:27:13 +0000 Subject: [PATCH] Fix for silent installs of windows package (/S) --- win32/nsi/mt-daapd.nsi.templ | 2 ++ 1 file changed, 2 insertions(+) diff --git a/win32/nsi/mt-daapd.nsi.templ b/win32/nsi/mt-daapd.nsi.templ index 029ebb23..bf46d2e3 100644 --- a/win32/nsi/mt-daapd.nsi.templ +++ b/win32/nsi/mt-daapd.nsi.templ @@ -298,6 +298,8 @@ Function .onInit ; Must set $INSTDIR here to avoid adding ${PRODUCT_NAME} to the end of the ; path when user selects a new directory using the 'Browse' button. StrCpy $INSTDIR "$PROGRAMFILES\${PRODUCT_NAME}" + StrCpy $2 "$PROGRAMFILES\${PRODUCT_NAME}" + StrCpy $3 "$DOCUMENTS\My Music" FunctionEnd Function LicensePost