** Description changed:

  Originally reported using reportbug. Filing by proxy.
  
  From: Siep Kroonenberg <[EMAIL PROTECTED]>
  To: Ubuntu Bug Tracking System <[EMAIL PROTECTED]>
  Subject: nsis: Nsis creates non-functional installers.
  Message-ID: <[EMAIL PROTECTED]>
  X-Mailer: reportbug 3.18ubuntu1
  Date: Sun, 30 Jul 2006 15:58:32 +0200
  
  Package: nsis
  Version: 2.06-6
  Severity: important
  
  
  When I run the Linux nsis-generated installer then I get to pick an
  installation directory, but after that a messagebox 'Program Error'
  pops up saying
  
    epspdf.0.2.exe has generated errors and will be closed by Windows. You will
    need to restart the program.
  
    An error log is being created.
  
  This error log turns out to be
  c:\Documents and Settings\All Users\Documents\DrWatson\drwtsn32.log
  and starts out as follows:
  
    Microsoft (R) Windows 2000 (TM) Version 5.00 DrWtsn32
    Copyright (C) 1985-1999 Microsoft Corp. All rights reserved.
  
    Application exception occurred:
            App:  (pid=824)
            When: 7/30/2006 @ 15:38:20.706
            Exception number: c0000005 (access violation)
  
  If you want to I can send you the complete log.
  
  The installer got as far as creating an empty installation
  directory.
  
  If I run nsis from Windows then I get a working installer. This is
  the nsis script (I temporarily commented out shortcut creation, but
  that made no difference):
  
    Name "Epspdf"
  
    !define EPVERSION 0.2
  
    OutFile "epspdf.${EPVERSION}.exe"
    InstallDir "$PROGRAMFILES\epspdf"
  
    Page directory
  
    Page instfiles
  
    Section "Installer"
      SetShellVarContext current
      CreateDirectory "$SMPROGRAMS/epspdf"
    ;  CreateShortCut "$SMPROGRAMS/epspdf/epspdftk.lnk" \
    ;    "$INSTDIR/bin/rubyw.exe" "$\"$INSTDIR/app/epspdftk.rbw$\"" \
    ;    "$INSTDIR/bin/rubyw.ico"
  
      SetOutPath "$INSTDIR"
      File /r app
      File /r bin
      File /r lib
    SectionEnd
  
  -- System Information:
  Debian Release: testing/unstable
    APT prefers dapper-updates
    APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500,
  'dapper-backports'), (500, 'dapper')
  Architecture: i386 (i686)
  Shell:  /bin/sh linked to /bin/bash
  Kernel: Linux 2.6.15-26-386
  Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to
  en_US.utf8)
  
  Versions of packages nsis depends on:
  ii  libc6                   2.3.6-0ubuntu20  GNU C Library: Shared libraries 
an
  ii  libgcc1                 1:4.0.3-1ubuntu5 GCC support library
  ii  libstdc++6              4.0.3-1ubuntu5   The GNU Standard C++ Library v3
  
  nsis recommends no packages.
  
  -- no debconf information
+ 
+ I tried nsis installer again under Ubuntu Edgy and now the generated
+ installer works fine.

-- 
Nsis creates non-functional installers.
https://launchpad.net/bugs/54889

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to