I expect Gii module generator generate for 'admin' as follows:
modules/admin/AdminModule.php
modules/admin/components
modules/admin/controllers/DefaultController.php
modules/admin/messages
modules/admin/models
modules/admin/views/default/index.php
modules/admin/views/layouts
but it just generate list below:
modules\admin\AdminModule.php
modules\admin\controllers\DefaultController.php
modules\admin\views\default\index.php
Why? How could I make it generate rest of those? My first list expectation is according to "Web Application Development with Yii and PHP by Jeffrey Winesett" book.
That book was published a while ago (possibly for v1.0), so things will have changed since. What you are running into may be a good example of that.