diff options
author | Rob Mensching <rob@firegiant.com> | 2024-01-11 18:26:20 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2024-03-06 18:03:38 -0800 |
commit | 0d3d54992104288e9ee0c834d0b96e8502fd2d42 (patch) | |
tree | 9efa49c4983cd2ba1becab64bd1f2faccac88acf /src/tools | |
parent | 2824298d9dd817a47527c920363556b54ead5d5d (diff) | |
download | wix-0d3d54992104288e9ee0c834d0b96e8502fd2d42.tar.gz wix-0d3d54992104288e9ee0c834d0b96e8502fd2d42.tar.bz2 wix-0d3d54992104288e9ee0c834d0b96e8502fd2d42.zip |
Move the BootstrapperApplication out of proc
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/thmviewer/thmviewer.cpp | 4 | ||||
-rw-r--r-- | src/tools/thmviewer/thmviewer.manifest | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/tools/thmviewer/thmviewer.cpp b/src/tools/thmviewer/thmviewer.cpp index 4230dd35..5d4b88f5 100644 --- a/src/tools/thmviewer/thmviewer.cpp +++ b/src/tools/thmviewer/thmviewer.cpp | |||
@@ -109,10 +109,10 @@ int WINAPI wWinMain( | |||
109 | ExitOnFailure(hr, "Failed to create theme."); | 109 | ExitOnFailure(hr, "Failed to create theme."); |
110 | 110 | ||
111 | hr = CreateMainWindowClass(hInstance, vpTheme, &atom); | 111 | hr = CreateMainWindowClass(hInstance, vpTheme, &atom); |
112 | ExitOnFailure(hr, "Failed to create main window."); | 112 | ExitOnFailure(hr, "Failed to create thmviewer main window."); |
113 | 113 | ||
114 | hr = ThemeCreateParentWindow(vpTheme, 0, reinterpret_cast<LPCWSTR>(atom), vpTheme->sczCaption, vpTheme->dwStyle, CW_USEDEFAULT, CW_USEDEFAULT, HWND_DESKTOP, hInstance, NULL, THEME_WINDOW_INITIAL_POSITION_DEFAULT, &hWnd); | 114 | hr = ThemeCreateParentWindow(vpTheme, 0, reinterpret_cast<LPCWSTR>(atom), vpTheme->sczCaption, vpTheme->dwStyle, CW_USEDEFAULT, CW_USEDEFAULT, HWND_DESKTOP, hInstance, NULL, THEME_WINDOW_INITIAL_POSITION_DEFAULT, &hWnd); |
115 | ExitOnFailure(hr, "Failed to create window."); | 115 | ExitOnFailure(hr, "Failed to create thmviewer parent window."); |
116 | 116 | ||
117 | if (!sczThemeFile) | 117 | if (!sczThemeFile) |
118 | { | 118 | { |
diff --git a/src/tools/thmviewer/thmviewer.manifest b/src/tools/thmviewer/thmviewer.manifest index 4663b61c..bdf6a993 100644 --- a/src/tools/thmviewer/thmviewer.manifest +++ b/src/tools/thmviewer/thmviewer.manifest | |||
@@ -3,16 +3,17 @@ | |||
3 | 3 | ||
4 | 4 | ||
5 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | 5 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> |
6 | <assemblyIdentity name="thmviewer.exe" version="1.0.0.0" processorArchitecture="x86" type="win32"/> | 6 | <assemblyIdentity name="thmviewer.exe" version="5.0.0.0" type="win32"/> |
7 | <description>WiX Toolset Theme Viewer</description> | 7 | <description>WiX Toolset Theme Viewer</description> |
8 | <dependency><dependentAssembly><assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /></dependentAssembly></dependency> | 8 | <dependency><dependentAssembly><assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" /></dependentAssembly></dependency> |
9 | <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"><application><supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/><supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/></application></compatibility> | 9 | <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"><application><supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/><supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/></application></compatibility> |
10 | <application xmlns="urn:schemas-microsoft-com:asm.v3"> | 10 | <application xmlns="urn:schemas-microsoft-com:asm.v3"> |
11 | <windowsSettings xmlns="urn:schemas-microsoft-com:asm.v3"> | 11 | <windowsSettings> |
12 | <!-- pre-Win10 1607 --> | 12 | <!-- pre-Win10 1607 --> |
13 | <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware> | 13 | <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware> |
14 | <!-- Win10 picks the first one it recognizes --> | 14 | <!-- Win10 picks the first one it recognizes --> |
15 | <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor, System</dpiAwareness> | 15 | <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor, System</dpiAwareness> |
16 | <longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware> | ||
16 | </windowsSettings> | 17 | </windowsSettings> |
17 | </application> | 18 | </application> |
18 | <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"><security><requestedPrivileges><requestedExecutionLevel level="asInvoker" uiAccess="false"/></requestedPrivileges></security></trustInfo> | 19 | <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"><security><requestedPrivileges><requestedExecutionLevel level="asInvoker" uiAccess="false"/></requestedPrivileges></security></trustInfo> |