Hello everyone,
I am attempting to use the Application Updater Block for my application. I
am running into an issue, once the appstart.exe has pulled down an update,
it will not do so again unless I change the guids of the appid on both the
server and in the appstart.exe.config. Anyone have any ideas what I am
doing wrong?
App.Config
<configuration>
<configSections>
<section name="appStart"
type="DelphiUpdater.ConfigSectionHandler,DelphiUpd ater" />
<section name="enterpriselibrary.configurationSettings"
type="Microsoft.Practices.EnterpriseLibrary.Config uration.ConfigurationManagerSectionHandler,
Microsoft.Practices.EnterpriseLibrary.Configuratio n" />
</configSections>
<appStart>
<ClientApplicationInfo>
<appFolderName>.\</appFolderName>
<appExeName>DelphiNewBusiness.exe</appExeName>
<appID>{215E1AD7-9ABA-432f-A952-24BABA556851}</appID>
<updateTime>BeforeStart</updateTime>
<manifestUri>http://beta/DelphiBusiness/manifests.xml</manifestUri>
<installedVersion>1.0.0.0</installedVersion>
</ClientApplicationInfo>
</appStart>
<enterpriselibrary.configurationSettings
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
applicationName="DelphiUpdater"
xmlns="http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration">
<configurationSections>
<configurationSection xsi:type="ReadOnlyConfigurationSectionData"
name="UpdaterConfiguration" encrypt="false">
<storageProvider xsi:type="XmlFileStorageProviderData" name="XML File
Storage Provider" path="..\UpdaterConfiguration.config" />
<dataTransformer xsi:type="XmlSerializerTransformerData" name="Xml
Serializer Transformer">
<includeTypes>
<includeType name="Xml Include Type"
type="Microsoft.ApplicationBlocks.Updater.Configur ation.BitsDownloaderProviderData,
Microsoft.ApplicationBlocks.Updater.Downloaders" />
</includeTypes>
</dataTransformer>
</configurationSection>
</configurationSections>
<keyAlgorithmStorageProvider xsi:nil="true" />
<includeTypes />
</enterpriselibrary.configurationSettings>
</configuration>
Manifests.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
manifestId="{fdb4e11f-4919-4e88-9609-dc73ed9eea31}" mandatory="No"
xmlns="urn:schemas-microsoft-com:PAG:updater-application-block:v2:manifest">
<description>None</description>
<application applicationId="{215E1AD7-9ABA-432f-A952-24BABA556851}">
<entryPoint file="DelphiNewBusiness.exe" />
<location>.</location>
</application>
<files base="http://beta/DelphiBusiness/Updates" hashComparison="No">
<file source="DelphiNewBusiness.exe" transient="No" />
<file source="DataGridEx.dll" transient="No" />
<file source="DelphiControls.dll" transient="No" />
<file source="DelphiDAL.dll" transient="No" />
</files>
<activation>
<tasks>
<task
type="Microsoft.ApplicationBlocks.Updater.Activati onProcessors.ApplicationDeployProcessor,
Microsoft.ApplicationBlocks.Updater.ActivationProc essors, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=null" name="ApplicationDeployProcessor" />
</tasks>
</activation>
</manifest>