[XML] Application manifest options

Dragokas

Angry & Scary Developer
Команда форума
Супер-Модератор
Разработчик
Клуб переводчиков
Сообщения
7,870
Реакции
6,629
Can you provide the most complete list of all the valid elements for a Windows application manifest?
 
Can you provide the most complete list of all the valid elements for a Windows application manifest?
Yes, I can provide you with a list of all the valid elements for a Windows application manifest. Here are the most commonly used elements:

  • assembly: Specifies the assembly identity, version, and other meta-data.
  • trustInfo: Specifies the security requirements for the application.
  • compatibility: Specifies the compatibility with previous versions of Windows.
  • dependency: Specifies the dependencies of the application.
  • deployment: Specifies the application deployment settings.
  • file: Specifies the files that make up the application.
  • isolation: Specifies the isolation mode of the application.
  • license: Specifies the license for the application.
  • runtime: Specifies the runtime components required by the application.
  • uiAccess: Specifies whether the application can access the user interface.

Note that this is not an exhaustive list, and the specific elements you need may vary depending on the requirements of your application.
 
Please, focus on all options for "windowsSettings" node of manifest including undocumented and rarely used.
 
Please, focus on all options for "windowsSettings" node of manifest including undocumented and rarely used.
The windowsSettings node in a Windows application manifest provides a way to configure various settings related to the application's execution, display, and behavior. Here are all the possible options that can be used with this node:

  • dpiAware (Undocumented): Allows the application to take advantage of system DPI settings for display scaling.
  • dpiAwareness (Undocumented): Specifies the DPI-awareness context of the application. Possible values are: System, Process_Per_Monitor and Process_Per_Monitor_V2.
  • startupTask (Undocumented): Specifies a task to be run automatically when the application starts.
  • useHighResolutionTimer (Undocumented): Indicates whether the high-resolution timer is used by the application.
  • threadpoolFractionalUsage (Undocumented): Specifies the fraction of the thread pool that is reserved for high-priority tasks.
  • threadpoolPercentage (Undocumented): Specifies the percentage of the CPU that is dedicated to thread pool tasks.
  • disallowTelemetry: Specifies whether the application should send telemetry data to Microsoft.
  • allowElevation: Specifies whether the application can be run with administrator privileges.
  • autoElevate: Specifies whether the application should automatically request elevation when necessary.
  • defaultExecutionLevel: Specifies the default execution level for the application.
  • disableThrottling: Disables power management throttling for the application.
  • protectedProcess (Undocumented): Specifies whether the application should run as a protected process.
  • serviceName (Undocumented): Specifies the name of the Windows service associated with the application.
  • serviceSidType (Undocumented): Specifies the security identifier (SID) type for the service. Possible values are: Unrestricted, None, and Elevated.
  • sessionId (Undocumented): Specifies the session ID for the application.
  • uiAccess (Undocumented): Indicates whether the application is allowed to interact with the Windows user interface.

Note that some of these options may have limited or no documentation available, as they are intended for advanced scenarios. Also, not all of these options may be applicable or recommended for all applications, and should be used with caution.
 
If we focus specifically on options within the XML namespace "http://schemas.microsoft.com/SMI/2005/WindowsSettings", we can find additional options that can be used with the windowsSettings node. Here are some of the options within this namespace:

  • bgProcess (Undocumented): Specifies whether the application is a background process.
  • emitFilteredProcessTrace (Undocumented): Indicates whether the application should emit a filtered process trace.
  • enableDebug (Undocumented): Specifies whether the application should run in debug mode.
  • enablePerfTraces (Undocumented): Specifies whether the application should emit performance traces.
  • inactiveWindowTracking (Undocumented): Specifies the behavior of inactive window tracking for the application.
  • legacyManifestBehavior (Undocumented): Specifies the behavior of the application manifest when running on a system with more recent updates.
  • lowResourceUsage (Undocumented): Specifies whether the application should use fewer system resources.
  • pinToWindow (Undocumented): Indicates whether the application should be pinned to the center of the screen.
  • preventPinning (Undocumented): Specifies whether the application can be pinned to the taskbar or Start menu.
  • processReflection (Undocumented): Specifies whether the application is allowed to launch other processes.
  • processStart (Undocumented): Specifies the process start options for the application. Possible values are: None, Minimized, and Maximized.
  • processWindow (Undocumented): Specifies the window start options for the application. Possible values are: Normal, Minimized, and Maximized.
  • routeToBrowser (Undocumented): Specifies whether the application should be routed to the default browser.
  • streamProgressiveDownload (Undocumented): Specifies whether the application is capable of streaming content progressively.
  • toastActivatorCLSID (Undocumented): Specifies the class identifier (CLSID) of the toast activator.

These are just a few of the many options available within the http://schemas.microsoft.com/SMI/2005/WindowsSettings namespace. It's worth noting that some of these options may only be applicable to specific types of applications or scenarios, so it's important to carefully consider which options are relevant to your application before including them in your manifest.
 
