I tried what you suggested, and got a "File Not Found." error.
Any other thoughts?
I used my blank template, in order to have has little else going on
as possible, and added the Module element as you suggested:
<Configuration ID="1" Name="Blank">
<Lists>
<List Title="Site Template Gallery"
Type="111"
Url="_catalogs/wt"
RootWebOnly="TRUE" />
<List Title="Web Part Gallery"
Type="113"
Url="_catalogs/wp"
RootWebOnly="TRUE" />
<List Title="List Template Gallery"
Type="114"
Url="_catalogs/lt"
RootWebOnly="TRUE" />
</Lists>
<Modules>
<Module Name="DefaultBlank"/>
<Module Name="WebPartPopulation"/>
<Module Name="CustomFile"/>
</Modules>
<ExecuteURL Url="_layouts/1033/esconfig.aspx"/>
</Configuration>
Then I added the CustomFile Module in the Module section
<Module Name="CustomFile" Url="" Path="">
<File Url="_layouts/1033/esconfig.aspx"/>
</Module>
When the above didn't work (File Not Found), I tried every variation
I could think of with URL, Path, and the File element URL and
the "_layouts/1033" path and esconfig.aspx file name. 7-8 tries. No
go.
Has anyone actually made this work? Everything I can find in MSDN and
various blogs indicates this the way to go.