Publish the application to a Web browser

Note

Next you publish the application using intelligent update technology.

  1. Open the p_pbtutor_winform project if it is not already open.

  2. On the Version page, enter Acme, Inc. as the Company name.

    The product name and company name display on the publish page and in the Windows Start menu.

  3. Examine the options on the Publish and Install/Update pages.

    The application will be published to a Web site on your computer. A publish page named publish.htm is generated and opened when the application has been published so that you can install the application from it onto your computer. When you make a change and republish the application, the revision number is incremented automatically.

    The defaults on the Install/Update page specify that the application will be installed so that you can run it from the Start menu on your computer whether or not it is connected to the Internet or intranet. Before the application starts, it checks for updates on the publish Web site.

  4. On the Notify page, clear the “Use default notifier icon” check box and browse to select tutorial.ico in the Tutorial\Solutions directory.

    The tutorial icon displays in the Notification area of the Windows task bar when the application is running. You can also specify a different background image for the window that displays when you check for updates.

  5. On the Prerequisites page, select Microsoft .NET Framework and Sybase PowerBuilder .NET Runtime.

    If this application needs to be installed on a computer that does not have the Microsoft .NET Framework installed, you must modify the package that installs it. For more information, see the chapter on intelligent deployment in the Deploying Applications and Components to .NET book.

  6. Save the project and select Design>Publish Application or click the Publish button on the PainterBar.

    PowerBuilder redeploys the project and publishes the application to the Web server on your local computer, typically C:\Inetpub\wwwroot\AcmeUpdate. It also opens a browser and displays the publish.htm page so that you can install the application and any prerequisites.