Closed Bug 6718 Opened 26 years ago Closed 26 years ago

Installer INI files should accept Windows line endings

Categories

(SeaMonkey :: Installer, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: selmer, Assigned: samir_bugzilla)

Details

With a little luck, we should be able to use CCK Wizard running on a windows box to create an installer that installs onto a Mac. By starting with the right set of jars, and ensuring that all other files are cross platform, this should just work. One area where we might be in trouble is the line endings of files. If the Mac stub installer chokes on windows line endings, then this scheme wouldn't work. Please make the Mac parser handle windows line endings (especially if it's a one-liner!)
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Target Milestone: M9
Altered the INI parser's key and value searching routines to treat Windows line endings as white space too.
Although this should be fixed, I'm not sure I understand why this feature would be needed. When the Mac Install Wizard is eventually archived and compressed, it will be done on a Mac (probably a StuffIt! Self-exrtacting Archive that is compressed with MacBinary II as we currently do: <file>.sea.bin). If this is the case, the config.ini will have to be ftp'd over to the Mac build machine. When ftp'ing a text file over, Mac ftp clients such as Fetch have the ability to handle line-ending conversions; hence, eliminating the need for the Mac INI parser to handle Windows line-endings.
There are other possible mechanisms. The main one I'm interested in is using the Windows version of CCK to customize a Mac installer. If that's at all possible, you'd likely end up with the line ending problem.
Component: Install Wizard → Installer
Updating component from Install Wizard to Installer
updating mac mozilla installer QA contact to me
QA Contact: gbush → asa
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.