https://issues.apache.org/bugzilla/show_bug.cgi?id=52791

             Bug #: 52791
           Summary: [PATCH] read windows installer default values from
                    config file
           Product: Tomcat 6
           Version: unspecified
          Platform: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Native:Packaging
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: smad...@vocera.com
    Classification: Unclassified


Created attachment 28399
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28399
patch for the tomcat install project file

Hi,

I attached a patch for the tomcat nsis installer that enables the installer to
read it's default values from an ini file (config.ini) instead of using the in
script defined onces. If the ini file does not exist, the script values are
used. The same happens if the ini file exists, but a value is not defined. E.g.
maybe you want to go with all of the script defined values but one or so.
Please look at the attached diff. 

This is how a sample config.ini file would look like (filename must be
config.ini and reside in $EXEDIR)

---------------
config.ini:
---------------

TomcatPortHttp=80
TomcatMenuEntriesEnable=1
TomcatShortcutAllUsers=1
TomcatAdminEnable=1

---------------


It would be great if this enhancement could be merged into the next installer
:-)

Thanks!
Sandra

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to