Uninstaller data offset is saved as EW_WRITEUNINSTALLER's parameters. A step forward to multiple uninstallers and smaller exehead.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3192 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
75299797fd
commit
0ef7fcd98b
4 changed files with 22 additions and 14 deletions
|
@ -1436,10 +1436,9 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
|||
ReadSelfFile((char*)filebuf,filehdrsize);
|
||||
{
|
||||
unsigned char* seeker;
|
||||
unsigned char* unicon_data = seeker = (unsigned char*)my_GlobalAlloc(g_header->uninsticon_size);
|
||||
unsigned char* unicon_data = seeker = (unsigned char*)my_GlobalAlloc(parm2);
|
||||
if (unicon_data) {
|
||||
GetCompressedDataFromDataBlockToMemory(g_header->uninstdata_offset,
|
||||
unicon_data,g_header->uninsticon_size);
|
||||
GetCompressedDataFromDataBlockToMemory(parm1,unicon_data,parm2);
|
||||
while (*seeker) {
|
||||
struct icondata {
|
||||
DWORD dwSize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue