# Deployment of DLLs for Development & Release

**URL:** <https://community.thinkgeo.com/t/deployment-of-dlls-for-development-release/976>\
**Category:** WinForms\
**Created:** [January 19, 2010, 9:49am UTC](https://community.thinkgeo.com/t/deployment-of-dlls-for-development-release/976 "2010-01-19T09:49:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BWomack](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/b/f08c70/32.png) [@BWomack](https://community.thinkgeo.com/u/BWomack)\
**Post date:** [January 19, 2010, 9:49am UTC](https://community.thinkgeo.com/t/deployment-of-dlls-for-development-release/976/1 "2010-01-19T09:49:30Z")

</div>

There&nbsp;are&nbsp;two&nbsp;deployment&nbsp;scenarios&nbsp;I&nbsp;need&nbsp;to&nbsp;cover.

First,&nbsp;I&nbsp;want&nbsp;to&nbsp;be&nbsp;able&nbsp;to&nbsp;checkin&nbsp;to&nbsp;source&nbsp;control&nbsp;the&nbsp;Map&nbsp;Suite&nbsp;Desktop&nbsp;Edition&nbsp;DLLs&nbsp;in&nbsp;Developer&nbsp;Reference\DesktopEdition&nbsp;and&nbsp;Developer&nbsp;Reference\System32\System32.&nbsp;&nbsp;Then,&nbsp;on&nbsp;a&nbsp;development&nbsp;machine&nbsp;where&nbsp;I&nbsp;have&nbsp;not&nbsp;installed&nbsp;the&nbsp;Desktop&nbsp;Edition,&nbsp;I&nbsp;want&nbsp;to&nbsp;be&nbsp;able&nbsp;to&nbsp;do&nbsp;a&nbsp;build&nbsp;and&nbsp;have&nbsp;the&nbsp;map&nbsp;controls&nbsp;work.

It&nbsp;looks&nbsp;like&nbsp;you&nbsp;need&nbsp;to&nbsp;create&nbsp;references&nbsp;to&nbsp;the&nbsp;Developer&nbsp;Reference\DesktopEdition&nbsp;DLLs&nbsp;in&nbsp;your&nbsp;Visual&nbsp;Studio&nbsp;project,&nbsp;then&nbsp;copy&nbsp;the&nbsp;DLLs&nbsp;in&nbsp;Developer&nbsp;Reference\System32\System32&nbsp;to&nbsp;\Windows\System32&nbsp;or&nbsp;\Windows\SysWOW64,&nbsp;as&nbsp;appropriate.&nbsp;&nbsp;Ideally,&nbsp;I&nbsp;would&nbsp;not&nbsp;want&nbsp;to&nbsp;copy&nbsp;any&nbsp;DLLs&nbsp;to&nbsp;\Windows.&nbsp;&nbsp;I&nbsp;tried&nbsp;to&nbsp;add&nbsp;the&nbsp;location&nbsp;of&nbsp;the&nbsp;Developer&nbsp;Reference\System32\System32&nbsp;DLLs&nbsp;to&nbsp;my&nbsp;PATH,&nbsp;but&nbsp;that&nbsp;did&nbsp;not&nbsp;work.&nbsp;&nbsp;It&nbsp;seems&nbsp;you&nbsp;have&nbsp;it&nbsp;hard&nbsp;coded&nbsp;to&nbsp;expect&nbsp;the&nbsp;DLLs&nbsp;to&nbsp;be&nbsp;under&nbsp;\Windows?&nbsp;&nbsp;Is&nbsp;there&nbsp;an&nbsp;environment&nbsp;variable&nbsp;I&nbsp;can&nbsp;set&nbsp;to&nbsp;change&nbsp;this?&nbsp;&nbsp;We&nbsp;enjoy&nbsp;non-administrator&nbsp;based&nbsp;deployment,&nbsp;and&nbsp;this&nbsp;requires&nbsp;admin&nbsp;access&nbsp;to&nbsp;install&nbsp;or&nbsp;update.

One&nbsp;other&nbsp;thing,&nbsp;even&nbsp;with&nbsp;the&nbsp;DLLs&nbsp;in&nbsp;the&nbsp;\Windows&nbsp;directory,&nbsp;it&nbsp;says&nbsp;'Unlicensed'&nbsp;in&nbsp;the&nbsp;map&nbsp;control&nbsp;when&nbsp;run&nbsp;under&nbsp;the&nbsp;debugger&nbsp;(F5&nbsp;in&nbsp;visual&nbsp;studio),&nbsp;but&nbsp;is&nbsp;fine&nbsp;when&nbsp;run&nbsp;normally&nbsp;(Ctrl-F5&nbsp;in&nbsp;visual&nbsp;studio).&nbsp;&nbsp;Do&nbsp;I&nbsp;need&nbsp;to&nbsp;perform&nbsp;some&nbsp;kind&nbsp;of&nbsp;registration&nbsp;with&nbsp;my&nbsp;.License&nbsp;file&nbsp;on&nbsp;deployment?

Second,&nbsp;I&nbsp;want&nbsp;to&nbsp;be&nbsp;able&nbsp;to&nbsp;deploy&nbsp;my&nbsp;application&nbsp;with&nbsp;XCopy&nbsp;installs&nbsp;that&nbsp;do&nbsp;not&nbsp;require&nbsp;administrator&nbsp;access.&nbsp;&nbsp;Is&nbsp;this&nbsp;possible?&nbsp;&nbsp;Do&nbsp;I&nbsp;need&nbsp;to&nbsp;do&nbsp;something&nbsp;with&nbsp;my&nbsp;.License&nbsp;file?

I&nbsp;did&nbsp;notice&nbsp;that&nbsp;if&nbsp;I&nbsp;try&nbsp;to&nbsp;run&nbsp;MapSuiteRegistrationBuilder.exe&nbsp;on&nbsp;my&nbsp;.License&nbsp;file,&nbsp;it&nbsp;will&nbsp;not&nbsp;work&nbsp;if&nbsp;it&nbsp;is&nbsp;another&nbsp;machine&nbsp;from&nbsp;which&nbsp;I&nbsp;requested&nbsp;it.&nbsp;

Thanks,&nbsp;as&nbsp;always.

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [January 20, 2010, 1:01am UTC](https://community.thinkgeo.com/t/deployment-of-dlls-for-development-release/976/2 "2010-01-20T01:01:06Z")

</div>

Brian,&nbsp;  
  
  
  
We&nbsp;have&nbsp;hard&nbsp;coded&nbsp;for&nbsp;searching&nbsp;DLLs,&nbsp;you&nbsp;have&nbsp;two&nbsp;choices&nbsp;that&nbsp;you&nbsp;can&nbsp;put&nbsp;the&nbsp;DLLs&nbsp;to&nbsp;two&nbsp;places,&nbsp;one&nbsp;is&nbsp;System&nbsp;folder&nbsp;you&nbsp;already&nbsp;know&nbsp;,&nbsp;the&nbsp;other&nbsp;one&nbsp;is&nbsp;the&nbsp;same&nbsp;folder&nbsp;as&nbsp;your&nbsp;aplication&nbsp;exe’s.&nbsp;  
  
So&nbsp;far,&nbsp;you&nbsp;can&nbsp;do&nbsp;any&nbsp;configure&nbsp;about&nbsp;the&nbsp;path,&nbsp;sorry&nbsp;for&nbsp;inconvenience.&nbsp;  
  
  
  
The&nbsp;.License&nbsp;file&nbsp;just&nbsp;use&nbsp;for&nbsp;one&nbsp;machine&nbsp;which&nbsp;you&nbsp;made&nbsp;the&nbsp;.Request&nbsp;file.&nbsp;The&nbsp;infromation&nbsp;you&nbsp;mentioned&nbsp;is&nbsp;correct&nbsp;for&nbsp;our&nbsp;license&nbsp;policy.&nbsp;  
  
  
  
  
  
Thanks&nbsp;  
  
James

---

<div class="post-metadata">

**Author:** ![David](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@David](https://community.thinkgeo.com/u/David)\
**Post date:** [January 20, 2010, 1:48am UTC](https://community.thinkgeo.com/t/deployment-of-dlls-for-development-release/976/3 "2010-01-20T01:48:21Z")

</div>

Brian,&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;Let&nbsp;me&nbsp;clarify&nbsp;the&nbsp;license&nbsp;stuff&nbsp;for&nbsp;you,&nbsp;I&nbsp;think&nbsp;James&nbsp;misunderstood&nbsp;your&nbsp;question.&nbsp;&nbsp;When&nbsp;you&nbsp;move&nbsp;the&nbsp;Map&nbsp;Suite&nbsp;assemblies&nbsp;to&nbsp;a&nbsp;machine&nbsp;that&nbsp;does&nbsp;not&nbsp;have&nbsp;a&nbsp;development&nbsp;license&nbsp;installed&nbsp;on&nbsp;it&nbsp;we&nbsp;will&nbsp;watermark&nbsp;the&nbsp;map&nbsp;if&nbsp;you&nbsp;attach&nbsp;a&nbsp;debugger&nbsp;to&nbsp;it.&nbsp;&nbsp;This&nbsp;is&nbsp;to&nbsp;ensure&nbsp;that&nbsp;each&nbsp;developer&nbsp;who&nbsp;debugs&nbsp;the&nbsp;mapping&nbsp;functions&nbsp;is&nbsp;licensed.&nbsp;&nbsp;If&nbsp;you&nbsp;run&nbsp;the&nbsp;full&nbsp;Map&nbsp;Suite&nbsp;Desktop&nbsp;installer&nbsp;on&nbsp;the&nbsp;developer’s&nbsp;machine&nbsp;then&nbsp;they&nbsp;will&nbsp;be&nbsp;licensed&nbsp;assuming&nbsp;you&nbsp;have&nbsp;the&nbsp;correct&nbsp;number&nbsp;of&nbsp;developer&nbsp;licenses.&nbsp;The&nbsp;reason&nbsp;we&nbsp;watermark&nbsp;and&nbsp;not&nbsp;throw&nbsp;an&nbsp;exception&nbsp;is&nbsp;we&nbsp;realize&nbsp;that&nbsp;other&nbsp;developers&nbsp;may&nbsp;have&nbsp;roles&nbsp;developing&nbsp;with&nbsp;you&nbsp;application&nbsp;that&nbsp;are&nbsp;not&nbsp;mapping&nbsp;related.&nbsp;&nbsp;In&nbsp;the&nbsp;situation&nbsp;where&nbsp;you&nbsp;are&nbsp;in&nbsp;production&nbsp;you&nbsp;do&nbsp;not&nbsp;need&nbsp;any&nbsp;license&nbsp;files&nbsp;as&nbsp;long&nbsp;as&nbsp;you&nbsp;do&nbsp;not&nbsp;have&nbsp;a&nbsp;debugger&nbsp;attached,&nbsp;I&nbsp;think&nbsp;you&nbsp;have&nbsp;seen&nbsp;this&nbsp;functionality.&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;You&nbsp;can&nbsp;do&nbsp;the&nbsp;XCopy&nbsp;deployment&nbsp;to&nbsp;developers&nbsp;machines&nbsp;as&nbsp;long&nbsp;as&nbsp;they&nbsp;do&nbsp;not&nbsp;need&nbsp;to&nbsp;debug&nbsp;the&nbsp;mapping&nbsp;parts&nbsp;of&nbsp;the&nbsp;application.&nbsp;&nbsp;For&nbsp;that&nbsp;you&nbsp;will&nbsp;need&nbsp;to&nbsp;either&nbsp;run&nbsp;the&nbsp;Map&nbsp;Suite&nbsp;Desktop&nbsp;full&nbsp;edition&nbsp;installer&nbsp;or&nbsp;use&nbsp;the&nbsp;Registration&nbsp;builder&nbsp;tool&nbsp;we&nbsp;provide.&nbsp;&nbsp;The&nbsp;registration&nbsp;builder&nbsp;is&nbsp;usually&nbsp;for&nbsp;clients&nbsp;who&nbsp;do&nbsp;not&nbsp;have&nbsp;internet&nbsp;access&nbsp;and&nbsp;still&nbsp;need&nbsp;to&nbsp;activate&nbsp;their&nbsp;development&nbsp;licenses.&nbsp;&nbsp;For&nbsp;this&nbsp;you&nbsp;will&nbsp;generate&nbsp;a&nbsp;code&nbsp;and&nbsp;send&nbsp;it&nbsp;to&nbsp;us&nbsp;via&nbsp;e-mail&nbsp;and&nbsp;then&nbsp;we&nbsp;send&nbsp;you&nbsp;an&nbsp;activation&nbsp;code&nbsp;back.&nbsp;&nbsp;I&nbsp;don’t&nbsp;think&nbsp;this&nbsp;is&nbsp;what&nbsp;you&nbsp;were&nbsp;thinking.&nbsp;&nbsp;I&nbsp;think&nbsp;the&nbsp;crux&nbsp;of&nbsp;this&nbsp;is&nbsp;that&nbsp;we&nbsp;need&nbsp;someway&nbsp;to&nbsp;activate&nbsp;the&nbsp;license&nbsp;for&nbsp;the&nbsp;developers&nbsp;machines&nbsp;and&nbsp;we&nbsp;can’t&nbsp;do&nbsp;that&nbsp;via&nbsp;XCopy.&nbsp;&nbsp;For&nbsp;production&nbsp;installs&nbsp;you&nbsp;can&nbsp;use&nbsp;XCopy&nbsp;all&nbsp;day&nbsp;long.&nbsp;  
&nbsp;&nbsp;  
&nbsp;David
