mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-16 18:18:04 +02:00
Update Pre-Flight Check tools
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
// Additional 3rd party tools, encoded files, and programs used by the project are the property
|
// 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.
|
// 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
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
// of this software and associated documentation files (the "Software"), to deal
|
// of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -174,18 +174,19 @@ System,EndLocal
|
|||||||
// ===============================================================================================================================
|
// ===============================================================================================================================
|
||||||
[CheckTools]
|
[CheckTools]
|
||||||
Echo,"Verifying required 3rd party tools are present..."
|
Echo,"Verifying required 3rd party tools are present..."
|
||||||
If,Not,ExistFile,"%Tools%\%HostArch%\7z.exe",Run,%ScriptFile%,ErrMissingTool,7z.exe
|
If,Not,ExistFile,"%Tools%\%HostArch%\7z.exe",Run,%ScriptFile%,ErrMissingTool,"7z.exe"
|
||||||
If,Not,ExistFile,"%Tools%\%HostArch%\BcastEnvChg.exe",Run,%ScriptFile%,ErrMissingTool,BcastEnvChg.exe
|
If,Not,ExistFile,"%Tools%\%HostArch%\AutoIt3.exe",Run,%ScriptFile%,ErrMissingTool,"AutoIt3.exe"
|
||||||
If,Not,ExistFile,"%Tools%\%HostArch%\binmay.exe",Run,%ScriptFile%,ErrMissingTool,binmay.exe
|
If,Not,ExistFile,"%Tools%\%HostArch%\binmay.exe",Run,%ScriptFile%,ErrMissingTool,"binmay.exe"
|
||||||
If,Not,ExistFile,"%Tools%\%HostArch%\GetBinaryResource.exe",Run,%ScriptFile%,ErrMissingTool,GetBinaryResource.exe
|
If,Not,ExistFile,"%Tools%\%HostArch%\GetBinaryResource.exe",Run,%ScriptFile%,ErrMissingTool,"GetBinaryResource.exe"
|
||||||
If,Not,ExistFile,"%Tools%\%HostArch%\GetStringResource.exe",Run,%ScriptFile%,ErrMissingTool,GetStringResource.exe
|
If,Not,ExistFile,"%Tools%\%HostArch%\GetStringResource.exe",Run,%ScriptFile%,ErrMissingTool,"GetStringResource.exe"
|
||||||
If,Not,ExistFile,"%Tools%\%HostArch%\GWT.exe",Run,%ScriptFile%,ErrMissingTool,GWT.exe
|
If,Not,ExistFile,"%Tools%\%HostArch%\GWT.exe",Run,%ScriptFile%,ErrMissingTool,"GWT.exe"
|
||||||
If,Not,ExistFile,"%Tools%\%HostArch%\hiderun.exe",Run,%ScriptFile%,ErrMissingTool,hiderun.exe
|
If,Not,ExistFile,"%Tools%\%HostArch%\hiderun.exe",Run,%ScriptFile%,ErrMissingTool,"hiderun.exe"
|
||||||
If,Not,ExistFile,"%Tools%\x86\HiveUnload.exe",Run,%ScriptFile%,ErrMissingTool,HiveUnload.exe
|
If,Not,ExistFile,"%Tools%\%HostArch%\jj.exe",Run,%ScriptFile%,ErrMissingTool,"jj.exe"
|
||||||
If,Not,ExistFile,"%Tools%\x86\innounp.exe",Run,%ScriptFile%,ErrMissingTool,innounp.exe
|
If,Not,ExistFile,"%Tools%\x86\HiveUnload.exe",Run,%ScriptFile%,ErrMissingTool,"HiveUnload.exe"
|
||||||
If,Not,ExistFile,"%Tools%\x86\mkISOfs.exe",Run,%ScriptFile%,ErrMissingTool,mkISOfs.exe
|
If,Not,ExistFile,"%Tools%\x86\innounp.exe",Run,%ScriptFile%,ErrMissingTool,"innounp.exe"
|
||||||
If,Not,ExistFile,"%Tools%\%HostArch%\SetACL.exe",Run,%ScriptFile%,ErrMissingTool,SetACL.exe
|
If,Not,ExistFile,"%Tools%\x86\mkISOfs.exe",Run,%ScriptFile%,ErrMissingTool,"mkISOfs.exe"
|
||||||
If,Not,ExistFile,"%Tools%\x86\xml.exe",Run,%ScriptFile%,ErrMissingTool,xml.exe
|
If,Not,ExistFile,"%Tools%\%HostArch%\SetACL.exe",Run,%ScriptFile%,ErrMissingTool,"SetACL.exe"
|
||||||
|
If,Not,ExistFile,"%Tools%\x86\xml.exe",Run,%ScriptFile%,ErrMissingTool,"xml.exe"
|
||||||
|
|
||||||
// WaikTools
|
// WaikTools
|
||||||
If,Not,ExistFile,"%Tools%\%HostArch%\DISM\dism.exe",Run,%ScriptFile%,GetWaikTools
|
If,Not,ExistFile,"%Tools%\%HostArch%\DISM\dism.exe",Run,%ScriptFile%,GetWaikTools
|
||||||
|
Binary file not shown.
Binary file not shown.
@@ -6,7 +6,7 @@
|
|||||||
// Additional 3rd party tools, encoded files, and programs used by the project are the property
|
// 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.
|
// 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
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
// of this software and associated documentation files (the "Software"), to deal
|
// 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%
|
StrFormat,Replace,%UserProfilePicFileName%,".accountpicture-ms","",%UserProfilePicFileNameNoExt%
|
||||||
ConvertImage,"%ProjectTemp%\%UserProfilePicFileNameNoExt%-448.jpg","%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-448.png"
|
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%-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-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-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-192.png","192x192"
|
||||||
// Register .accountpicture-ms
|
// Register .accountpicture-ms
|
||||||
RegCopy,HKLM,"Tmp_Install_Software\Classes\.accountpicture-ms",HKLM,"Tmp_Software\Classes\.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"
|
RegCopy,HKLM,"Tmp_Install_Software\Classes\accountpicturefile",HKLM,"Tmp_Software\Classes\accountpicturefile"
|
||||||
@@ -235,13 +235,13 @@ If,%UserProfilePicExt%,Equal,".accountpicture-ms",Begin
|
|||||||
End
|
End
|
||||||
Else,Begin
|
Else,Begin
|
||||||
// Used by Open-Shell, etc.
|
// 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.bmp","448x448"
|
||||||
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user.png",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-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-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","48x48"
|
||||||
ConvertImage,%fb_UserProfilePic%,"%TargetDir%\ProgramData\Microsoft\User Account Pictures\user-48.png",96x96
|
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-192.png","192x192"
|
||||||
End
|
End
|
||||||
|
|
||||||
[#SetDefaultOptions#]
|
[#SetDefaultOptions#]
|
||||||
|
Reference in New Issue
Block a user