Download - Advantech Software Master
![Page 1: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/1.jpg)
Advantech Software MasterWindows Embedded Standard
Training 2
Tung Yi
![Page 2: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/2.jpg)
Agenda
• EEF (EWF, HORM, FBWF )
• Advantech WES Add-ons
• How to build a MUI image
![Page 3: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/3.jpg)
WES2009 — Enhanced Write Filter (EWF)
• Enhanced Write Filter – Makes Windows XP,
Embedded
– Allows booting from read-only media
– Protects operating system partition
– Not necessary to redesign applications
• EWFMGR.exe
– Console application that provides a command-line
interface for managing EWF
• EWF API allows control of EWF
– Enable/Disable EWF Protection
– Commit Changes
![Page 4: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/4.jpg)
WES2009 — EWF Concept & Overlays
Overlay
Original Disk
1) Read Data from the Disk
2) Write Data back to the disk
3) Read Data again
Application that
is accessing
EWF protected
volume
![Page 5: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/5.jpg)
WES2009 — EWF Overlay Option
• EWF can be configured by applying to multiple volumes, each of which may have Disk or RAM overlays.
• Disk Overlay – Using EWF Volume
EWF Master Volume Table, Overlay stack and Overlay data are stored in the EWF volume
After reboot information retained
• RAM or RAMREG Overlay– Enables stateless operation – After reboot all changes lost
– Run without any read/write storage
![Page 6: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/6.jpg)
WES2009 — EWF Overlays
RAM Overlay
Disk Overlay
RAM-REGOverlay
C:\< 32 MB
EWF Volume
Partition 1
Protected Volume
Partition 2
EWF Partition
Disk
C:\64 KB
EWF Volume
Partition 1 Partition 2Disk
ProtectedVolume
EWF Partition
EWF Overlay
RAM
C:\
Disk RAM
Registry EWF Overlay
Partition 1
ProtectedVolume
EWF volume infostored in registry
EWF Disk
Overlay
![Page 7: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/7.jpg)
WES2009 — EWFHibernate Once Resume Many (HORM)
• EWF feature in WES2009
• Benefits
– Quicker boot time
– Booting with specific applications and services running
• Limitation
– All of the partitions on your system must be protected by
EWF.
– You need to control disk driver if you want to create
unprotected volume in HORM.
![Page 8: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/8.jpg)
WES2009 — EWF Settings
![Page 9: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/9.jpg)
WES2009 — EWF Components
• EWF.sys
– Driver which redirects IO requests
• EWFDLL.DLL
– Used by FBA to format a EWF Partition
• EWFNTLDR
– Modified NTLDR (NT Loader)
• EWFMgr.exe
– Management Console Application
• EWFAPI.dll
– EWF API support library
– EWFAPI.H and EWFAPI.LIB
![Page 10: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/10.jpg)
WES2009 — EWF APIs
• EWFMGR.EXE – command line program built with
the EWF APIs that controls EWF
• EWF APIs allow you to build in EWF control within
your applications
– Supports Visual C++ application development (EWFAPI.dll)
– .NET support is possible
– MSDN: Controlling EWF by Using the EWF APIs
![Page 11: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/11.jpg)
WES2009 – File Based Write Filter (FBWF)
• FBWF protects a volume on a file level instead of the whole volume or partition. The developer can set specific files or directories to be unprotected.– Any writes made to protected
files are sent to RAM overlay.
– Any writes to unprotected files are passed through to the disk.
• Features:– File and Directory Management
Transparency
– Selective Write Through
– Selective Commits and Restores
– Improved Overlay Memory Use
FBWFMGR Application
Volume manger
NTFS / FAT32
FBWF
Disk Driver
Volatile Write
Cache (RAM)
Read/Write
Storage
User Mode
Kernel Mode
Read/Write
Through
OperationsRead Only
Operation for
Protected Files
Read/Write
Operation for
Protected Files
![Page 12: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/12.jpg)
WES2009 – File Based Write Filter (FBWF)
• EWF and FBWF can exist in the same image, but cannot control the same volume
• Some limitations with NTFS – File ID, compression, and encryption
• Registry Filter still recommended for domain secret keys and TSCAL registry key support
• FBWFMGR and FBWF API are available to control the state of FBWF
![Page 13: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/13.jpg)
WES2009 – FBWF Concept #1
Overlay
Original Disk
1) Read Data from the Disk
2) File is protected so Data is
written back to the overlay
3) Read Data again
Application that
is accessing
FBWF protected
volume
![Page 14: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/14.jpg)
WES2009 – FBWF Concept #2
Overlay
Original Disk
1) Read Data from the Disk
2) File is unprotected thus is
written back to the drive
3) Read Data again
Application that
is accessing
FBWF protected
volume
![Page 15: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/15.jpg)
WES2009 – FBWF Settings
• FBWF Configuration– Specify the number of
protected volumes
– Start FBWF –enabled/disabled
– Set the amount of memory to use
– Set the cache type
– Enable/disable specific OS features
• Protected Volume Settings– Specify the drive letter
– List the unprotected files
![Page 16: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/16.jpg)
Advantech XPe Add-ons
![Page 17: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/17.jpg)
Advantech WES Add-ons
• Advantech EWF Manager
• Advantech FBWF Manager
• Advantech Booting Manager
![Page 18: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/18.jpg)
Advantech EWF Manager
![Page 19: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/19.jpg)
Advantech FBWF Manager
![Page 20: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/20.jpg)
Advantech FBWF Manager
![Page 21: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/21.jpg)
Advantech FBWF Manager
![Page 22: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/22.jpg)
Advantech Booting Manager
![Page 23: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/23.jpg)
Support List Editor
Support List Editor
BootingManager.exe
EWFManager.exe
FBWFManager.exe
BootingManager.dat
EWFManager.dat
FBWFManager.dat
Encrypted Support List
![Page 24: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/24.jpg)
Support List Editor
![Page 25: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/25.jpg)
Demo
Advantech XPe Add-ons
![Page 26: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/26.jpg)
How to build a MUI image – Component browser
Component browser
Path:
Software
System
International
Infrastructure
![Page 27: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/27.jpg)
How to build a MUI image – Settings
![Page 28: Advantech Software Master](https://reader031.vdocuments.us/reader031/viewer/2022012512/618b7f88697d842e4c6c81c7/html5/thumbnails/28.jpg)
Lab 2
Build MUI Platform