Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   License page delay when using rtf file (http://forums.winamp.com/showthread.php?t=281452)

njosephson 14th November 2007 20:53

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 09:45

I don't use UMUI, but you should try ReserveFile instruction. What's size of that RTF?

kichik 15th November 2007 17:00

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 22:43

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 00:46

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 08:35

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 20:22

make sure you use Wordpad.exe (the one that comes with Windows), not Word, and save as RTF format

Joel 18th November 2007 00:47

Quote:

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


All times are GMT. The time now is 04:55.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.