jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • IzPack
  • IZPACK-647

Unable to launch wizard (panel) after creating the setup.exe in windows 7

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 4.3.3
  • Fix Version/s: 4.3.4, 5.0
  • Component/s: Native launcher
  • Labels:
    None
  • Environment:
    Windows 7

Description

I am trying to create SFX image for jar from the IZPACK installer in windows7 for win 32 machines.

How i created : executed the below commands
compile install.xml -k web
izpack2exe --file=install.jar

Result : Setup.exe will be created.

problem : Double click on the setup.exe will just extract and explore the files of exe instead of showing setup wizards

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    izpack2exe.py
    18/Mar/11 6:58 AM
    4 kB
    Timothy Fridey

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Julien Ponge added a comment - 04/Feb/11 2:50 PM

Check that the target operating system has a working Java installation. More specifically, check that opening a Jar file does not trigger some weird compressed file management program.

Show
Julien Ponge added a comment - 04/Feb/11 2:50 PM Check that the target operating system has a working Java installation. More specifically, check that opening a Jar file does not trigger some weird compressed file management program.
Hide
Permalink
Timothy Fridey added a comment - 18/Mar/11 5:09 AM

This is a duplicate of IZPACK-560 and IZPACK-30

I had a bit of a play today, I never knew python could create executable files for windows, was a pleasant surprise. I'm not sure what the reason is for 7zipping the jar since it is already compressed.

Anyway, I have a patch for this issue that I have tested on WinXP and Win7. It works the same in every other way that I can tell. However I uncovered another bug in Win7 (not caused by my fix, is in current version also where the install crashes if there are any execution parameters e.g. --launch-args ) I will open a new issue for this bug, just though you should be aware its not caused by my fix.

Show
Timothy Fridey added a comment - 18/Mar/11 5:09 AM This is a duplicate of IZPACK-560 and IZPACK-30 I had a bit of a play today, I never knew python could create executable files for windows, was a pleasant surprise. I'm not sure what the reason is for 7zipping the jar since it is already compressed. Anyway, I have a patch for this issue that I have tested on WinXP and Win7. It works the same in every other way that I can tell. However I uncovered another bug in Win7 (not caused by my fix, is in current version also where the install crashes if there are any execution parameters e.g. --launch-args ) I will open a new issue for this bug, just though you should be aware its not caused by my fix.
Hide
Permalink
Timothy Fridey added a comment - 18/Mar/11 6:58 AM

Until I can work out how to create a patch in git here is the whole file.

The change is:
config.write('ExecuteFile="javaw"')
config.write('ExecuteParameters="-jar \\\"%s\\\"' % filename)
if settings.launchargs != '':
config.write(' %s"\r\n' % settings.launchargs)
else:
config.write('"\r\n')

Show
Timothy Fridey added a comment - 18/Mar/11 6:58 AM Until I can work out how to create a patch in git here is the whole file. The change is: config.write('ExecuteFile="javaw"') config.write('ExecuteParameters="-jar \\\"%s\\\"' % filename) if settings.launchargs != '': config.write(' %s"\r\n' % settings.launchargs) else: config.write('"\r\n')
Hide
Permalink
Julien Ponge added a comment - 21/Mar/11 2:30 AM

It's in, thanks!

Show
Julien Ponge added a comment - 21/Mar/11 2:30 AM It's in, thanks!

People

  • Assignee:
    Unassigned
    Reporter:
    vinay
Vote (0)
Watch (2)

Dates

  • Created:
    03/Feb/11 7:04 AM
    Updated:
    29/Apr/11 4:37 AM
    Resolved:
    21/Mar/11 2:30 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.