====== MapSuite Runtime License Guide For Desktop ====== If you need to publish a desktop application that was developed with Map Suite desktop components, it's required to publish your application along with the Runtime License, otherwise, a map will be rendered with "Not Licensed for Run Time". This guide will show you how to setup the runtime license. ===== Get Runtime License From Map Suite Product Center ===== A Runtime License can be generated by “Map Suite Product Center” which you can find from the package installation folder (…packages\ThinkGeo.MapSuite.ProductCenter.10.0.0\lib\net45). Please double click the ThinkGeo.MapSuite.ProductCenter.exe. Then, let’s switch to the WinForms tab as Figure 1 indicates.
{{ ::mapsuite_product_center_winforms.png?direct |}} //Figure 1. Map Suite Product Center with Winforms tab selected//
===== Generate Runtime License File ===== Select the application that you want to publish. If you've activated or started trial for desktop, "Runtime License" section can be found on right side of Product Center. (See figure 2.)
{{::mapsuite_runtine_license_winforms.png|}}
//Figure 2. Generate Runtime License Item.//
Click on the "Browse" button and select the application you want to publish.
{{ ::mapsuite_runtine_license_winforms_app.png?direct |}}
A “Save As” dialog will pop up after the application is selected. Click the "Save" button to generate runtime license file(*.mapsuitelicense) on your disk.
{{ ::mapsuite_runtine_license_winforms_save_as.png?direct |}} \\ ===== Deploying Applications ===== You can deploy your applications with following two ways: ===1. Serveral Merge Modules are supplied to assist you in deploying all of our required dependencies. You can download them below:=== * [[http://wiki.thinkgeo.com/wiki/_media/mapsuite10/microsoftsqlserverspatialx64.zip|MicrosoftSqlServerTypesX64.msm]] * [[http://wiki.thinkgeo.com/wiki/_media/mapsuite10/microsoftsqlserverspatialx86.zip|MicrosoftSqlServerTypesX86.msm]] * [[http://wiki.thinkgeo.com/wiki/_media/mapsuite10/microsoftvisualcruntime100x64.zip|MicrosoftVisualCRunTime100X64.msm]] * [[http://wiki.thinkgeo.com/wiki/_media/mapsuite10/microsoftvisualcruntime100x86.zip|MicrosoftVisualCRunTime100X86.msm]] Now the runtime license is ready for this application. ===2. "MapSuiteRuntimeDependencies.msi" tool is supplied to assist you in deploying all of our required dependencies. You can download them below:=== * [[http://wiki.thinkgeo.com/wiki/_media/mapsuite10/mapsuiteruntimedependencies.zip|MapSuiteRuntimeDependencies.msi]]