[Pidgin] #1289: "unpacking data" dialog when windows installer starts

Pidgin trac at pidgin.im
Fri May 25 18:35:30 EDT 2007


#1289: "unpacking data" dialog when windows installer starts
--------------------------------------+-------------------------------------
 Reporter:  kichik                    |       Type:  patch
   Status:  new                       |   Priority:  minor
Component:  pidgin (gtk)              |    Version:  2.0.1
 Keywords:  nsis,unpacking data,slow  |    Pending:  0    
--------------------------------------+-------------------------------------
 The Windows installer shows a dialog stating "unpacking data" when it
 starts. This happens because it is unpacking data from the end of the
 compressed solid data block in .onInit. The solution for this is to
 reserve the files used in .onInit on the top of the script so they'll be
 located at the top of the data block. This way, the installer won't have
 to decompress all of the data in .onInit before it's even used.

 While I was at it, I also converted the usage of GetWindowsVersion to the
 new WinVer.nsh which doesn't relay on string comparisons and is future-
 compatible (though the tests done in the script don't really need that).

 The patch is against the 2.0.1 source code.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1289>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list