Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Saturday, July 04, 2009

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Knowledge Base > Visual Studio.Net
Search:
What's New - What's Hot
Listings for Assembly Assembly (11)
Listings for Bugs Bugs (5)
Listings for Debugging Debugging (10)
Listings for Deployment Deployment (14)
More Categories for Errors & Bugs Errors & Bugs (29)
Listings for General General (21)
Listings for Installation Installation (9)
More Categories for Management Instrumentation (WMI) Management Instrumentation (WMI) (0)
Listings for Oracle & .NET Oracle & .NET (3)
Listings for Web Forms Web Forms (3)
Listings for Web Services Web Services (9)
Listings for Windows Forms Windows Forms (9)
Listings for Windows Installer Windows Installer (1)
 


How to: Specify a Support URL for Individual Prerequisites in a ClickOnce Deployment        
Total Hits: 40  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your 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...

Walkthrough: Manually Deploying a ClickOnce Application        
Total Hits: 63  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your 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....

Walkthrough: Creating a Custom Action        
Total Hits: 41  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your 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...

Walkthrough: Using a Custom Action to Display a Message at Installation        
Total Hits: 55  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your 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....

How to: Change the Path to the Deployment Manifest Programmatically (2003 System)        
Total Hits: 28  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your 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...

How to: Update Deployed Office Documents That Use Managed Code Extensions (2003 System)        
Total Hits: 32  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your 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...

Walkthrough: Downloading Satellite Assemblies on Demand with the ClickOnce Deployment API Using the Designer        
Total Hits: 45  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your 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....

Deploying an Application for COM Access        
Total Hits: 31  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your 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....

Troubleshooting Windows Installer Deployment        
Total Hits: 39  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your 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...

How to: Publish Multiple Projects in a Solution        
Total Hits: 52  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your 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....

How to: Deploy Office Solutions (2003 System)        
Total Hits: 28  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your 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...

Debugging ClickOnce Applications That Use System.Deployment.Application        
Total Hits: 45  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your 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...


DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net