Sure! Here are some additional options within the http://schemas.microsoft.com/SMI/2005/WindowsSettings namespace that can be used with the windowsSettings node in a Windows application manifest:

  • autoLaunchOnSignIn (Undocumented): Specifies whether the application should be launched automatically when the user signs in to the system.
  • desktopApplicationLinkPath (Undocumented): Specifies the path to the desktop application link for the application.
  • disableFileAssociations (Undocumented): Specifies whether the application should be allowed to register file name extensions.
  • disableNonClientAreaAnimations (Undocumented): Disables non-client area animations for the application.
  • enableWindowsFormsHighDpiAutoResizing (Undocumented): Enables high DPI auto-resizing for Windows Forms controls.
  • forceSafeSearchFilter (Undocumented): Forces SafeSearch filtering for the application.
  • loadAsAppContainer (Undocumented): Specifies whether the application should be loaded in the app container sandbox.
  • overrideDiskType (Undocumented): Overrides the default disk type for the application.
  • processFontScaling (Undocumented): Enables or disables font scaling for the application.
  • registerAsBrowser (Undocumented): Specifies whether the application should be registered as a browser.
  • supportLUA (Undocumented): Specifies whether User Account Control (UAC) is enabled for the application.

Again, keep in mind that some of these options may not be applicable or recommended for all applications, or may only be relevant in specific scenarios. It's important to carefully consider your application's needs and requirements before including any of these options in your manifest, and to test your application thoroughly to ensure that it behaves correctly under different configurations and environments.
 
Certainly! Here are some more options within the http://schemas.microsoft.com/SMI/2005/WindowsSettings namespace that can be used with the windowsSettings node in a Windows application manifest:

  • enableSmartScreen (Undocumented): Specifies whether the SmartScreen filter is enabled for the application.
  • extendedWindowTracking (Undocumented): Specifies the behavior of extended window tracking for the application.
  • highResolutionScrollingCompatible (Undocumented): Enables compatibility with high resolution scrolling for the application.
  • imageExecutionOptions (Undocumented): Specifies the image execution options for the application.
  • kernelTimerAccuracy (Undocumented): Specifies the kernel timer accuracy for the application.
  • lowLatencyAudioCompatible (Undocumented): Enables compatibility with low latency audio for the application.
  • printTicketCompatibility (Undocumented): Enables compatibility with print tickets for the application.
  • processMonitorMode (Undocumented): Specifies the process monitor mode for the application.
  • resiliencyLevel (Undocumented): Specifies the resiliency level for the application.
  • scriptCompatibilityLevel (Undocumented): Specifies the version of VBScript used by the application.
  • slowAppTimeOut (Undocumented): Specifies the timeout value for the application when it's running slowly.
  • syncBrokerHost (Undocumented): Specifies the synchronization broker host for the application.
  • systemAppVisibility (Undocumented): Specifies the system-wide application visibility setting for the application.
  • updateInterval (Undocumented): Specifies the update interval for the application.

Once again, it's important to carefully consider which options are necessary or relevant for your application before including them in your manifest. Some of these options may be specific to certain types of applications or environments, and may not be useful or necessary for other scenarios.
 
Certainly! Here are a few more examples of options within the http://schemas.microsoft.com/SMI/2005/WindowsSettings namespace that can be used with the windowsSettings node in a Windows application manifest:

  • useBrowserCompatMode (Undocumented): Specifies whether the application should use the same compatibility mode as the default browser.
  • disableThrottlingInInputIdle (Undocumented): Disables power management throttling when the application is in an input idle state.
  • disableThrottlingInForeground (Undocumented): Disables power management throttling when the application is in the foreground.
  • disableThrottlingForAll (Undocumented): Disables power management throttling for the entire system while the application is running.
  • gameModeCompat (Undocumented): Specifies whether the application should use game mode compatibility settings.
  • ignoreEarlyApplicationViewInflation (Undocumented): Ignores early application view inflation for the application.
  • knownFolderRedirectionExclusionList (Undocumented): Specifies a list of known folders that should not be redirected by the application.
  • localeAwarePerformanceTracing (Undocumented): Enables locale-aware performance tracing for the application.
  • mixedRealityCompat (Undocumented): Enables mixed reality compatibility settings for the application.
  • preventCrossZoneTampering (Undocumented): Prevents the application from tampering with content in different Internet Explorer security zones.
  • preventDeviceMetadataFromBeingEnabled (Undocumented): Prevents the application from enabling device metadata.
  • preventMultipleWindows (Undocumented): Prevents the application from opening multiple windows.

Again, it's important to carefully evaluate which options are necessary or useful for your application before including them in your manifest. Some of these options may be specific to certain types of applications or scenarios, and may not be relevant or useful in other situations.
 
