From d2eb8c725d1673e68f5cd740480cf09229509075 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Wed, 8 Jan 2003 15:24:31 +0000 Subject: [PATCH] extract_as macro git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2043 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/Readme.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Contrib/Modern UI/Readme.html b/Contrib/Modern UI/Readme.html index 5d347489..736b2471 100644 --- a/Contrib/Modern UI/Readme.html +++ b/Contrib/Modern UI/Readme.html @@ -336,6 +336,15 @@ Function .onInit !insertmacro MUI_INSTALLOPTIONS_EXTRACT "ioFile.ini" FunctionEnd +

If your INI File is located in another directory, use +MUI_INSTALLOPTIONS_EXTRACT_AS. The second parameter is the filename for +the Plugins directory. Use this name when inserting the other InstallOptions +macro's:

+
+Function .onInit
+  !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "..\ioFile.ini" "ioFile.ini"
+FunctionEnd
+

You can call Install Options in the function defined with the Page or UninstPage command: