Old 21st December 2003, 17:47   #1
PerditionC
Junior Member
 
Join Date: Jan 2003
Posts: 27
minor patches

For AbiWord we build NSIS as part of our build procedure, and this weekend I was updating to current NSIS cvs.

Anyway, to get it to build, I have to apply the following 2 patches, which I was wondering if it would be possible to incorporate in the main NSIS cvs tree or perhaps you have better workarounds. Thanks.

Contrib/InstallOptions/InstallerOptions.cpp
-------------------------------------------
add support for IDC_HAND, similar to what is done in ui.c, ie just
before call that uses IDC_HAND add

#ifndef IDC_HAND
#define IDC_HAND MAKEINTRESOURCE(32649)
#endif


7zip/7zGuids.cpp
----------------
add #define INITGUID, this works around a quirk where VC6 headers differ than the SDKs, without it some GUIDs can't be found during the link, which I think is related to the redifinition warning generated without this small hack.

#include <initguid.h>
#define INITGUID
#include "7zip/ICoder.h"

Thanks for the consideration,
Jeremy
PerditionC is offline   Reply With Quote
Old 21st December 2003, 19:59   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Done and done. Thanks.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump