Reimplemented the Windows installer GUI using nsDialogs and MUI2 libraries,
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 13 Nov 2010 23:39:57 +0000 (23:39 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 13 Nov 2010 23:39:57 +0000 (23:39 +0000)
commit0599787306365cabfd5efb77918a42a00c2ddd57
tree7c78eb61c307b0cb78ca270d2b9aa576e18e8cac
parent3fa1e323b8954408cb5d490089a7b75c6be9a1b9
Reimplemented the Windows installer GUI using nsDialogs and MUI2 libraries,
instead of deprecated InstallOptions.
The *.ini files are no more used. All is specified in the nsi script.

Migration was straightforward, except for a DirRequest field
(the field on the JVM selection page that displays path to JRE):
I had to create the Browse button explicitly and implement an OnClick handler. It is not spelled in the docs, but is discussed a lot on forums.

Other improvements:
- Added a textfield to display/edit the roles for the user that we add to tomcat-user.xml
- The roles are calculated depending on what webapps are installed (manager, host-manager, or both).
- I do not display "username", "password", "roles" fields when neither manager nor host-manager are selected. In the previous version we showed them as disabled. Now I do not show them on screen.

- Implemented creating Windows Shortcuts for the Manager, Host Manager apps and Documentation. There was implementation for that already (Manager and Docs shortcut only), but it was not working: it used IfFileExist check that always evaluated to false, because shortcuts were created before those files were installed.
- Added support for the '/?' command line option. It displays a message box with some short text about the /S and /D options. See .onInit function in tomcat.nsi for details.
- Using LogicLib.nsh for logic. I hope that the script became more easily readable.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1034911 13f79535-47bb-0310-9956-ffa450edef68
res/config.ini [deleted file]
res/jvm.ini [deleted file]
res/tomcat.nsi
webapps/docs/changelog.xml