Reading up on imagex documentation, I read the following:
Specifies the version of Windows you are about to capture. The /flags value is required if you are going to re-deploy a custom Install.wim with Windows Setup. The straight quotation marks are required. "
Now since I want to redeploy a custom install.wim with Windows Setup, I decided to look and see whether an image captured by WDS sets this flag correctly. It doesn't.
Can anyone point me out how to manually set the "EditionID" flag in the .wim file metadata, so that I can substitute a WDS-captured install.wim back into the standard W2008 Server DVD?