CREATE TABLE Branding ( ProductID TEXT NOT NULL REFERENCES Suites (ProductID),resource_type TEXT NOT NULL,resource_data TEXT NOT NULL,PRIMARY KEY (ProductID, resource_type) )
CREATE TABLE DependencyData( PayloadID TEXT NOT NULL REFERENCES Payloads (PayloadID),PayloadIDb TEXT ,type TEXT NOT NULL ,product_family TEXT, product_name TEXT, version TEXT, PRIMARY KEY (PayloadID,PayloadIDb,type,product_family,product_name,version))
CREATE TABLE EULA_Files( productID TEXT NOT NULL, langCode TEXT NOT NULL,eula TEXT NOT NULL,PRIMARY KEY (productID, langCode) )
CREATE TABLE PayloadData( PayloadID TEXT NOT NULL REFERENCES Payloads (PayloadID),domain TEXT NOT NULL,key TEXT NOT NULL,value TEXT NOT NULL,PRIMARY KEY (PayloadID, domain, key) )
CREATE TABLE Payloads( PayloadID TEXT NOT NULL, payload_family TEXT NOT NULL,payload_name TEXT NOT NULL, payload_version TEXT NOT NULL,payload_type TEXT NOT NULL,PRIMARY KEY (PayloadID) )
CREATE TABLE SuitePayloads( ProductID TEXT NOT NULL REFERENCES Suites (ProductID),PayloadID TEXT NOT NULL REFERENCES Payloads (PayloadID),PRIMARY KEY (ProductID, PayloadID) )
CREATE TABLE Suites( ProductID TEXT NOT NULL, group_name TEXT NOT NULL, group_family TEXT NOT NULL, display_name TEXT NOT NULL, PRIMARY KEY (ProductID) )
CREATE TABLE EULA_Ref( productID TEXT NOT NULL, langCode TEXT NOT NULL, eula_hash TEXT NOT NULL, PRIMARY KEY (productID, langCode) )
CREATE TABLE EULA_Content(eula_hash TEXT NOT NULL, Content TEXT NOT NULL, PRIMARY KEY (eula_hash))
CREATE TABLE IF NOT EXISTS pcd_meta ( key TEXT NOT NULL, value TEXT NOT NULL, PRIMARY KEY (key) )
INSERT OR REPLACE INTO pcd_meta (key, value) VALUES ('schema_version', 2)
INSERT OR REPLACE INTO pcd_meta (key, value) VALUES ('schema_compatibility_version', 1)
INSERT INTO DependencyData VALUES	("{D9BB636C-8D4E-1014-BDA3-9FE36B5694FE}", "", "langPack", "InDesign", "Adobe InDesign CS6 Application Base Files", "8.0")
INSERT INTO PayloadData VALUES("{D9BB636C-8D4E-1014-BDA3-9FE36B5694FE}", "0" , "ValidationInfo", '<ValidationInfo payloadID="{D9BB636C-8D4E-1014-BDA3-9FE36B5694FE}"/>')
INSERT INTO PayloadData VALUES("{D9BB636C-8D4E-1014-BDA3-9FE36B5694FE}", "0" , "ValidationSig", "YIU+Zxix27Wa3BvsSnJBDd/fwBI/L8AH+Aww+YvSkBt0KGhcVpVNcL7qiX6aIaAvi5obwhVc5p7yeQxEBskkI/+f248QfG8kRYsPneBdc5TpewG0JrpTdMJrW/fygNl93D1bOmpWsEceI0auViuGpg+a6E6/+kKXvBrEYUiSlgjsNNSzom3xAme8rWaMk57PtE0SKCAZ9NZokbklSPFtqi+PUfhvuNEdw73imTuQWmoKtfW+Hm3t2/K8+9I03LT4qhavG/zBeL2yDdgKOXJNZA5ZDgBnYQDrdNNY/KnC/cw010iyrcJM+CdJtXUvhfCQ4wnwBveeZP/zwZCSZUoL9F8fIi8URNwTXMP2O3gDnbpPsSU78TtuVedCS3BBKmg1RO6uBZFACPK32uxhZWIWYR61O0tr1qfUhrfATuJHcsBvRItMnYgetW7isUj90HijPDfElKVnBLZLoGRZDSG71OR3Znv7cDt+3SR0kfHgHW/CQe3eN1BiYj4DXYoCsHi7")
INSERT INTO Payloads VALUES	("{D9BB636C-8D4E-1014-BDA3-9FE36B5694FE}", "InDesign", "Adobe InDesign CS6 Application Language Files_AdobeInDesign8AppLang-sv_SE", "8.0", "langPack")
INSERT INTO PayloadData VALUES("{D9BB636C-8D4E-1014-BDA3-9FE36B5694FE}", "0" , "KeyFolder", "[INSTALLDIR]/Adobe InDesign CS6")
INSERT INTO PayloadData VALUES("{D9BB636C-8D4E-1014-BDA3-9FE36B5694FE}", "0" , "PayloadInfo", '<PayloadInfo version="6.0.29.0"><BuildInfo>
    <Property name="Created">2012-03-28 23:25:59.925000</Property>
    <Property name="TargetName">AdobeInDesign8AppLang-sv_SE</Property>
    <Property name="ProcessorFamily">All</Property>
  </BuildInfo><InstallerProperties>
    <Property name="payloadType">SQLite</Property>
    <Property name="AdobeCode">{D9BB636C-8D4E-1014-BDA3-9FE36B5694FE}</Property>
    <Property name="ProductName">Adobe InDesign CS6 Application Language Files (sv_SE)</Property>
    <Property name="ProductVersion">8.0</Property>
    <Property name="KeyFolder">[INSTALLDIR]/Adobe InDesign CS6</Property>
  </InstallerProperties><InstallDir>
    <Platform isFixed="0" name="Default" folderName="Adobe InDesign CS6">[AdobeProgramFiles]</Platform>
  </InstallDir><Languages>
    <Language>sv_SE</Language>
  </Languages><Satisfies>
    <ProductInfo>
        <Family>InDesign</Family>
        <ProductName>Adobe InDesign CS6 Application Language Files_AdobeInDesign8AppLang-sv_SE</ProductName>
    <ProductVersion>8.0</ProductVersion>
    </ProductInfo>
  </Satisfies><Channel enable="1" id="AdobeInDesignCS6ApplicationLanguageFilessv_SE-8.0">
    <DisplayName>Adobe InDesign CS6 Application Language Files (sv_SE)</DisplayName>
  </Channel><Extends type="langPack">
    <ParentProductInfo minVersion="8.0">
                    <Family>InDesign</Family>
                    <ProductName>Adobe InDesign CS6 Application Base Files</ProductName>
                </ParentProductInfo>
  </Extends><InstallDestinationMetadata relocatableSize="688942" sysDriveSize="8548969"><Destination>
      <Root>[INSTALLDIR]</Root>
      <TotalSize>688942</TotalSize>
      <MaxPathComponent>/Adobe InDesign CS6/Presets/Find-Change Queries/Text/sv_SE\Straight Double to Typographers Quote.xml</MaxPathComponent>
    </Destination>
    <Destination>
      <Root>[SharedApplicationData]</Root>
      <TotalSize>8548965</TotalSize>
      <MaxPathComponent>/Adobe/InDesign/Version 8.0/sv_SE/Extensions\idcs6_General Preferences Panel.zxp</MaxPathComponent>
    </Destination>
    <Destination>
      <Root>[AdobeCommon]</Root>
      <TotalSize>4</TotalSize>
      <MaxPathComponent>/Installers/AdobeInDesign8AppLang\keyfile-sv_SE</MaxPathComponent>
    </Destination>
    <Assets>
      <Asset flag="0" name="Assets2_1" size="8548969"/>
      <Asset flag="1" name="Assets1_1" size="688942"/>
    </Assets>
  </InstallDestinationMetadata><ConflictingProcesses>
	<Win32>
	</Win32>
</ConflictingProcesses><AddRemoveInfo>
    <DisplayVersion>
      <Value lang="sv_SE">8.0</Value>
    </DisplayVersion>
    <DisplayName>
      <Value lang="sv_SE">Adobe InDesign CS6 Application Language Files (sv_SE)</Value>
    </DisplayName>
  </AddRemoveInfo><UserPreferences>0</UserPreferences></PayloadInfo>')
INSERT INTO PayloadData VALUES("{D9BB636C-8D4E-1014-BDA3-9FE36B5694FE}", "0" , "WorkflowVersion", "CS6")
INSERT INTO PayloadData VALUES("{D9BB636C-8D4E-1014-BDA3-9FE36B5694FE}", "0" , "DEVersion", "6.0")
INSERT INTO PayloadData VALUES("{D9BB636C-8D4E-1014-BDA3-9FE36B5694FE}", "0", "ChannelID", "AdobeInDesignCS6ApplicationLanguageFilessv_SE-8.0")
INSERT INTO PayloadData VALUES("{D9BB636C-8D4E-1014-BDA3-9FE36B5694FE}", "0", "ChannelInfo", '<Channel enable="1" id="AdobeInDesignCS6ApplicationLanguageFilessv_SE-8.0">
    <DisplayName>Adobe InDesign CS6 Application Language Files (sv_SE)</DisplayName>
  </Channel>')
