PowerToys/installer/PowerToysSetup
Jaime Bernardo fb5ed13386
[Refactor]Port C++/CX to C++/WinRT (#34198)
## Summary of the Pull Request
Removes all C++/CX code, replacing it with C++/WinRT.

## Detailed Description of the Pull Request / Additional comments
Removes all C++/CX code.
Renames interop namespaces to be better consumed by CsWinRT.
Standardizes all projects on net8.0-windows10.0.20348.0, which is a
requirement for C++/WinRT usage.
FileLocksmithLibInterop brought to stdcpplatest and static analysis
errors were corrected.
Removed now unneeded string conversion code from
FileLocksmithLibInterop.
Changed interop KeyboardHook to use a single hook across all instances.
Required because on C++/WinRT we don't have the .NET runtime to bind a
object instance to a delegate and be able to pass it to a C function
pointer argument (still no idea why this worked correctly on C++/CX to
be honest). This change actually makes us create less low level keyboard
hooks.
Changed some code that depended on arrays since WinRT/C++ returns null
instead of an empty array through the interface.

## Validation Steps Performed
Built and tested runtime.
2024-08-08 15:26:43 +01:00
..
CustomDialogs
Images
WebView2
AdvancedPaste.wxs [NewUtility]Advanced Paste (#23) 2024-05-17 23:43:59 +01:00
Awake.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
BaseApplications.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
ColorPicker.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
Common.wxi [NewUtility]Advanced Paste (#23) 2024-05-17 23:43:59 +01:00
Core.wxs Moving Version to Directory.Build.props (#34055) 2024-08-05 06:32:05 -07:00
EnvironmentVariables.wxs 🚧 [new module] Environment variables editor (#28722) 2023-10-20 16:28:07 +02:00
FileExplorerPreview.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
FileLocksmith.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
generateAllFileComponents.ps1 [NewUtility]Advanced Paste (#23) 2024-05-17 23:43:59 +01:00
generateFileComponents.ps1
generateFileList.ps1 [Monaco]Improve .gitignore definition (#33263) 2024-06-14 16:09:52 +01:00
generateMonacoWxs.ps1 [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
Hosts.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
ImageResizer.wxs [ImageResizer]Fix wrong .bmp registry key in installer (#29396) 2023-10-24 21:24:02 +01:00
KeyboardManager.wxs [Refactor]Port C++/CX to C++/WinRT (#34198) 2024-08-08 15:26:43 +01:00
MouseWithoutBorders.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
packages.config
Peek.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
PowerRename.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
PowerToys.wxs [Installer]Show proper messages on PT uninstaller (#32028) 2024-03-22 15:58:54 +00:00
PowerToysBootstrapper.wixproj Moving Version to Directory.Build.props (#34055) 2024-08-05 06:32:05 -07:00
PowerToysInstaller.wixproj Moving Version to Directory.Build.props (#34055) 2024-08-05 06:32:05 -07:00
Product.wxs [Installer]Use custom action to copy DSC files on user install (#32799) 2024-05-31 09:47:31 +01:00
publish.cmd 🚧 [Dev][Build] .NET 8 Upgrade (#28655) 2023-11-22 12:46:59 -05:00
RegistryPreview.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
Resources.wxs [Installer]Add Arabic, Farsi/Persian, Hebrew and Ukrainian (#31137) 2024-01-26 16:20:41 +00:00
Run.wxs [PTRun][VSCodeWorkspaces]Tweak plugin installation directory name (#31849) 2024-03-15 15:04:42 +00:00
Settings.wxs [CommandNotFound]Upgrade to use PSGallery release and support arm64 (#32766) 2024-05-16 13:45:06 +01:00
ShortcutGuide.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
terminate_powertoys.cmd
Tools.wxs [BugReport]Fix hang when bug report is launched (#28506) 2023-09-15 07:34:17 +01:00
VideoConference.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00
WinAppSDK.wxs [Deps]Upgrade WinAppSDK to 1.5.1 (#31656) 2024-03-14 14:08:46 +00:00
WinUI3Applications.wxs [General]Reduce installer size by flattening application paths (#27451) 2023-07-20 00:12:46 +01:00