Add ManifestSupportedOS attribute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6265 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b0c40ee3b5
commit
da2fe44184
10 changed files with 139 additions and 15 deletions
|
@ -280,6 +280,14 @@ The default string will be used if a string is empty ("").
|
|||
|
||||
Accepts variables. If variables are used, they must be initialized before the license page is created.
|
||||
|
||||
\S2{amanifestsupportedos} ManifestSupportedOS
|
||||
|
||||
\c none|all|WinVista|\\<b\\>Win7|Win8\\</b\\>|{GUID} [...]
|
||||
|
||||
Declare that the installer is compatible with the specified Windows version(s). This adds a SupportedOS entry in the compatibility section of the application manifest. The default list of Win7+Win8 will probably be updated to include newer Windows versions in the future. \e{none} is the default if \R{arequestexecutionlevel}{RequestExecutionLevel} is set to \e{none} for compatibility reasons.
|
||||
|
||||
You can read more about the changes in behavior on \W{http://msdn.microsoft.com/en-us/library/windows/desktop/hh848036}{MSDN}.
|
||||
|
||||
\S2{amiscbuttontext} MiscButtonText
|
||||
|
||||
\c [back button text [next button text] [cancel button text] [close button text]]
|
||||
|
@ -306,15 +314,15 @@ Accepts variables. If variables are used, they must be initialized in \R{oninit}
|
|||
|
||||
Specifies the output file that the MakeNSIS should write the installer to. This is just the file that MakeNSIS writes, it doesn't affect the contents of the installer.
|
||||
|
||||
\S2{requestexecutionlevel} RequestExecutionLevel
|
||||
\S2{arequestexecutionlevel} RequestExecutionLevel
|
||||
|
||||
\c \\<b\\>none\\</b\\>|user|highest|admin
|
||||
|
||||
Specifies the requested execution level for Windows Vista and Windows 7. The value is embedded in the installer and uninstaller's XML manifest and tells Vista/7, and probably future versions of Windows, what privileges level the installer requires. \e{user} requests the a normal user's level with no administrative privileges. \e{highest} will request the highest execution level available for the current user and will cause Windows to prompt the user to verify privilege escalation. The prompt might request for the user's password. \e{admin} requests administrator level and will cause Windows to prompt the user as well. Specifying \e{none}, which is also the default, will keep the manifest empty and let Windows decide which execution level is required. Windows Vista/7 automatically identifies NSIS installers and decides administrator privileges are required. Because of this, \e{none} and \e{admin} have virtually the same effect.
|
||||
Specifies the requested execution level for Windows Vista and higher. The value is embedded in the installer and uninstaller's XML manifest and tells Windows which privilege level the installer requires. \e{user} requests the a normal user's level with no administrative privileges. \e{highest} will request the highest execution level available for the current user and will cause Windows to prompt the user to verify privilege escalation. The prompt might request for the user's password. \e{admin} requests administrator level and will cause Windows to prompt the user as well. Specifying \e{none}, which is also the default, will keep the manifest empty and let Windows decide which execution level is required. Windows automatically identifies NSIS installers and decides administrator privileges are required. Because of this, \e{none} and \e{admin} have virtually the same effect.
|
||||
|
||||
It's recommended, at least by Microsoft, that every application will be marked with the required execution level. Unmarked installers are subject to compatibility mode. Workarounds of this mode include automatically moving any shortcuts created in the user's start menu to all users' start menu. Installers that need not install anything into system folders or write to the local machine registry (HKLM) should specify \e{user} execution level.
|
||||
It's recommended, at least by Microsoft, that every application is marked with a required execution level. Unmarked installers are subject to compatibility mode. Workarounds of this mode include automatically moving any shortcuts created in the user's start menu to all users' start menu. Installers that need not install anything into system folders or write to the local machine registry (HKLM) should specify \e{user} execution level.
|
||||
|
||||
More information about this topic can be found at MSDN. Keywords include "UAC", "requested execution level", "vista manifest" and "vista security".
|
||||
More information about this topic can be found on \W{http://msdn.microsoft.com/en-us/library/bb756929}{MSDN}.
|
||||
|
||||
\S2{asetfont} SetFont
|
||||
|
||||
|
|
|
@ -34,13 +34,13 @@ Released on June 6th, 2009
|
|||
|
||||
\S1{v2.45-rl} Release Notes
|
||||
|
||||
\b Support for Microsoft's upcoming release of Windows 7 has been added based on RC1 testing and documentation. Please report any related issues and don't forget to use \R{requestexecutionlevel}{RequestExecutionLevel}.
|
||||
\b Support for Microsoft's upcoming release of Windows 7 has been added based on RC1 testing and documentation. Please report any related issues and don't forget to use \R{arequestexecutionlevel}{RequestExecutionLevel}.
|
||||
|
||||
\S1{v2.45-cl} Changelog
|
||||
|
||||
\S2{} Major Changes
|
||||
|
||||
\b Added support for Windows 7 installers - use \R{requestexecutionlevel}{RequestExecutionLevel}, just like with Vista (\W{http://sourceforge.net/support/tracker.php?aid=2725883}{bug #2725883})
|
||||
\b Added support for Windows 7 installers - use \R{arequestexecutionlevel}{RequestExecutionLevel}, just like with Vista (\W{http://sourceforge.net/support/tracker.php?aid=2725883}{bug #2725883})
|
||||
|
||||
\b Added WinVer.nsh Windows 7 and Windows 2008 R2 support
|
||||
|
||||
|
@ -1108,7 +1108,7 @@ Released on November 27th, 2006
|
|||
|
||||
\S2{} New/Changed Commands
|
||||
|
||||
\b Added `highest` option for \R{requestexecutionlevel}{RequestExecutionLevel}
|
||||
\b Added `highest` option for \R{arequestexecutionlevel}{RequestExecutionLevel}
|
||||
|
||||
\S2{} Translations
|
||||
|
||||
|
@ -1152,7 +1152,7 @@ Released on October 20th, 2006
|
|||
|
||||
\S2{} New/Changed Commands
|
||||
|
||||
\b Added \R{requestexecutionlevel}{RequestExecutionLevel} (\W{http://sourceforge.net/support/tracker.php?aid=1524709}{RFE #1524709})
|
||||
\b Added \R{arequestexecutionlevel}{RequestExecutionLevel} (\W{http://sourceforge.net/support/tracker.php?aid=1524709}{RFE #1524709})
|
||||
|
||||
\S2{} Translations
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue