locked
Deployment of Sync Framework RRS feed

  • Question

  • Hi,

    we have an application which uses MS Sync Framework.
    Now we want to include the needed msi.-Files in our Setup.

    We downloaded Microsoft Sync Framework v1.0:
    http://www.microsoft.com/downloads/details.aspx?FamilyId=C88BA2D1-CEF3-4149-B301-9B056E7FB1E6&displaylang=en

    We reference two Assemblys in our app:
    -Microsoft.Synchronization.dll
    -Microsoft.Synchronization.MetadataStorage.dll
    (Our App contains two Custom providers which store their Metadata in SQL Server Compact Databases)


    The zip-File contains several msi-Files. Which ones are required so that our app
    runs on a client PC?

    Synchronization.msi and the Runtime for SQL Server Compact?
    http://www.microsoft.com/downloads/details.aspx?FamilyID=dc614aee-7e1c-4881-9c32-3a6ce53384d9&displaylang=en

    Is this enough or do we have to install via Setup.exe, which installs all msi-Files?  I don't think
    that we need Sync Services for Ado or the SDK?

    Thanks in advance!
    Stefan L.

    Monday, August 18, 2008 2:57 PM

Answers

  • Hello Stefan,

     

    I presume this is the case as the FileSyncprovider uses a SQLServer Compact-file to store it's mesadata.

     

    On the other hand, I have to include the SQLServer Compact 3.5 runtime with my application myself, when I want to use .sdf files in my application.

     

    Hans

    Wednesday, August 20, 2008 2:19 PM

All replies

  • Hello,

     

    You'll need the Synchronization.msi and ProviderServices.msi

     

    In your setup application (from within VS2008), you can check for other dependencies.

     

    Hans

    Tuesday, August 19, 2008 10:56 AM
  • Hello Hans,

    thanks for you answer! It works!!
    So ProviderServices.msi contains the runtime for SQLServer Compact Edition?

    Stefan L.
    Wednesday, August 20, 2008 9:47 AM
  • Hello Stefan,

     

    I presume this is the case as the FileSyncprovider uses a SQLServer Compact-file to store it's mesadata.

     

    On the other hand, I have to include the SQLServer Compact 3.5 runtime with my application myself, when I want to use .sdf files in my application.

     

    Hans

    Wednesday, August 20, 2008 2:19 PM
  • I was just about to post a very similar question when I spotted this thread. I've just a few more questions...

    I'm using VS 2005 rather than 2008, and I want to automate the installation of the sync framework and compact edition dependencies (i.e. I need
    my solution's setup.exe bootstrapper to handle it). This involves adding the necessary product.xml and package.xml files under [VS Root]\SDK\v2.0\BootStrapper\Packages. Is there anywhere I can find information on what should go in there? Even the product IDs for the various installers so that ComponentCheck.exe can be used?
    Tuesday, September 2, 2008 11:06 AM
  • Hello Dave,

     

    I created a Bootstrapper Package Myself, using the utility I loaded from Codeplex at http://www.codeplex.com/bmg/Release/ProjectReleases.aspx?ReleaseId=2215

     

    <?xml version="1.0" encoding="utf-8"?>
    <Product ProductCode="" xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper">
      <PackageFiles CopyAllPackageFiles="false">
        <PackageFile Name="synchronization.msi" PublicKey="3082010A0282010100A2DB0A8DCFC2C1499BCDAA3A34AD23596BDB6CBE2122B794C8EAAEBFC6D526C232118BBCDA5D2CFB36561E152BAE8F0DDD14A36E284C7F163F41AC8D40B146880DD98194AD9706D05744765CEAF1FC0EE27F74A333CB74E5EFE361A17E03B745FFD53E12D5B0CA5E0DD07BF2B7130DFC606A2885758CB7ADBC85E817B490BEF516B6625DED11DF3AEE215B8BAF8073C345E3958977609BE7AD77C1378D33142F13DB62C9AE1AA94F9867ADD420393071E08D6746E2C61CF40D5074412FE805246A216B49B092C4B239C742A56D5C184AAB8FD78E833E780A47D8A4B28423C3E2F27B66B14A74BD26414B9C6114604E30C882F3D00B707CEE554D77D2085576810203010001" />
        <PackageFile Name="providerservices.msi" PublicKey="3082010A0282010100A2DB0A8DCFC2C1499BCDAA3A34AD23596BDB6CBE2122B794C8EAAEBFC6D526C232118BBCDA5D2CFB36561E152BAE8F0DDD14A36E284C7F163F41AC8D40B146880DD98194AD9706D05744765CEAF1FC0EE27F74A333CB74E5EFE361A17E03B745FFD53E12D5B0CA5E0DD07BF2B7130DFC606A2885758CB7ADBC85E817B490BEF516B6625DED11DF3AEE215B8BAF8073C345E3958977609BE7AD77C1378D33142F13DB62C9AE1AA94F9867ADD420393071E08D6746E2C61CF40D5074412FE805246A216B49B092C4B239C742A56D5C184AAB8FD78E833E780A47D8A4B28423C3E2F27B66B14A74BD26414B9C6114604E30C882F3D00B707CEE554D77D2085576810203010001" />
      </PackageFiles>
      <Commands Reboot="Defer">
        <Command PackageFile="synchronization.msi">
          <ExitCodes>
            <ExitCode Value="0" Result="Success" />
            <DefaultExitCode Result="Fail" String="Anunexpectedexitcodewasr" FormatMessageFromSystem="true" />
          </ExitCodes>
        </Command>
        <Command PackageFile="providerservices.msi">
          <ExitCodes>
            <ExitCode Value="0" Result="Success" />
            <DefaultExitCode Result="Fail" String="Anunexpectedexitcodewasr" FormatMessageFromSystem="true" />
          </ExitCodes>
        </Command>
      </Commands>
    </Product>

     

     

    Wednesday, September 3, 2008 10:48 AM
  • Thanks Hans! I hadn't come across that Codeplex utility before - very useful.
    Thursday, September 4, 2008 10:57 AM
  •  

    Is this CodePlex utility still available?  When I navigate to this URL I get the message that "This project is not yet published." 

     

    I need to devise a deployment solution utilizing SQLExpress as the database instead of SQL CE.

    Wednesday, September 10, 2008 4:31 PM
  •  

     

    The Bootstrapper Manifest Generator project was moved. Here is the new download url:

     

    http://code.msdn.microsoft.com/bmg/Release/ProjectReleases.aspx?ReleaseId=1569

     

    Here's the main project page:

     

    http://code.msdn.microsoft.com/bmg

    Wednesday, October 15, 2008 2:08 AM