[wix-users] About the component rules I think.

Orzyszek Andreas Andreas.Orzyszek at dentsplysirona.com
Mon Mar 7 06:44:08 PST 2016


Hi

I am not sure if i got this right.
Let’s say I have 2 different products MSI A and MSI B.

MSI A contains this wix code:

<Directory Id="TARGETDIR" Name="SourceDir">
  <Directory Id="ProgramFilesFolder" Name="PFiles">
    <Directory Id="test" Name="test">
      <Component Id="test" Guid="YOURGUID-4884-4A01-AA04-84B92D222428" Win64="yes">
        <CreateFolder/>
      </Component>
      <Directory Id=”TestApp1” Name=”App1”>
        … some file file1
      </Directory>
    </Directory>
  </Directory>
</Directory>

And MSI B contains this code:

<Directory Id="TARGETDIR" Name="SourceDir">
  <Directory Id="ProgramFilesFolder" Name="PFiles">
    <Directory Id="test" Name="test">
      <Component Id="test" Guid="YOURGUID-4884-4A01-AA04-84B92D222428" Win64="yes">
        <CreateFolder/>
      </Component>
      <Directory Id=”TestApp2” Name=”App2”>
        … some file file2
      </Directory>
    </Directory>
  </Directory>
</Directory>

In the end this gets MSI A and MSI B installed under a common folder.
Does using the same Guid="YOURGUID-4884-4A01-AA04-84B92D222428" violate the component rules?

Because I can’t use Guid=”*” here I have to generate a new Guid manually for every new build?

Regards,

Andreas Orzyszek




-----------------------------------------------------------------------------------------------------------
Sirona Dental Systems GmbH • HRB 24948 •
Vorsitzender des Aufsichtsrats: Dr. Erich Blum •
Sirona Dental Services GmbH • HRB 25817 •
Geschäftsführung: Rainer Berthan • Michael Geil •
Sitz der Gesellschaften: Bensheim • Registergericht: AG Darmstadt •
------------------------------------------------------------------------------------------------------------
Diese E-Mail ist ausschliesslich fuer den angesprochenen Adressaten
bestimmt und kann vertrauliche Informationen beinhalten.
--
This e-mail is intended only for the designated recipient(s). It may
contain confidential or proprietary information.
------------------------------------------------------------------------------------------------------------


More information about the wix-users mailing list