18.04.2015 Views

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

.NET APPLICATION PROGRAMMING INTERFACE<br />

c. The final steps involve associating the custom installation steps configured<br />

in the new installer class with the setup project. To do this, right-click the<br />

setup project in the Solution Explorer and click View Custom Actions.<br />

d. In the resulting view, right-click the Install folder and click Add Custom<br />

Action. Double-click the Application folder, then double-click the Primary<br />

output from the item. This step associates the<br />

custom install function created earlier with the setup’s custom install action.<br />

e. Repeat the last step for the setup’s uninstall.<br />

3. Finally, rebuild the entire solution to generate the setup executable file. Running<br />

the executable on a target machine installs the components and registers<br />

them with COM. The COMRegisterFunction routines then register the components<br />

in the appropriate component categories.<br />

<strong>ArcGIS</strong> Server deployments<br />

To deploy Web applications developed on a development server to product<br />

production servers, use the built-in Visual Studio .NET tools.<br />

1. In the Solution Explorer, click your project.<br />

2. Click the Project menu, then click Copy Project.<br />

3. In the Copy Project dialog box, specify the deployment location.<br />

4. Click OK.<br />

In addition to copying the project, you must copy and register any related DLLs<br />

containing custom COM objects onto your Web server and all the GIS server’s<br />

server object container (SOC) machines.<br />

Chapter 4 • <strong>Developer</strong> environments • 181

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!