Microsoft Releases Specs for Binary Formats
skolima writes "In response to requests for even easier access to the Binary Formats, Microsoft has agreed to remove any intermediate steps necessary to get the documentation. They're going to just post it, making it directly available as a download on the Microsoft web site. Microsoft will also make the Binary Formats subject to its Open Specification Promise by February 15, 2008. They're even planning to include an Open Source converter implementation."
Note that these specs have been available previously, royalty free, just by e-mailing MS (or so they claim), meaning that anybody who wanted them has got them, or can get them.
The only interesting thing here is the converter they're proposing, assuming nobody beats them to it with a better one.
Try opening a word file in the plain text editor of your choice. There's actually a lot of plain text in there, it seems the binary is mostly from formatting (and embedded binary objects - like images).
I've had an occasion or two where a word document got corrupted and office wouldn't fix it. Out of curiosity, I opened it in notepad. I cut out all the formatting bytes, and cleaned up some areas where spaces were added between characters in a section of text (WTF?), and saved the plain text. Nothing of my document was missing (since I didn't have pictures in it or anything like that).
Self proclaimed typo king, and inventor of the bear destroying coffee table (patent not pending).
... Lucifer has announced the launch of a massive advertisement campaign to promote the opening of his new snow park under the brand "Hell Inc."
It relies on Visual studio being present though, Nullsofts nSis (which I use) cares not for such restrictions. no it doesn't. It can be used with VS but you don't have to. When we started using WiX, I just used an XML editor create the files and then ran the WiX compilers and linkers from the command line. It's convenient to use it via Visual Studios, but by no means necessary.
It's called: Windows Installer XML, not executables. It builds installation packages from XML files.
Tutorials & info are maintained here: http://www.tramontana.co.hu/wix/
Sourceforge link: http://wix.sourceforge.net/
Just thought of correcting the name. By the way, thanks for the info, WK2.
Mod points are a dangerous tool. Abuse them wisely.
The only Notepad specific "file type" is a .LOG text file, where the ASCII '.', 'L', 'O', 'G' is the file magic in the first four characters (might require after, I forget). It appends the date and time whenever you open the file. It's still "ANSI" format, but it does special stuff if it is there.