Results 1 to 8 of 8

Thread: developing an installer for an application

  1. #1

    Thread Starter
    Fanatic Member lerroux's Avatar
    Join Date
    Nov 2005
    Location
    Welcome to the darkside... we have cookies
    Posts
    646

    Talking developing an installer for an application

    hi,

    i have made programs and installer packages using the package and deployment wizard... but this time i want to develop my own package and deployment... all i need to know is how the wizard works... or maybe how to do that... thax for helping

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: developing an installer for an application

    If you planning on doing nthat in VB6 then there is a source project on which P&DW is based on and it's called Setup1.vbp.
    Here is default location:
    C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1

    You can modify it as you wish to make it better.

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: developing an installer for an application

    Although, I might add that any program written in VB requires the VB runtime library, so it isn't the best idea to write an installer in VB as the user may not have the VB runtime on their machine and so be unable to install the program. If you really want to start one from scratch consider a language without dependencies, such as C/C++.

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

    Re: developing an installer for an application

    Quote Originally Posted by randem
    What do you mean? You want to develop an Installer and you want us to do the research? Please read Installer Problems maybe this can help shed some light.

    If you ask that kind of a question, an installer is way too complicated...
    It's not that complicated...the hard part comes when you automatically install dependices.

    You easily do the installer part in VB...
    Make one file with the list of files.
    Make another file containing all the binary data of all the files.
    Then have the program split it out according to the file list.

    Example:
    1.readme.txt:20kb:ABCDEF123456
    2.runme.exe:500kb:ABCDEF123456

    #.filename:filesize:MD5 hash

    this is a readme
    wee
    look this is an awsome readme
    FF3434ABCDEFFkjlksjdkgjlkjasdkgljdsfaskldjg
    askldjflksajdfl;kjds;lkfj;alskjdf;lkjasdg

    (the part after the readme is runme.exe)
    What your program can do is keep on taking data out of the one file until it matches the filesize and the MD5 hash.

    You can even make this process better by adding compression to it.

    @randem
    Why discourage him from attempting to make it?
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  5. #5
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: developing an installer for an application

    Quote Originally Posted by penagate
    Although, I might add that any program written in VB requires the VB runtime library, so it isn't the best idea to write an installer in VB as the user may not have the VB runtime on their machine and so be unable to install the program. If you really want to start one from scratch consider a language without dependencies, such as C/C++.
    the VB setup project is setup1.exe, when you make a setup app in the PDW, it uses setup.exe (a C program) and setup1.exe (a vb program)

    the setup.exe makes sure the runtimes are installed so that setup1.exe can run properly.

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: developing an installer for an application

    True, I forgot about that.

  7. #7

  8. #8
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Exclamation Re: developing an installer for an application

    OFF TOPIC:

    Please note that I have removed a number of posts from this thread that were off topic in my opinion. Please focus on the original posters request or on topics related to that request. Please keep personal debates in Private Messages.

    If you have any issue with this post or with my having deleted a post, you can PM me directly.

    Brad Jones
    Site Manager
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

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