Results 1 to 8 of 8

Thread: How to make an installation package(*.exe) for Windows, Linux, Mac

  1. #1

    Thread Starter
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    How to make an installation package(*.exe) for Windows, Linux, Mac

    Hi all,

    I think this sub-forum is the best place to add my question, because I don't know that I have to use another software to do this.

    I have an application which has few number of files and folders. I want to make a single installation package to distribute it as a *.exe file. So I need to set the installation path in system drive program files folder and so on. How can I do it.

    Thanks.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: How to make an installation package(*.exe) for Windows, Linux, Mac

    It depends what language you have used. Also, you won't be able to make an install that works on Linux, Windows and Mac. Each OS is different and you will no doubt need to create separate one for each.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3

    Thread Starter
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Re: How to make an installation package(*.exe) for Windows, Linux, Mac

    Ok, actually my application is built by using Java. Initially I want to create a installation package for Windows. Do you have any clue for me.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

  4. #4
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: How to make an installation package(*.exe) for Windows, Linux, Mac

    A nice step by step guide: http://www.codeguru.com/forum/showth...hreadid=279029

    Because you are using Java the code will likely run on Linux, Windows and Mac. If you want to have an installer Wizard you will need to create this in Java and have the installing batch script run it from the command line.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  5. #5

    Thread Starter
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Re: How to make an installation package(*.exe) for Windows, Linux, Mac

    Thanks for the information. I'll go through and try to find a solution.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

  6. #6
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: How to make an installation package(*.exe) for Windows, Linux, Mac

    Mac is set up totally different than windows. There are no dependencies. Everything about your program is stored in your program's directory. If you want to delete it, simply delete the directory. the standard method for distribution of mac software is now Virtual Drives. You "mount" them and then drag the contents to your application folder.
    The RPM package seems to be the new default method of distribution on Linux.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  7. #7
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: How to make an installation package(*.exe) for Windows, Linux, Mac

    Quote Originally Posted by Lord Orwell
    Mac is set up totally different than windows. There are no dependencies. Everything about your program is stored in your program's directory. If you want to delete it, simply delete the directory. the standard method for distribution of mac software is now Virtual Drives. You "mount" them and then drag the contents to your application folder.
    The RPM package seems to be the new default method of distribution on Linux.
    Slow down there cowboy. RPM is not the 'default', every distro has its own preferred package format. Debian/ubuntu likes deb. Red Hat/Fedora Core likes RPM. Some distros do allow crossinstall of packages, ie you can install RPMs on debian but its a hassle. Your mileage may vary.
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  8. #8
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: How to make an installation package(*.exe) for Windows, Linux, Mac

    ubuntu also supports them. It seems to be possible to install the installer program on all of them now.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width