Welcome!

PowerBuilder Authors: Dan Joe Barry, Ian Thain, Yakov Werde, Paul Slater, Bruce Armstrong

Related Topics: PowerBuilder

PowerBuilder: Article

Smart Client Deployment in PowerBuilder 11

How the Intelligent Updater feature fits into PowerBuilder 11's .NET Smart Client support initiative

In the System Tray, right-mouse-button click on the application's icon. Select "Check for Update" from the pop-up menu. The Notifier window appears informing you, the user, that there's an update available. Right-mouse click on the icon again and select "Retrieve Update" from the pop-up menu. The Notifier window announces that the update has been downloaded and installed. Click on the icon one more time and select "Restart with New Version," which indeed happens.

At this point you may want to say "...Well, gee, Beav...is there more?" Yes, indeed. Open the Notifier's pop-up menu. Notice the user may turn polling on and off. Choosing "Options," you'll see the two options the user can modify: the pop-up window's title and, more usefully, the interval the Notifier uses to poll for extant updates. Finally, if you're curious, have the Notifier check one last time for updates. While there are none at this point, it'll give you a chance to view your non-default Notifier background image, if indeed you've chosen one. Open the "About" window and verify that your modification to blue in our RGB progression has occurred.

Rolling Back Versions
Let's talk about how the user or the administrator can revert the published application to earlier versions. Let's assume that for some reason the currently published version of the application has some flaw and an earlier version is needed. There are historic versions of the application stored on the users' workstations as well as on the server. So now let's perform three tasks. As the user, I'll revert to the previous version. Then as the administrator, I'll revert to any previous version, then again as the user, I'll perform an uninstall on the client, completely removing the application from the workstation.

So what I'll do now is use my Start menu to navigate to Settings> Control Panel. I'll select the "Add or Remove Programs" item, and then I'll scroll down to my "MSS" marketing application. Click on the Change/Remove" button and with the "Restore application to its previous state" radiobutton selected, click "OK." After the restoration confirmation message is displayed, run the application, open the "About" window, and note that, yes, the static text control has reverted to its green or second state in our RGB sequence.

Now as the administrator, I want to revert the application to one of any of its historic versions. If you have a default installation location for IIS, use Windows Explorer to navigate to the example application's virtual directory at C:\Inetpub\wwwroot\mss. Note the folders named, "1.0.0.0," "1.0.0.1," etc.


More Stories By John Strano

John Strano is a Sybase Technology Evangelist and is a charter member of TeamSybase. He has been using PowerBuilder since 1991 and has authored articles for multiple industry periodicals. John has been a Sybase Certified Instructor and has presented Sybase tools on an international basis since 1997. Over the last 17 years John has developed a variety of PowerBuilder applications from single-user scaling up to enterprise-class, web-based projects.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.