|
<?xml version="1.0" encoding="utf-8" ?>
<deployer>
<!-- xcopy -->
<deployInfo type="xcopy" machineName="tyrion" lookFurther="false">
<targetPath clear="false" backup="false">c:\deployed</targetPath>
<configReplaces>
<entry>
<find>value>Blah</value</find>
<replace>value>Eh1</value</replace>
</entry>
</configReplaces>
<configReplaces searchExpression="*.config">
<entry>
<find>bleh>Entry that will be changed</bleh</find>
<replace>bleh>New value</bleh</replace>
</entry>
</configReplaces>
</deployInfo>
<!-- service -->
<deployInfo type="service" machineName="tyrion">
<targetPath clear="false" backup="true">c:\deployer-service</targetPath>
<backupInfo>
<exclude path="~\someFiles" />
</backupInfo>
<serviceName>SomeUniqueName</serviceName>
<serviceMachine>tyrion</serviceMachine>
</deployInfo>
<!-- clickOnce -->
<deployInfo type="clickonce" machineName="test9">
<targetPath>\\192.168.40.102\Clients\test</targetPath>
<usePackedKey>false</usePackedKey>
<providerUrl>\\192.168.40.102\Clients\test</providerUrl>
<configReplaces searchExpression="*.config">
<entry>
<find>value>123</value</find>
<replace>value>konfig</value</replace>
</entry>
</configReplaces>
<dllCache>
<dll name="stdole.dll" copyTo="{manifestDirectory}" />
<dll name="Interop.VSFlex7L.dll" copyTo="{manifestDirectory}" />
</dllCache>
</deployInfo>
<!-- clickOnce -->
<deployInfo type="clickonce" machineName="someMachineName">
<targetPath>\\192.168.40.102\Clients\test</targetPath>
<usePackedKey keyPassword="123">true</usePackedKey>
<providerUrl>\\192.168.40.102\Clients\test</providerUrl>
</deployInfo>
<!-- databaseScript -->
<deployInfo type="databasescript">
<connectionString>Data Source=psimr;Initial Catalog=PsiClient;Integrated Security=True</connectionString>
<isolationLevel>ReadCommitted</isolationLevel>
</deployInfo>
</deployer>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
If you liked this article, consider reading
other articles by me. For republishing article on other websites, please contact me by leaving a comment.