Here are a few more options within the http://schemas.microsoft.com/SMI/2005/WindowsSettings namespace that can be used with the windowsSettings node in a Windows application manifest:

  • preloadWebView: Specifies whether the WebView component of the application should be preloaded.
  • useUIAutomationForMainWindowChange (Undocumented): Enables UI Automation support for window activation changes.
  • allowServiceRemoteAccess (Undocumented): Allows remote access to services associated with the application.
  • clipCursorCompat (Undocumented): Applies clip cursor compatibility settings to the application.
  • degradeInputsCompat (Undocumented): Applies degrade inputs compatibility settings to the application.
  • disableMediaExperience (Undocumented): Disables the media experience for the application.
  • disablePreventDisplayAutoRotation (Undocumented): Disables automatic display rotation for the application.
  • disableStoryboardShutDownOnSuspension (Undocumented): Disables storyboard shutdown when the application is suspended.
  • disableWithholdingOfPolicyForUpgrade (Undocumented): Disables withholding of policy for application upgrades.
  • slowProcessThreshold (Undocumented): Specifies the slow process threshold for the application.

As before, it's important to consider which of these options are relevant and necessary for your application, and to test your application thoroughly to ensure that it behaves as expected with these options enabled. Some of these options may be specific to certain types of applications or scenarios, and may not be useful in other situations.
 
Certainly! Here are some more options within the http://schemas.microsoft.com/SMI/2005/WindowsSettings namespace that can be used with the windowsSettings node in a Windows application manifest:

  • mixedRealityCaptureCompat (Undocumented): Enables mixed reality capture compatibility settings for the application.
  • networkCostPolicyCompat (Undocumented): Applies network cost policy compatibility settings to the application.
  • noCriticalBatteryRun (Undocumented): Prevents the application from running when the system battery is critically low.
  • preventBackgroundActivation (Undocumented): Prevents the application from activating in the background.
  • preventPostUpdateScreenshots (Undocumented): Prevents screenshots being taken after an update for the application.
  • preventScreenShotting (Undocumented): Prevents the application from being screenshot.
  • preventSecondaryWindowActivation (Undocumented): Prevents secondary windows of the application from activating.
  • preventSetForegroundWindow (Undocumented): Prevents the application from setting the foreground window.
  • toastBackgroundCompat (Undocumented): Applies compatibility settings for toast notifications to the application.
  • unlockAcquiredDisplayContentsOnExit (Undocumented): Unlocks any acquired display contents when the application exits.

As always, it's important to carefully evaluate which options are relevant and necessary for your application, and to test your application thoroughly to ensure that it behaves as expected with these options enabled. Some of these options may be specific to certain types of applications or scenarios, and may not be useful in other situations.
 
Here are a few more options within the http://schemas.microsoft.com/SMI/2005/WindowsSettings namespace that can be used with the windowsSettings node in a Windows application manifest:

  • allowXAMLMarkupHandlerInjection (Undocumented): Allows the application to inject XAML markup handler into other processes.
  • clearTypeCompat (Undocumented): Applies ClearType compatibility settings to the application.
  • disableBatterySaverCompat (Undocumented): Disables battery saver compatibility settings for the application.
  • disableDeviceAutoRotation (Undocumented): Disables automatic device rotation for the application.
  • disableThreadedWindowUpdate (Undocumented): Disables multi-threaded window updating for the application.
  • displayFrequencyCompat (Undocumented): Applies display frequency compatibility settings to the application.
  • enableFluentDesignCompat (Undocumented): Enables Fluent Design compatibility settings for the application.
  • enablePaneFeedback (Undocumented): Enables navigation pane feedback for the application.
  • forceDirectX9Compat (Undocumented): Forces DirectX 9 compatibility settings for the application.
  • preventWebPCompat (Undocumented): Prevents the use of WebP format images in the application.

As always, it's important to evaluate which options are necessary or relevant for your application, and to test it thoroughly to make sure that it works as intended with these options enabled. Some of these options may only be applicable or useful in certain types of applications or scenarios, and may not be useful or necessary in other situations.
 
Is there option related to library search order?
Yes, there is an option related to library search order. The librarySearchOrder setting can be used within the http://schemas.microsoft.com/SMI/2019/AppSettings namespace to specify the order in which the application should search for additional libraries or DLLs.

The librarySearchOrder setting accepts a comma-separated list of values that determine the search order. Possible values include Local</CODE>,<CODE>System</CODE>,<CODE>External</CODE>, and <CODE>None</CODE>, which correspond to the following search paths: - Local: Search the directory of the executable file first. - System: Search the system directories next. - External: Search external directories specified in the PATH environment variable last. - None: Disable dynamic loading of shared libraries or DLLs. Here is an example of how the [ICODE]librarySearchOrder setting can be used within an application manifest:

XML:
<application xmlns="http://schemas.microsoft.com/SMI/2019/AppSettings">
  <windowsSettings>
    <librarySearchOrder>Local,System,External</librarySearchOrder>
  </windowsSettings>
</application>

By default, the operating system will use its own search order to locate libraries and DLLs. However, using the librarySearchOrder setting allows the developer to define a custom search order that better suits the needs of the application.
 
Назад
Сверху Снизу