{"id":46,"date":"2010-01-18T15:37:29","date_gmt":"2010-01-18T14:37:29","guid":{"rendered":"http:\/\/maxglas.de\/blog\/?p=46"},"modified":"2010-01-18T15:37:29","modified_gmt":"2010-01-18T14:37:29","slug":"dateien-mehrfach-installieren","status":"publish","type":"post","link":"https:\/\/blog.maxglas.de\/?p=46","title":{"rendered":"Dateien mehrfach installieren"},"content":{"rendered":"<p>M\u00f6chte man die gleiche Datei mehrfach installieren, sprich in verschiedene Verzeichnisse, so st\u00f6\u00dft man schnell auf Fehlermeldungen verschiedenster Art.<br \/>\nEine m\u00f6gliche Umsetzung ist folgende:<\/p>\n<p>[xml]<br \/>\n    &lt;Wix xmlns=&#8217;http:\/\/schemas.microsoft.com\/wix\/2006\/wi&#8216;&gt;<br \/>\n        &lt;Product&gt;<\/p>\n<p>            &lt;Directory Id=&#8217;TARGETDIR&#8216; Name=&#8217;SourceDir&#8216;&gt;<br \/>\n                &lt;Directory Id=&#8217;ProgramFilesFolder&#8216;&gt;<br \/>\n                    &lt;Directory Id=&#8217;COMPANYFOLDER&#8216; Name=&#8217;$(var.CompanyName)&#8216; \/&gt;<br \/>\n                &lt;\/Directory&gt;<br \/>\n            &lt;\/Directory&gt;<\/p>\n<p>            &lt;ComponentGroup Id=&quot;Saar_A0_Quer.mxt&quot;&gt;<br \/>\n                &lt;Component Id=&quot;Saar_A0_Quer.mxt&quot; Directory=&quot;APPLICATIONFOLDERTEMPLATEARCGIS&quot; Guid=&quot;77B26FE2-607B-41D6-939E-2600F350F031&quot;&gt;<br \/>\n                    &lt;File Id=&quot;Saar_A0_Quer.mxt&quot; KeyPath=&quot;yes&quot; Source=&quot;$(var.Path_DataTemplates)\\Saar_A0_Quer.mxt&quot; \/&gt;<br \/>\n                &lt;\/Component&gt;<br \/>\n                &lt;Component Id=&quot;ArcGisCopy_Saar_A0_Quer.mxt&quot; Directory=&quot;ARCGISROOTTEMPLATESPROJECT1&quot; Guid=&quot;77B26FE2-607B-41D6-939E-2600F350F032&quot;&gt;<br \/>\n                    &lt;File Id=&quot;ArcGisCopy_Saar_A0_Quer.mxt&quot; KeyPath=&quot;yes&quot; Source=&quot;$(var.Path_DataTemplates)\\Saar_A0_Quer.mxt&quot; \/&gt;<br \/>\n                &lt;\/Component&gt;<br \/>\n            &lt;\/ComponentGroup&gt;<\/p>\n<p>            &lt;Feature Id=&#8217;FeatureDesktop&#8216; Title=&#8217;Desktopinstallation&#8216; Level=&#8217;30&#8216; Display=&#8217;expand&#8216; &gt;<br \/>\n                    &lt;ComponentGroupRef Id=&#8217;Saar_A0_Quer.mxt&#8216; \/&gt;<br \/>\n            &lt;\/Feature&gt;<\/p>\n<p>        &lt;\/Product&gt;<br \/>\n    &lt;\/Wix&gt;<br \/>\n[\/xml]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>M\u00f6chte man die gleiche Datei mehrfach installieren, sprich in verschiedene Verzeichnisse, so st\u00f6\u00dft man schnell auf Fehlermeldungen verschiedenster Art. Eine m\u00f6gliche Umsetzung ist folgende: [xml] &lt;Wix xmlns=&#8217;http:\/\/schemas.microsoft.com\/wix\/2006\/wi&#8216;&gt; &lt;Product&gt; &lt;Directory Id=&#8217;TARGETDIR&#8216; Name=&#8217;SourceDir&#8216;&gt; &lt;Directory Id=&#8217;ProgramFilesFolder&#8216;&gt; &lt;Directory&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3],"class_list":["post-46","post","type-post","status-publish","format-standard","hentry","category-allgemein","tag-wix"],"_links":{"self":[{"href":"https:\/\/blog.maxglas.de\/index.php?rest_route=\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.maxglas.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.maxglas.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.maxglas.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.maxglas.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=46"}],"version-history":[{"count":2,"href":"https:\/\/blog.maxglas.de\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":48,"href":"https:\/\/blog.maxglas.de\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions\/48"}],"wp:attachment":[{"href":"https:\/\/blog.maxglas.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.maxglas.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.maxglas.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}