ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] Trouble building Packaging target on Win32

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Bryan Miller" <millerb_spam_not@xxxxxxx>
Date: Sun, 20 Jun 2004 21:32:31 -0700
Hi All,

I am having trouble building the "Packaging" target on Windows.  NSIS is
complaining about "InstallOptions::initDialog".  I haven't modified any
code in this workspace yet and the error looks like something in the
NSIS supplied include files.

Sorry if this is a FAQ.  I searched the list from the past two years
history and saw nothing similar.

Cheers,
Bryan

--------

Z:\ethereal\packaging\nsis>nmake -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        "C:/program files/nsis/makensis.exe"  /DDEST=ethereal
/DMAKENSIS_MODERN_UI=USE  /DGTK1_DIR=C:\ethereal-win32-libs\gtk+
/DGLIB_DIR=C:\ethereal-win32-libs\glib
/DICONV_DIR=C:\ethereal-win32-libs\libiconv-1.9.1.bin.woe32
/DGETTEXT_DIR=C:\ethereal-win32-libs\gettext-runtime-0.13.1
/DVERSION=0.10.4  /DWTAP_VERSION=0.1
/DNET_SNMP_DIR=C:\ethereal-win32-libs\net-snmp-5.1
/DADNS_DIR=C:\ethereal-win32-libs\adns-1.0-win32-03
/DPCRE_DIR=C:\ethereal-win32-libs\pcre-4.4
/DZLIB_DIR=C:\ethereal-win32-libs\zlib121-dll  ethereal.nsi
MakeNSIS v2.0 - Copyright 1999-2004 Nullsoft, Inc.

Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib).
Includes portions derived from bzip2 (see documentation for details).
Portions Copyright (C) 1999-2003 Igor Pavlov (lzma).
Contributors: nnop@xxxxxxxxxx, Ryan Geiss, Andras Varga, Drew Davidson,
Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko,
Jeff Doozan, Amir Szekely, Ximon Eighteen, et al.

Command line defined: "DEST=ethereal"
Command line defined: "MAKENSIS_MODERN_UI=USE"
Command line defined: "GTK1_DIR=C:\ethereal-win32-libs\gtk+"
Command line defined: "GLIB_DIR=C:\ethereal-win32-libs\glib"
Command line defined:
"ICONV_DIR=C:\ethereal-win32-libs\libiconv-1.9.1.bin.woe32"
Command line defined:
"GETTEXT_DIR=C:\ethereal-win32-libs\gettext-runtime-0.13.1"
Command line defined: "VERSION=0.10.4"
Command line defined: "WTAP_VERSION=0.1"
Command line defined: "NET_SNMP_DIR=C:\ethereal-win32-libs\net-snmp-5.1"
Command line defined:
"ADNS_DIR=C:\ethereal-win32-libs\adns-1.0-win32-03"
Command line defined: "PCRE_DIR=C:\ethereal-win32-libs\pcre-4.4"
Command line defined: "ZLIB_DIR=C:\ethereal-win32-libs\zlib121-dll"
Processing config:
Processing plugin dlls: "C:\program files\nsis\plugins\*.dll"

!define: "MUI_INSERT_NSISCONF"=""

Changing directory to: "Z:\ethereal\src\packaging\nsis"

Processing script file: "ethereal.nsi"
SetCompressor: lzma
!define: "SHCNE_ASSOCCHANGED"="0x08000000"
!define: "SHCNF_IDLIST"="0"
!define: "ETHEREAL_ASSOC"="ethereal-file"
!define: "PROGRAM_NAME"="Ethereal"
Name: "Ethereal 0.10.4"
OutFile: "ethereal-setup-0.10.4.exe"
Icon: "..\..\image\ethereal.ico"
UninstallIcon: "..\..\image\ethereal.ico"
UninstallText: "This will uninstall Ethereal.\r\nBefore starting the
uninstallation, make sure Ethereal is not running.\
r\nClick 'Next' to continue." ""
XPStyle: on
!include: "C:\program files\nsis\Include\MUI.nsh"
!include: "C:\program files\nsis\Contrib\Modern UI\System.nsh"
NSIS Modern User Interface version 1.69 - ¬ 2002-2004 Joost Verburg
(C:\program files\nsis\Contrib\Modern UI\System.nsh:
11)
!define: "MUI_VERBOSE"="3"
!include: closed: "C:\program files\nsis\Contrib\Modern UI\System.nsh"
!include: closed: "C:\program files\nsis\Include\MUI.nsh"
!define: "MUI_ICON"="..\..\image\ethereal.ico"
!define: "MUI_UNICON"="..\..\image\ethereal.ico"
!define: "MUI_COMPONENTSPAGE_SMALLDESC"=""
!define: "MUI_WELCOMEPAGE_TEXT"="This wizard will guide you through the
installation of Ethereal.\r\n\r\nBefore starting
 the installation, make sure Ethereal is not running.\r\n\r\nClick
'Next' to continue."
!define: "MUI_FINISHPAGE_LINK"="Install WinPcap to be able to capture
packets from a network!"
!define: "MUI_FINISHPAGE_LINK_LOCATION"="http://winpcap.polito.it";
!insertmacro: MUI_PAGE_WELCOME
Invalid command: InstallOptions::initDialog
Error in macro MUI_INSTALLOPTIONS_INITDIALOG on macroline 5
Error in macro MUI_FUNCTION_WELCOMEPAGE on macroline 45
Error in macro MUI_PAGE_WELCOME on macroline 23
Error in script "ethereal.nsi" on line 74 -- aborting creation process
NMAKE : fatal error U1077: '"C:/program files/nsis/makensis.exe"' :
return code '0x1'
Stop.