Update Pre-Flight Check tools

This commit is contained in:
Homes32
2023-12-31 18:44:56 -06:00
parent 0686f6597c
commit ebc234a9d8
4 changed files with 25 additions and 24 deletions

View File

@@ -6,7 +6,7 @@
// Additional 3rd party tools, encoded files, and programs used by the project are the property
// of their respective authors and may be subject to their own license agreement.
//
// Copyright (c) 2014-2023 Jonathan Holmgren (Homes32)
// Copyright (c) 2014-2024 Jonathan Holmgren (Homes32)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
@@ -223,9 +223,9 @@ If,%UserProfilePicExt%,Equal,".accountpicture-ms",Begin
StrFormat,Replace,%UserProfilePicFileName%,".accountpicture-ms","",%UserProfilePicFileNameNoExt%
ConvertImage,"%ProjectTemp%\%UserProfilePicFileNameNoExt%-448.jpg","%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-448.png"
ConvertImage,"%ProjectTemp%\%UserProfilePicFileNameNoExt%-96.jpg","%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-96.png"
ConvertImage,"%ProjectTemp%\%UserProfilePicFileNameNoExt%-448.jpg","%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-40.png",40x40
ConvertImage,"%ProjectTemp%\%UserProfilePicFileNameNoExt%-448.jpg","%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-48.png",48x48
ConvertImage,"%ProjectTemp%\%UserProfilePicFileNameNoExt%-448.jpg","%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-192.png",192x192
ConvertImage,"%ProjectTemp%\%UserProfilePicFileNameNoExt%-448.jpg","%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-40.png","40x40"
ConvertImage,"%ProjectTemp%\%UserProfilePicFileNameNoExt%-448.jpg","%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-48.png","48x48"
ConvertImage,"%ProjectTemp%\%UserProfilePicFileNameNoExt%-448.jpg","%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-192.png","192x192"
// Register .accountpicture-ms
RegCopy,HKLM,"Tmp_Install_Software\Classes\.accountpicture-ms",HKLM,"Tmp_Software\Classes\.accountpicture-ms"
RegCopy,HKLM,"Tmp_Install_Software\Classes\accountpicturefile",HKLM,"Tmp_Software\Classes\accountpicturefile"
@@ -235,13 +235,13 @@ If,%UserProfilePicExt%,Equal,".accountpicture-ms",Begin
End
Else,Begin
// Used by Open-Shell, etc.
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user.bmp",448x448
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user.png",448x448
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-32.png",32x32
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-40.png",40x40
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-48.png",48x48
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-48.png",96x96
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-192.png",192x192
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user.bmp","448x448"
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user.png","448x448"
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-32.png","32x32"
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-40.png","40x40"
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-48.png","48x48"
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-48.png","96x96"
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-192.png","192x192"
End
[#SetDefaultOptions#]