mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-17 02:28:09 +02:00
BugFixs:
- Fixed an issue with AcronisTrueImage that could occur if drivers already existed in the target. - Fixed an issue with AcronisCyberProtect that could occur if drivers already existed in the target. - Fixed an issue with the DiskCyptor script where drivers were not correctly renamed after extraction.
This commit is contained in:
@@ -35,8 +35,8 @@ Author=Homes32
|
||||
Level=5
|
||||
Selected=False
|
||||
Mandatory=False
|
||||
Version=1.0.0.0
|
||||
Date=2022-09-18
|
||||
Version=1.0.1.0
|
||||
Date=2022-12-24
|
||||
Interface=Interface
|
||||
|
||||
[Variables]
|
||||
@@ -293,6 +293,7 @@ If,%SourceArch%,Equal,x64,Begin
|
||||
If,Not,#r,Equal,0,Halt,"Error: Failed to extract [WinPE.zip]."
|
||||
7z,"e -y -r- #$q%ProgramsCache%\%ProgramFolder%\WinPE.zip#$q Files\Drivers\snapapint64.bin -o#$q%TargetSystem32%\#$q"
|
||||
If,Not,#r,Equal,0,Halt,"Error: Failed to extract [WinPE.zip]."
|
||||
If,ExistFile,"%TargetSystem32%\snapapint64.dll",FileDeleteEx,"%TargetSystem32%\snapapint64.dll"
|
||||
FileRename,"%TargetSystem32%\snapapint64.bin","%TargetSystem32%\snapapint64.dll"
|
||||
End
|
||||
Else,Begin
|
||||
@@ -311,6 +312,7 @@ Else,Begin
|
||||
If,Not,#r,Equal,0,Halt,"Error: Failed to extract [WinPE.zip]."
|
||||
7z,"e -y -r- #$q%ProgramsCache%\%ProgramFolder%\WinPE.zip#$q Files\Drivers\snapapint.bin -o#$q%TargetSystem32%\#$q"
|
||||
If,Not,#r,Equal,0,Halt,"Error: Failed to extract [WinPE.zip]."
|
||||
If,ExistFile,"%TargetSystem32%\snapapint.dll",FileDeleteEx,"%TargetSystem32%\snapapint.dll"
|
||||
FileRename,"%TargetSystem32%\snapapint.bin","%TargetSystem32%\snapapint.dll"
|
||||
End
|
||||
|
||||
|
@@ -38,8 +38,8 @@ Author=Homes32
|
||||
Level=5
|
||||
Selected=False
|
||||
Mandatory=False
|
||||
Version=1.0.1.0
|
||||
Date=2022-07-31
|
||||
Version=1.0.2.0
|
||||
Date=2022-12-24
|
||||
Interface=Interface
|
||||
|
||||
[Variables]
|
||||
@@ -296,6 +296,7 @@ If,%SourceArch%,Equal,x64,Begin
|
||||
If,Not,#r,Equal,0,Halt,"Error: Failed to extract [WinPE.zip]."
|
||||
7z,"e -y -r- #$q%ProgramsCache%\%ProgramFolder%\WinPE.zip#$q Files\Drivers\snapapint64.bin -o#$q%TargetSystem32%\#$q"
|
||||
If,Not,#r,Equal,0,Halt,"Error: Failed to extract [WinPE.zip]."
|
||||
If,ExistFile,"%TargetSystem32%\snapapint64.dll",FileDeleteEx,"%TargetSystem32%\snapapint64.dll"
|
||||
FileRename,"%TargetSystem32%\snapapint64.bin","%TargetSystem32%\snapapint64.dll"
|
||||
End
|
||||
Else,Begin
|
||||
@@ -314,6 +315,7 @@ Else,Begin
|
||||
If,Not,#r,Equal,0,Halt,"Error: Failed to extract [WinPE.zip]."
|
||||
7z,"e -y -r- #$q%ProgramsCache%\%ProgramFolder%\WinPE.zip#$q Files\Drivers\snapapint.bin -o#$q%TargetSystem32%\#$q"
|
||||
If,Not,#r,Equal,0,Halt,"Error: Failed to extract [WinPE.zip]."
|
||||
If,ExistFile,"%TargetSystem32%\snapapint.dll",FileDeleteEx,"%TargetSystem32%\snapapint.dll"
|
||||
FileRename,"%TargetSystem32%\snapapint.bin","%TargetSystem32%\snapapint.dll"
|
||||
End
|
||||
|
||||
|
@@ -35,8 +35,8 @@ Author=Homes32
|
||||
Level=5
|
||||
Selected=False
|
||||
Mandatory=False
|
||||
Version=1.0.0.0
|
||||
Date=2022-03-06
|
||||
Version=1.0.1.0
|
||||
Date=2022-12-24
|
||||
|
||||
[Variables]
|
||||
%ProgramFolder%="DiskCryptor"
|
||||
@@ -58,9 +58,9 @@ Run,%ScriptFile%,ExtractProgram,"%ProjectTemp%\%ProgramFolder%"
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
// Copy Files
|
||||
|
||||
If,%SourceArch%,Equal,x64,InnoRename,"%ProjectTemp%\%ProgramFolder%\{app}","*.dll,*.exe",2
|
||||
Else,InnoRename,"%ProjectTemp%\%ProgramFolder%\{app}","*.dll,*.exe",1
|
||||
InnoCleanup,"%ProjectTemp%\%ProgramFolder%\{app}","*.dll,*.exe"
|
||||
If,%SourceArch%,Equal,x64,InnoRename,"%ProjectTemp%\%ProgramFolder%\{app}","*.dll,*.exe,*.sys",2
|
||||
Else,InnoRename,"%ProjectTemp%\%ProgramFolder%\{app}","*.dll,*.exe,*.sys",1
|
||||
InnoCleanup,"%ProjectTemp%\%ProgramFolder%\{app}","*.dll,*.exe,*.sys"
|
||||
FileCopy,"%ProjectTemp%\%ProgramFolder%\{app}\*.*","%TargetPrograms%\%ProgramFolder%"
|
||||
FileCopy,"%TargetPrograms%\%ProgramFolder%\dcrypt.sys","%TargetSystem32%\Drivers"
|
||||
|
||||
|
Reference in New Issue
Block a user