njosephson
14th November 2007 21:53 UTC
License page delay when using rtf file
If I use an RTF formatted file for my license file there is a noticable delay before it appears. The page shows up with the license portion blank - it is even worse when using modern or ultra-modern ui, there you actually have to drag the mouse over the text to get it to appear. The problem doesn't seem to affect it when I use a .txt file.
Anyone experienced this or found a workaround?
pospec
15th November 2007 10:45 UTC
I don't use UMUI, but you should try ReserveFile instruction. What's size of that RTF?
kichik
15th November 2007 18:00 UTC
ReserveFile won't affect the license file as the license isn't kept in the files block, it's kept in the string table. The string table is always at the top of the compressed data along with the other headers.
njosephson
16th November 2007 23:43 UTC
The rtf license is 23k. Does anyone else use RTF license files?
Also the problem appears in all versions of the ui, including the classic.
Joel
17th November 2007 01:46 UTC
Doesn't nsis dump into PLUGINSDIR the licence file? If so, maybe your antivirus are still scanning something in the installer.
kichik
17th November 2007 09:35 UTC
NSIS doesn't dump the license file anywhere. It's in the string table and it's not scanned. I've used RTF licenses in the past and they worked fine. I just tried with a 100kb RTF and it loaded instantly. Maybe there's something special about your RTF? Try another one.
Wizou
17th November 2007 21:22 UTC
make sure you use Wordpad.exe (the one that comes with Windows), not Word, and save as RTF format
Joel
18th November 2007 01:47 UTC
Originally posted by kichik
NSIS doesn't dump the license file anywhere. It's in the string table and it's not scanned. I've used RTF licenses in the past and they worked fine. I just tried with a 100kb RTF and it loaded instantly. Maybe there's something special about your RTF? Try another one.
Oops! Wrong installer, then :p