| By John Strano | Article Rating: |
|
| March 20, 2007 12:00 PM EDT | Reads: |
14,011 |
These folders contain the historic and current versions of the application. The file "mss.application" is the manifest file whose contents (XML, by the way) indicate which of the multiple stored versions is the active one published to the client workstations. Let's cause an historic manifest to become the active manifest. Rename "mss.application" as "mss_application.OLD." Let's make a copy of the "mss_1_0_0_0.application" file and rename it "mss.application." This designates this file as the manifest of the active/current version rather than an historic version of the application. Its contents point to the historic 1.0.0.0 version of your application.
As the user, run the application from the Start menu and you'll be notified that an application update is available. Accept the download, run the application, and note that the "About" window now has its first, red value in our RGB modification sequence. Whether you have five or 5,000 users, they'll all automatically get this restoration.
To complete this section, return to the "Add or Remove Programs" portion of the Control Panel and, as the user, completely uninstall this application from the workstation.
Locations, Locations, Locations: Publish, Install, and Update
Let's visit the concept of locations for .NET Smart Client deployment, three of them in fact. The Publish
location is from the developer's perspective. To where does the
developer (or perhaps an administrator) wish to publish the
application's executables? The developer may also choose how to publish
the application; via HTTP, FTP, or even using the Universal Naming
Convention (UNC) to publish to a Windows shared resource/directory. The
Install location is, in fact, a matter of the user's perspective. Where
does the user access the executables from for initial installation
purposes? For the user, the installation can be performed via HTTP,
UNC, or even CD-/DVD-ROM if you and your team want. Thirdly, the Update
location is from the user's or indeed the application's perspective.
Where will the application transparently get the manifest file from as
it checks for and then pulls down updated versions of the application?
The Update location is usually the same as the Install
location. The hard exception to this convention is if you've chosen to
have the installation done using removable media, a CD- or DVD-ROM. So
let's see this in action. Let's walk through, as a developer, using an
FTP site for our Publish location and let's have the user access installation and updates through a syntactic UNC Update location.
In preparation for this next recipe sequence, you may want to peruse these resources:
- "How To Create and Configure FTP Sites in IIS." http://msdn2.microsoft.com/en-us/library/6ws081sa.aspx.
- "How To Configure File Sharing in Windows XP." http://support.microsoft.com/kb/304040.
- "Windows XP Networking: Sharing in the Home Office." www.microsoft.com/windowsxp/using/networking/expert/honeycutt_august13.mspx.
Published March 20, 2007 Reads 14,011
Copyright © 2007 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
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.
- Why SOA Needs Cloud Computing - Part 1
- Cloud Expo and The End of Tech Recession
- The Transition to Cloud Computing: What Does It Mean For You?
- A Rules Engine Built in PowerBuilder
- Sybase Named “Silver Sponsor” of iPhone Developer Summit
- How PowerBuilder Got Its Groove Back
- The Cloud Has Cross-Border Ambitions
- Ulitzer Names The World's 30 Most Influential Virtualization Bloggers
- Ulitzer Named "New Media" Partner of Greatly Anticipated iStrategy Event in Berlin
- Risks and Enterprise Mobility?
- Steps for Success in Enterprise Mobility?
- Are Mobile Luddites Resisting Mobility?
- The Difference Between Web Hosting and Cloud Computing
- Sybase CTO to Speak at 4th International Cloud Computing Expo
- Why SOA Needs Cloud Computing - Part 1
- Cloud Expo and The End of Tech Recession
- The Transition to Cloud Computing: What Does It Mean For You?
- Five Reasons to Choose a Private Cloud
- Seeding The Cloud: The Future of Data Management
- The Threat Behind the Firewall
- Economy Drives Adoption of Virtual Lab Technology
- Tips for Efficient PaaS Application Design
- A Rules Engine Built in PowerBuilder
- Sybase Named “Silver Sponsor” of iPhone Developer Summit
- Where Are RIA Technologies Headed in 2008?
- PowerBuilder History - How Did It Evolve?
- The Top 250 Players in the Cloud Computing Ecosystem
- Custom Common Dialogs Using SetWindowsHookEx
- DDDW Tips and Tricks
- OLE - Extending the Capabilities of PowerBuilder
- DataWindow.NET How To: Data Entry Form
- Book Excerpt: Sybase Adaptive Server Anywhere
- Sybase ASE 12.5 Performance and Tuning
- Working with SOA & Web Services in PowerBuilder
- Office 2003 Toolbar: A New Look For Your Old PowerBuilder App
- Dynamically Creating DataWindow Objects
































