Nsis creates non-functional installers.

Bug #54889 reported by Carthik Sharma
6
Affects Status Importance Assigned to Milestone
nsis (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Originally reported using reportbug. Filing by proxy.

From: Siep Kroonenberg <email address hidden>
To: Ubuntu Bug Tracking System <email address hidden>
Subject: nsis: Nsis creates non-functional installers.
Message-ID: <20060730135832.9888.53320.reportbug@molly>
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.

Siep Kroonenberg (siepo)
description: updated
Revision history for this message
Paul Wise (Debian) (pabs) wrote : wtf is the subject for stupid launchpad

Yep, apparently it is a miracle 2.06 worked at all. It definately doesn't work for MUI-based installers. This bug has long since been fixed in debian (new upstreams). I recommend closing it.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Closing according to the previous comment.

Changed in nsis:
importance: Undecided → Medium
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.