Menu

#578 Increase maximum number of sections

3.0 Series
open
nobody
None
1
2024-05-30
2024-01-31
Frank
No

Please increase the maximum number of sections. Currently this is 32 (probably a fixed constant.
My company has setups that may use as many as (e.g.) 50 sections. I don't see a reason to cap it to 50, other than maybe that the lists during selection time get long, but this is what we explicitly want.

Discussion

  • Frank

    Frank - 2024-01-31

    i propose to set the maximum to 128.

     
  • nttwqz

    nttwqz - 2024-03-03

    Simply tested, 10000 sections can be compiled normally through, but copy and paste hundreds of thousands of lines of code after the compilation failed, will prompt the following error, but this is meaningless.

    Note: you may have one or two (large) stale temporary file(s) left in your temporary directory (Generally this only happens on Windows 9x).

    With a normal program, it's hard to go over 1000 sections, I think the limit should be somewhere else, maybe the installer is over 2G?

    Test section code:

    Section ${__COUNTER__}
        IntOp $0 $0 + 1
        DetailPrint $0
    SectionEnd
    
     
  • Anders

    Anders - 2024-05-30

    I don't think there is a specific section count limit. If you use more than 32000 something will probably go wrong on the components page on Windows 95/98/ME.

     

Log in to post a comment.