|
|
|
|
|
Total Hits: 40 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

As described in Application Deployment Prerequisites, a ClickOnce deployment can test for a number of prerequisites that must be available on the client computer for the ClickOnce application to run. These include the required minimum version of the .NET Framework, the version of the operating system, and any assemblies that must be preinstalled in the global assembly cache (GAC). ClickOnce, however, cannot install any of these prerequisites itself; if a prerequisite is not found, it simply halt...
|
|
|
|
Total Hits: 63 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

If you do not use Visual Studio regularly, need to automate the deployment process, or need to use advanced deployment features such as Trusted Application Deployment, you should use the Mage.exe command-line tool to create your ClickOnce manifests. The following walkthrough takes you through all of the steps required to generate a full ClickOnce deployment using either the command-line version (Mage.exe) or the Windows Forms version (MageUI.exe) of the Manifest Generation and Editing Tool....
|
|
|
|
Total Hits: 41 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

# On the File menu, click New Project. # In the New Project dialog box, select Visual Basic Projects in the Project Types pane, and then click Class Library in the Templates pane. In the Name box, type OpenWeb. The project is added to Solution Explorer. # On the Project menu, click Add Class, and then in the Add New Item dialog box, select Installer Class. Accept the default name of Installer1.vb. Click Add. # Switch to code view by clicking click here to switch to code view on the desi...
|
|
|
|
Total Hits: 55 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

The following walkthrough demonstrates how to use a custom action to take user input and pass it to a message box that appears during installation. This is a simple demonstration of custom actions, which are useful for many other tasks. For example, a custom action could take as user input the location of the Setup.exe file and use it to launch the application after installing it....
|
|
|
|
Total Hits: 28 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

You can use the object model in the Visual Studio Tools for Office runtime to programmatically update the application manifest that is embedded in a document that is part of a document-level customization. You must put the code for manipulating the object model in a new project (not your Visual Studio Tools for Office solution), such as a console application or ASP.NET page. Visual Studio Tools for Office includes a sample that demonstrates how to create a tool that can be used to edit the embed...
|
|
|
|
Total Hits: 32 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

If a solution document, template, or workbook has been deployed to each end user and the solution assembly is in a network location, the document cannot easily be updated automatically. However, you can use the procedures outlined in this topic to provide automatic notification to end users that the current Office document is outdated, and that they must get a newer version. The basic steps are: 1. Create a new Microsoft Office Word 2003 or Microsoft Office Excel 2003 application project b...
|
|
|
|
Total Hits: 45 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

As discussed in ClickOnce Deployment and Localization, you can include multiple satellite assemblies for multiple cultures within the same ClickOnce deployment. By default, ClickOnce will download all of the satellite assemblies in your deployment to the client machine, although a single client will probably require only one satellite assembly....
|
|
|
|
Total Hits: 31 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

Assemblies can be private or shared. Private assemblies are available only to clients in the same directory structure as the assembly; shared assemblies are available to any local COM application. All assemblies and type libraries must be registered in the Windows registry so COM clients can use the managed types transparently....
|
|
|
|
Total Hits: 39 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

An MFC application is not localized when it is installed on a computer where the locale is not English
When deploying an MFC application by using a Visual Studio deployment project, dependencies for the localized merge modules Mfc_loc_e.msm and Mfc_loc_fe.msm are not detected. The merge modules are included with Visual C++; the default installation location is \Program File\Common\Merge Modules. In order to distribute a localized MFC application, you have to manually add the two merge mod...
|
|
|
|
Total Hits: 52 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

A solution can contain several projects, but ClickOnce deployment is constrained in that it can only publish one project at a time. For solutions with many projects, publishing them one by one can be burdensome. This procedure shows how to automate the process using a macro to publish all the projects in a solution....
|
|
|
|
Total Hits: 28 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

To deploy your document-level customizations, you must deploy these components: * A Microsoft Office Word 2003 or Microsoft Office Excel 2003 file (template, document, or workbook) that the end user works in. * An assembly that contains your compiled custom code, plus any referenced assemblies. Optionally, to take advantage of automatic assembly updates for the end user, you must also deploy: * An application manifest. If you use the Publish Wizard, this file is created for...
|
|
|
|
Total Hits: 45 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

In Visual Studio, ClickOnce deployment allows you to configure how an application is updated. However, if you need to use and customize advanced ClickOnce deployment features, you will need to access the deployment object model provided by System.Deployment.Application. You can use the System.Deployment.Application APIs for advanced tasks such as: * Creating an "Update Now" option in your application * Conditional, on-demand downloads of various application components * Upda...
|
|
|
|
|
|