]> git.lyx.org Git - features.git/commitdiff
Disable the option to run LyX from the finish page for now. This would run LyX using...
authorJoost Verburg <joostverburg@users.sourceforge.net>
Tue, 26 Apr 2011 21:33:32 +0000 (21:33 +0000)
committerJoost Verburg <joostverburg@users.sourceforge.net>
Tue, 26 Apr 2011 21:33:32 +0000 (21:33 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38528 a592a061-630c-0410-9148-cb99ea01b6c8

development/Win32/packaging/installer/include/gui.nsh

index 74f9be305b1e3c8b91c4ebc4b930e0841acba616..5e8bee874bbf7d01613cd29f79aa80b592560585 100644 (file)
@@ -41,7 +41,12 @@ Page custom PageExternalLaTeX PageExternalLaTeXValidate
 !insertmacro MUI_PAGE_DIRECTORY
 !insertmacro MUI_PAGE_INSTFILES
 
-!define MUI_FINISHPAGE_RUN "$INSTDIR\${APP_RUN}"
+# The option to run LyX from the finish page is currently disabled because
+# it may run with Administrator priviledges, therefore causing a different
+# user directory to be used. This could be fixed by creating a separate
+# process without UAC elevation.
+# !define MUI_FINISHPAGE_RUN "$INSTDIR\${APP_RUN}"
+
 !define MUI_FINISHPAGE_SHOWREADME
 !define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
 !define MUI_FINISHPAGE_SHOWREADME_FUNCTION CreateDesktopShortcut