Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

how do I make an install pkg w/o wiping out data?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how do I make an install pkg w/o wiping out data?

    Good morning,

    One of the FRC's (Family Resource Centers) that have an application that I designed on their pc suddenly can't get it to print reports, as well as a few other, odd quirks.

    I want to create a new install cd, and am wondering if I merely leave out all the .DBF files while I'm creating the install package.

    Thank you,
    Wanda

    #2
    RE: how do I make an install pkg w/o wiping out da

    Wanda,

    I make changes quite often so I created a small exe that copies all DBF, CDX and FPT files to a safe location, then installs my new version.

    But you can follow the steps below manually.

    Here's how I go about it....
    I ZIP my complete folder and call this file 'Masterpiece.zip'


    1 - Copy 'new' ZIP version to customer's root directory and unzip it on their root directory (e.g. c:\Masterpiece)
    This eliminates the problem of file attributes and CD-ROM's

    2 - When ready use my EXE to copy DBF, CDX and FPT files from c:\UsersFolder to c:\SafeLocation
    3 - Rename c:\UsersFolder to OldFolder
    4 - Make a NEW empty folder c:\UsersFolder
    5 - Copy everything from c:\Masterpiece to c:\UsersFolder
    6 - Use my EXE to copy DBF, CDX and FPT files from c:\SafeLocation to c:\UsersFolder
    7 - Check that program works.
    8 - Delete c:\OldFolder once I'm sure. Actually I leave it until the next time I update, then I delete it and c:\Masterpiece.

    I'd write a small text file and follow these steps. Try it on a 'non-critical application first, for practise. [grin]

    Works everytime for me,
    --Bob

    Comment


      #3
      RE: how do I make an install pkg w/o wiping out da

      Hi Bob,
      Sounds wonderful - but where is your .exe file?
      Thank you so much!
      Wanda

      Comment


        #4
        RE: how do I make an install pkg w/o wiping out da

        Wanda,

        It takes a small investment (~$49 now for Astrum InstallWizard at (www.thraexsoftware.com) but this is one of the reasons I like using a more powerful 3rd party installation program.

        What I do is build an installation routine ONCE. This defines which files should be included in the installation package, where they should be installed to, installation text, icons, read-me info, etc. and - MOST RELAVENT to this issue - which files can be overwritten. I define all my dbf, cdx, and fpt files as "Never Overwrite". Now all I need to do is change my A5 application, re-run the install program to create a new installation routine (the definition is already there so it takes only a few seconds to run) and the new installation routine can now be used for either a new installation or an update.

        All the user has to do is download the install file and run it. Although backups are always recommended, there is no need to move files, create temp folders, etc.

        FWIW, I also have a routine that writes the data location to the registry each time the app runs (similar to what A5 does) and my installation program reads that registry info so it knows exactly where to install the update even if the user has moved the files or is installing the update from a workstation.

        In my opinion, the time saved has more than paid the $35 I spent on the program. (The price has gone up since I bought it but I'd say it's still a bargain price.)

        Cal Locklin
        www.aimsdc.net

        Comment


          #5
          RE: how do I make an install pkg w/o wiping out da

          Thank you, Cal.

          I will purchase the install product for my own business use - but I even hesitate to ask my employer to buy it...since they're pushing me to use Access, instead.

          Also, I need to go and do the re-install on Friday - so I need a quick fix to installing the application again, without writing over their data.

          I'll experiment with what I have for this current need.

          I appreciate your help, Cal :)

          Wanda

          Comment


            #6
            RE: how do I make an install pkg w/o wiping out da

            Hello Wanda:

            I've heard this many times before, but I can't help asking why they're so intent on using Access.

            Are they open minded wherein a factual comparison might sway their opinion? Or, are they like most people who make up their mind to use an MS Office product and there is no possible argument that can possibly change their position?

            Robert T

            Comment


              #7
              RE: how do I make an install pkg w/o wiping out da

              Hi Robert,
              They are the second of your descriptions...even our IT department has tried to sway them away from Micro$oft and towards other software with no luck...so, down the road when I'm no longer here and my Alpha business is up and running, they'll be free to hire me for design work when they find they don't have anyone in-house to design on Access - and I'll bet I could design whatever they need and charge them less than an Access developer. So, in the end, instead of paying me my current salary, they'll be paying 3 times that much...sweet, or what?

              But - I still need to know what happens if I creat an install package, leaving out all the .dbf files. Will this protect their data?

              I'm going to try it, anyway. I've had some great responses, but neither will work for this Friday.

              Thank you,
              Wanda

              Comment


                #8
                RE: how do I make an install pkg w/o wiping out da

                Wanda,

                Obviously, there are a number of installation-creation programs available ranging all the way from free on up to expensive. I happen to use Installmaker from Clickteam. They have a free version that is branded, but it has all the functionality that the purchase version has. In it, you can include (or exclude) individual files - I usually exclude the .dbf, .fpt and the .muf (if there are any).

                Installmaker is pretty straightforward and if you download it, I would suggest make a few test runs on your system until you are comfortable with the process. It's not difficult, but it is a good idea to practice a bit before sending an installation package to someone.

                Dave
                Dave Jampole
                www.customalpha.com

                Women and cats will do whatever they want. The sooner men and dogs realize that, the happier they will be.

                Comment


                  #9
                  RE: how do I make an install pkg w/o wiping out da

                  Thank you, Dave. I will be needing to get an install program for my home-based business, so I'll check this one out, as well :)
                  Wanda

                  Comment


                    #10
                    RE: how do I make an install pkg w/o wiping out da

                    Hi Cal,

                    I use Astrum all the time and I agree with you, it is great. Question though: where do you set the settings that you describe, not to copy over certain files, and also, what do you do in the case where you need to add or delete some fields to a table.

                    Gary
                    Gary S. Traub, Ph.D.

                    Comment


                      #11
                      RE: how do I make an install pkg w/o wiping out da

                      Hi Gary,

                      Astrum tech support accepts email requests. They've been great to respond but as they're a half a world away, there's a bit of a turn around.

                      I've not used Astrum to do what you want but I wonder if it isn't in their other program that goes along with the install program? Can't recall what it is right now but you'll find it on their web site.

                      kenn
                      TYVM :) kenn

                      Knowing what you can achieve will not become reality until you imagine and explore.

                      Comment


                        #12
                        RE: how do I make an install pkg w/o wiping out da

                        Wanda,

                        If this were in A5, it would be a snap; I just did it in less tha 10 seconds.

                        While in the control panel, select Tools, Zip Database. Check out your options. Then click Mark Files. When the next window pops up you can choose All files, the Data files or the App files. I check the app files and then click OK and then Zip Database. It will be saved in the folder your app is in.

                        take or send this to the family center and unzip it into the folder that needs to be updated. Walla, an updated app and the data is unharmed.

                        Keep in mind, BACKUP first, make a copy!!!

                        The only hitch to this is IF the family center has forms on their app that you do not have on yours, you'll wipe out theirs.

                        On the flip side, if there is something on their app you do not have and you've made no changes to the table holding the forms, you can deselect the tables.

                        Another work around for different structures is to copy their tables and/or sets that have the forms you don't have and copy them to your app. Make tour changes and then do the zip.

                        It's really quite flexible and easy. I use this method quite often and it's worked like a charm every time.

                        kenn
                        TYVM :) kenn

                        Knowing what you can achieve will not become reality until you imagine and explore.

                        Comment


                          #13
                          RE: how do I make an install pkg w/o wiping out da

                          Wanda,

                          I use Qsetup. This program is free for independend developers. Just email the publisher that you are an independend developer, and you will get the reg code for free. Qsetup is an extremely flexible yet very userfriendly program. For me it is important that this does not take too much time I'd rather spend on A5.
                          So I tried several programms and ended up with Qsetup.
                          You can download it at: www.pantaray.com an israelian company. The pro version has auto-update onboard.

                          Further the earlier mentioned Install Creator from Clickteam (www.clickteam.com) is a good option to work with.
                          They also have a special product for creating updates/upgrades. It is called "Patchmaker" and it works together with "Installcreator".
                          Both products are available as freeware and registered versions, freeware comes with advertisement.

                          Kind regards,

                          Comment


                            #14
                            RE: how do I make an install pkg w/o wiping out da

                            Thank you so much, Marcel. I'll download it over the week-end (my developing business days) and learn it. I think it's great that you've tried several, and can recommend these two free sites, to boot! Appreciate it :)
                            Wanda

                            Comment


                              #15
                              RE: how do I make an install pkg w/o wiping out da

                              Gary,

                              where do you set the settings that you describe (overwrite/don't)

                              Go to the Files to Include section and highlight a file(s) then click the Advanced button.

                              what do you do in the case where you need to add or delete some fields to a table

                              I do this with A5 scripting - usually in the autoexec script. I've attached a sample that shows adding fields and another that shows how I change structure by sending a "new" table and append the old data then delete the original table and rename the new one. (Sounds awful but really isn't that bad.) I highly recommend that you paste the script into A5 so it be easier to read.

                              Comment

                              Working...
                              X