mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-17 10:38:04 +02:00
VisualEffects.script and WriteProtectTool.script
This commit is contained in:
@@ -321,7 +321,7 @@ Echo,"Configuring [ Install.wim - SYSTEM ] hive..."
|
||||
// ===============================================================================================================================
|
||||
// Name...........: SetSystemDriveLetter
|
||||
// Description....: Some ISO files have C:\ set as the system drive letter instead of X:\. This can cause errors, boot issues,
|
||||
// black screen on startup, and other strange behavior when you boot into PE. Here we check the path of a
|
||||
// black/blue screen on startup, and other strange behavior when you boot into PE. Here we check the path of a
|
||||
// well known CLSID in the source hive to verify the system drive letter is set to X:\ as our PE environment
|
||||
// expects it to be. If not then we scan and update the entire registry.
|
||||
// Syntax.........: Run,%ScriptFile%,SetSystemDriveLetter
|
||||
@@ -333,7 +333,7 @@ Echo,"Configuring [ Install.wim - SYSTEM ] hive..."
|
||||
// ===============================================================================================================================
|
||||
[SetSystemDriveLetter]
|
||||
Echo,"Verifying the system drive letter..."
|
||||
RegRead,HKLM,"Tmp_Software\Classes\CLSID\{0000002F-0000-0000-C000-000000000046}\InprocServer32","","%Path%"
|
||||
RegRead,HKLM,"Tmp_Install_Software\Classes\CLSID\{0000002F-0000-0000-C000-000000000046}\InprocServer32","","%Path%"
|
||||
StrFormat,LEFT,%Path%,3,%DriveLetter%
|
||||
If,Not,%DriveLetter%,Equal,"X:\",Begin
|
||||
Echo,"Configuring [X:\] as the system drive letter..."
|
||||
|
@@ -356,7 +356,7 @@ Message,"No information is available for this script."
|
||||
btn_SetDefaultOptions=,1,8,541,5,25,25,SetDefaultOptions,SetDefaults_16.png,True,"__Restore Defaults"
|
||||
btn_AdvancedOptions=,1,8,571,5,25,25,ToggleAdvancedOptions,Advanced_16.png,True,"__Show/Hide Advanced Options"
|
||||
btn_ScriptInfo=,1,8,601,5,25,25,ShowScriptInfo,Help_16.png,True,"__Script Info"
|
||||
bvl_Fbwf=Options,1,12,5,48,332,97,8,Bold
|
||||
bvl_Fbwf=Options,1,12,5,48,210,79,8,Bold
|
||||
lbl_FbwfSize="WinPE Cache Size:",1,1,15,98,101,18,8,Normal
|
||||
cmb_FbwfSize=1024,1,4,112,92,67,21,512,768,1024,2048,3072,4094,"__WinPE Cache Threshold or FBWF Cache Size.#$xLimited to 1024 MB on x86 OS.#$x#$xIncreasing the cache size will give you more writable space on the boot drive, but less RAM will be available for system use."
|
||||
lbl_FbwfMB=MB,1,1,183,99,26,18,8,Bold
|
||||
|
Reference in New Issue
Block a user