Results 1 to 4 of 4

Thread: Help regarding creating .run file for installation!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2011
    Posts
    14
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Help regarding creating .run file for installation!

    I have coded a software. I have created all the front-end and socket programming in Qt 4.7.3 and Database I used was MySQL. Now I want to create a .run file so that when I will release it on internet. Everyone will have a executable file on which they just have to double click and the installation will start just as we do while installing QtSDK on linux. Can anyone please help me in creating the .run file so that it can be installed in any linux platform?

    Please HELP ME!! I need help in urgent!

    Thanks in advance!!!

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Help regarding creating .run file for installation!

    Like this: "Add a Binary Payload to your Shell Scripts | Linux Journal" or "How do Linux binary installers (.bin, .sh) work?" which could be found with about 15 seconds of Google time. There are even some tools that do part of the packaging for you.

    You still need to work out what needs to be copied, and where it should be installed, and how to make your shell script tolerant of platform differences

  3. #3
    Join Date
    Dec 2011
    Posts
    14
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Help regarding creating .run file for installation!

    Really very very thanks for the reply. Sorry for posting the same question twice. I posted it cause I was confused actually where to post it.

    And I don't want to create a .sh file. I want to create a .run file just the Qt SDK setup for linux.
    Am I clear? If not please tell me I will try to explain a bit more.

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Help regarding creating .run file for installation!

    I gave you the easy way. You want to do more work. Fine.

    You can write a statically linked installer application that stores the data to be installed internally and presents an install wizard before extracting. For smaller programs you could do that with Qt (provided you meet the licence terms) and use the Qt resource system to hold the data. If you really want to know about the Qt SDK installer then you can always read the source code: http://qt.gitorious.org/installer-framework

Similar Threads

  1. Replies: 3
    Last Post: 27th September 2011, 06:42
  2. creating installation packages
    By ruben.rodrigues in forum Installation and Deployment
    Replies: 1
    Last Post: 17th August 2011, 17:05
  3. Creating xml file from Xml Schema (xsd) file
    By pieczara in forum Newbie
    Replies: 1
    Last Post: 25th February 2011, 23:11
  4. Replies: 2
    Last Post: 8th September 2010, 02:09
  5. Cannot find file: winmain.pro in Qt installation
    By jivanr in forum Installation and Deployment
    Replies: 3
    Last Post: 11th June 2007, 12:22

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.