How to make an installer in AMS 7.5?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • gyourl
    Forum Member
    • Mar 2010
    • 43

    How to make an installer in AMS 7.5?

    hey guys,

    sry, i'm a newbie in AMS and want to know, how to make an installer for my programs made with AMS.
    i have a GUI but i don't know, what code i need to install an application.

    thx
  • mystica
    No longer a forum member
    • May 2007
    • 1548

    #2
    AMS is not for making installers ... it's for making apps. Instead, download IR's Setup Factory ... that's what it's for.
    Or if you want a decent freeware tool, take a look at something like, InnoSetup.
    There are dozens of installer-builders on the market ... some free and some some not so free. The best one for the job, will be determined by your specific needs.
    Last edited by mystica; 04-11-2010, 02:54 PM.

    Comment

    • Imagine Programming
      Indigo Rose Customer
      • Apr 2007
      • 4252

      #3
      BytesSence Installmaker (BIM) also free: http://www.bytessence.com/bim.html

      Anyhow, it can be done in AMS, but it would be wiser to use an application built
      for such a thing like setup factory, BIM, nullsoft etc.
      Bas Groothedde
      Imagine Programming :: Blog

      AMS8 Plugins
      IMXLH Compiler

      Comment

      • gyourl
        Forum Member
        • Mar 2010
        • 43

        #4
        Originally posted by Imagine Programming View Post
        BytesSence Installmaker (BIM) also free: http://www.bytessence.com/bim.html

        Anyhow, it can be done in AMS, but it would be wiser to use an application built
        for such a thing like setup factory, BIM, nullsoft etc.
        thx for all replies.

        BIM is a great program. i will use it for making installers.

        is there really no way to make an installer in AMS, with functions like File.Copy()?

        Comment

        • Sakuya
          No longer a forum member
          • Oct 2009
          • 682

          #5
          Originally posted by gyourl View Post
          thx for all replies.

          BIM is a great program. i will use it for making installers.

          is there really no way to make an installer in AMS, with functions like File.Copy()?
          Yes, that is exactly what you're supposed to do but we're all discouraging you because IndigoRose made Setup Factory.

          Comment

          • Imagine Programming
            Indigo Rose Customer
            • Apr 2007
            • 4252

            #6
            Originally posted by Sakuya View Post
            Yes, that is exactly what you're supposed to do but we're all discouraging you because IndigoRose made Setup Factory.
            Haha Indeed, besides, doesn't it save much time to use software developed for such tasks?
            Bas Groothedde
            Imagine Programming :: Blog

            AMS8 Plugins
            IMXLH Compiler

            Comment

            • Sakuya
              No longer a forum member
              • Oct 2009
              • 682

              #7
              Originally posted by Imagine Programming View Post
              Haha Indeed, besides, doesn't it save much time to use software developed for such tasks?
              I dunno, I have too much time on my hands anyway so I would just make my own installer or use InstallShield.

              Comment

              • gyourl
                Forum Member
                • Mar 2010
                • 43

                #8
                Originally posted by Imagine Programming View Post
                Haha Indeed, besides, doesn't it save much time to use software developed for such tasks?
                No, I've made a GUI and i don't know, if I can use it in Setup Factory or other tools.

                Comment

                • sim
                  No longer a forum member
                  • Nov 2009
                  • 1634

                  #9
                  Originally posted by gyourl View Post
                  No, I've made a GUI and i don't know, if I can use it in Setup Factory or other tools.
                  I think making your own installer lets you demind bugs on the installer better
                  then usings a 3rd party copying files from the installer to the pc is rather easy

                  only needs to copy to
                  Computer (Program Folder)
                  Start Menu <--- Optioan
                  Desktop <-- Optioan
                  You can also keep your files up to date in the installer if you had it streaming the
                  files off a webserver but this would be then a webinstaller i guess you could
                  if no internet just install a standard version of the files.

                  I think all of us here have used installers for getting things out fast like my iMoko
                  i had a friend pack that for me as i not finished with my own installer nor had the
                  time to do one at that time i needed it out.

                  Something you just sit down and think really what do i need.

                  Comment

                  • boku
                    Indigo Rose Customer
                    • Mar 2009
                    • 283

                    #10
                    I on the other hand, think go for it

                    It should be possible..
                    • You could use file.copy to put the files where you want to put them,
                    • if there are dll's you'll have to regsvr32 them
                    • Make an uninstaller too
                    • Know how/where to manipulate the registry on each OS


                    If you can, get a demo of a program called QSetup, its great, super easy to use, the easiest I've used, customisable too. You can use that as a kind or "this is what I need to be able to do with my app"

                    So good luck and I look forward to seeing what you come up with

                    You shouldn't try to stop people being creative I reckon.
                    - BoKu -

                    Comment

                    • arb
                      Indigo Rose Customer
                      • Jul 2007
                      • 163

                      #11
                      In my last project I made some application that on start it'll check for the source drive type and if its non fixed drive, then application copy itself to the hard drive and make some shortcuts on desktop and start menu.
                      I also made an uninstaller for it, but in the copy operation the uninstaller will not copy on the destination folder cause when you run it you need to remove the whole files and if the uninstaller run from that location an error will occure.

                      Comment

                      • boku
                        Indigo Rose Customer
                        • Mar 2009
                        • 283

                        #12
                        Originally posted by arb View Post
                        I also made an uninstaller for it, but in the copy operation the uninstaller will not copy on the destination folder cause when you run it you need to remove the whole files and if the uninstaller run from that location an error will occure.
                        Maybe what you could do here is get your uninstall exe to create a batch file which will delete the uninstall exe and then itself ... this should work...

                        (remove my comments to get it to work )
                        PHP Code:
                        // the timeout just gives the uninstall app time to close
                        timeout /nobreak /t 1

                        // delete all the files in the directory (might need a trailing slash on path)
                        del "C:\Program Files\My App" /Q

                        // then delete the empty directory (might need a trailing slash on path)
                        rmdir "C:\Program Files\My App"

                        // Delete self
                        del uninstall.bat /
                        - BoKu -

                        Comment

                        • arb
                          Indigo Rose Customer
                          • Jul 2007
                          • 163

                          #13
                          I used File.DeleteOnReboot for deleting uninstaller

                          Comment

                          • gyourl
                            Forum Member
                            • Mar 2010
                            • 43

                            #14
                            wow, thx for all the replies. i will test the script, when i'm on my computer (i think, that will be on sunday)

                            Comment

                            Working...
                            X