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

Runtime Install

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

    Runtime Install

    I will be doing an install of a runtime next week. This will be in a network environment although there will really only be three users and most likely very little concurrent use.

    There is a bit of an ambiguity in the Runtime documentation. On page 7, it says to
    1. install the application files on a shared folder on the server
    2. then install the runtime files on each user's PC
    3. then install the bootstrap application on each user's PC


    In the 'Creating a Bootstrap Application' section (page 22), it appears as if the bootstrap will install the shadow copies of the application for you, once the main copy of the appication is on the server. In other words, you don't need to manually install the runtimes locally, the bootstrap does this for you. What's up with that?

    Also, with regards to updating the application, if we update the application on the server, will the update (ie new forms, reports, tables, etc) cascade to the shadow copies?

    Thanks much.

    Eric

    #2
    Re: Runtime Install

    Originally posted by sollasollew View Post
    it appears as if the bootstrap will install the shadow copies of the application for you, once the main copy of the appication is on the server. In other words, you don't need to manually install the runtimes locally, the bootstrap does this for you. What's up with that?
    The "shadow copies of the application" are not the "runtime".

    The "runtime" is the Alpha Five program. This must be installed on each workstation.

    The "shadow copies of the application" are shadow copies of the application you wrote. It also includes pointer files to the data on the server. The bootstrap program will help you get those copied to the workstation.

    This may help you understand what's going on: In essence, the bootstrap program is just a simplified way of (1) starting A5 on the workstation, (2) navigating to the server folder to start the application over the network directly, and (3) going to the A5 controlpanel to run the Network Optimize routine.

    If you know what you are doing AND have personal access to each workstation, I think it's easier to just go through steps 1-3 above than it is to create a bootstrap application. However, if you are distributing a generic app and won't have easy access to the computers, the bootstrap method will probably be easier in the long run.

    Originally posted by sollasollew View Post
    Also, with regards to updating the application, if we update the application on the server, will the update (ie new forms, reports, tables, etc) cascade to the shadow copies?
    It depends on how you set things up. If you want the workstations to automatically update (most people probably do), then set the network optimize choice to "Automatically refresh the shadow database" AND use a network optimize number. When you update the number, the workstation will see that the next time the workstation starts the app and update to the new version. That phrase in italics is important - if the users leave the application open all the time, they will continue to use the old version until they shut down the app and restart it. (In most cases the old version will continue to work IF you haven't moved fields around in your tables or resized them or changed their Type. This is one reason it's best to always add new fields at the end of the table. (I violated this "rule" of mine last week in a situation where I thought it would be safe. Big mistake! It wasn't safe and I had to spend an hour fixing the problems it caused.)

    The network optimize choices are on the "Options" tab. But that's really kind of a misnomer in this case. These really aren't "options" - they are "choices" that should be considered for every application.

    Comment


      #3
      Re: Runtime Install

      Well, my install did not work. I created a setup file and installed on the client's server. I ran the SAME installer on a client. I typed in the run time license number. The application installed with all the tables local. I closed the application (keeping A5 open) and then opened the copy on the server. The I went to the network optimizer and went through the process of creating a shadow DB. I then closed the application again and opened the DB from My Documents/Shadow/mydb.adb (or whatever the extension is).

      Performance dropped to unusable and on two machines, the applicaiton basically hung.

      Can anyone tell me what did I do wrong.

      Comment


        #4
        Re: Runtime Install

        To follow-up, maybe this is clearer:
        1. Created install package on development machine in my office
        2. Installed on client's server using the setup file generated above
        3. Installed local copies using the same setup file, on client PCs in my client's office
        4. THEN-> closed the application so that only A5 runtime was running
        5. Opened application (application.adb) residing on the server and ran network optimization wizard
        6. This created the following My Documents/Shadow/application.adb
        7. Opened My Documents/Shadow/application.adb


        Slow as molasses on a Minnesota winter day, to the extent that it basically hung.


        Eric

        Comment


          #5
          Re: Runtime Install

          How I would install your app:

          1. Wipe out everything that you have done as you have many files duplicated in wrong places.
          2. Presumably you followed advise here and created your app (forms, browses, data files, etc.) in one directory. Zip it up. There are no executables here. However, this is what the very first instruction in your frist post is talking about. Your app - no executables. Unzip this into a directory on your server. This is what the first item in your very first post is referring to.
          3. Using the runtime install files you received from Alpha, install the runtime software on one of the client machines. This is the executables and supprot files. This is what the second item in your very first post is referring to.
          4. Do the network optimize.
          5. Use Tools -> Create Shortcut to place a shortcut on the desktop. These last 2 steps are what the bootstrap in the third item in your very first post is referring to. The bootstrap can just automate the job for you if you have to install on many machines. You're only doing this a couple of times so keep it simple.
          6. Close Alpha and start everything from the shortcut. All should work correctly.

          This all just reiterates what Cal has said. As this is your first time doing this, it would be very beneficial for you to test these sort of things on a machine of your own and not a clients. You will then get an understanding of how the runtime setup works and should be able to grasp the whole process a little easier. You will also find many threads on the forum where others proclaim that it is easier and more flexible using third party install software such as Astrum.

          If it is still very slow, it could very well be some virus software continually checking the various files as they open and close. Search the forum as there are many numerous posts outlining this problem. Norton, especially, has been known to bring machines to their knees.

          Comment


            #6
            Re: Runtime Install

            Originally posted by Doug Page View Post
            How I would install your app:

            1. Wipe out everything that you have done as you have many files duplicated in wrong places.
            2. Presumably you followed advise here and created your app (forms, browses, data files, etc.) in one directory. Zip it up. There are no executables here. However, this is what the very first instruction in your frist post is talking about. Your app - no executables. Unzip this into a directory on your server. This is what the first item in your very first post is referring to.
            3. Using the runtime install files you received from Alpha, install the runtime software on one of the client machines. This is the executables and supprot files. This is what the second item in your very first post is referring to.
            4. Do the network optimize.
            5. Use Tools -> Create Shortcut to place a shortcut on the desktop. These last 2 steps are what the bootstrap in the third item in your very first post is referring to. The bootstrap can just automate the job for you if you have to install on many machines. You're only doing this a couple of times so keep it simple.
            6. Close Alpha and start everything from the shortcut. All should work correctly.

            This all just reiterates what Cal has said. As this is your first time doing this, it would be very beneficial for you to test these sort of things on a machine of your own and not a clients. You will then get an understanding of how the runtime setup works and should be able to grasp the whole process a little easier. You will also find many threads on the forum where others proclaim that it is easier and more flexible using third party install software such as Astrum.

            If it is still very slow, it could very well be some virus software continually checking the various files as they open and close. Search the forum as there are many numerous posts outlining this problem. Norton, especially, has been known to bring machines to their knees.

            Comment


              #7
              Re: Runtime Install

              Let me see if I get what you're saying.
              1. Don't install the runtime on the server, just the application files.
              2. Install from a zip. (Why?)
              3. Don't use the installation maker program Alpha supplies. Install the runtime and application on the client machines manually. (Why?)
              4. The desktop shortcut will be to the dba file located in My Documents/Shadow

              Sorry to be a pain about this but I am really limited in my ability to test this on our internal network.

              Thanks again,

              Eric

              Comment


                #8
                Re: Runtime Install

                Originally posted by sollasollew View Post
                Let me see if I get what you're saying.
                1. Don't install the runtime on the server, just the application files.
                2. Install from a zip. (Why?)
                3. Don't use the installation maker program Alpha supplies. Install the runtime and application on the client machines manually. (Why?)
                4. The desktop shortcut will be to the dba file located in My Documents/Shadow
                Sorry to be a pain about this but I am really limited in my ability to test this on our internal network.

                Thanks again,

                Eric
                The reason why I suggest this method is so that you get a better understanding of what goes where. The zip is just a really simplistic way to demonstrate that only the app files that you created go on the server and not the Alpha exe's and their support files. The installation maker supplied with Alpha does work, I just figured as a newbie to the process this would help you understand how to better use it later. The whole process as outlined above should only take you a few minutes to do. I would suggest you try it and then see what other questions might arise.

                I would also suggest using the same directory structure as another problem for people just getting used to networked apps is that they unknowingly create code that contains hard coded paths.

                Hang in there Eric, it will all start to come together.

                Comment

                Working...
                X