Home > Allgemein > Dateien mehrfach installieren

Dateien mehrfach installieren

Möchte man die gleiche Datei mehrfach installieren, sprich in verschiedene Verzeichnisse, so stößt man schnell auf Fehlermeldungen verschiedenster Art.
Eine mögliche Umsetzung ist folgende:

    <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
        <Product>

            <Directory Id='TARGETDIR' Name='SourceDir'>
                <Directory Id='ProgramFilesFolder'>
                    <Directory Id='COMPANYFOLDER' Name='$(var.CompanyName)' />
                </Directory>
            </Directory>

            <ComponentGroup Id="Saar_A0_Quer.mxt">
                <Component Id="Saar_A0_Quer.mxt" Directory="APPLICATIONFOLDERTEMPLATEARCGIS" Guid="77B26FE2-607B-41D6-939E-2600F350F031">
                    <File Id="Saar_A0_Quer.mxt" KeyPath="yes" Source="$(var.Path_DataTemplates)\Saar_A0_Quer.mxt" />
                </Component>
                <Component Id="ArcGisCopy_Saar_A0_Quer.mxt" Directory="ARCGISROOTTEMPLATESPROJECT1" Guid="77B26FE2-607B-41D6-939E-2600F350F032">
                    <File Id="ArcGisCopy_Saar_A0_Quer.mxt" KeyPath="yes" Source="$(var.Path_DataTemplates)\Saar_A0_Quer.mxt" />
                </Component>
            </ComponentGroup>

            <Feature Id='FeatureDesktop' Title='Desktopinstallation' Level='30' Display='expand' >
                    <ComponentGroupRef Id='Saar_A0_Quer.mxt' />
            </Feature>

        </Product>
    </Wix>
  1. Bisher keine Kommentare
*

Kommentare werden moderiert. Es kann etwas dauern, bis dein Kommentar angezeigt wird.