You can use an HTA file to create a GUI for WinPE, and you can run WMI code in the HTA file which will detect the chassis that the WinPE has booted from, and select the appropriate image from a list which you maintain.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.