Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9297183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T22:00:26+00:00 2026-06-18T22:00:26+00:00

According to the WiX documentation, EACH file should be wrapped with component tag. What

  • 0

According to the WiX documentation, EACH file should be wrapped with component tag.
What is the meaning of it? What if I put under one component multiple files? I don’t find
a clear answer on subject. How does it affects the product upgrade?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T22:00:27+00:00Added an answer on June 18, 2026 at 10:00 pm

    Basically it will break the “repair” option in your installer. Imagine the scenario, you have one component with 3 files:

    <Component Id="FilesToInstall">
        <File Id="FileA" Source="[PathToFileA]" KeyPath="yes" />
        <File Id="FileB" Source="[PathToFileB]" />
        <File Id="FileC" Source="[PathToFileB]" />
    </Component>
    

    Notice you have to set one of the files as a KeyPath and you can only set one per component.

    Now if for some reason FileA gets deleted or corrupted after the install, you can do a repair and windows installer will check that file, find it is deleted or corrupted and mark the component for re-installation. This will then replace FileA, FileB and FileC with the correct versions inside the installer.

    However if FileB or FileC are missing or corrupted but FileA is still OK, then windows installer will not replace anything as it will see the Component as valid.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According to this article from Herb Sutter, one should always pick Class Specializing over
According to this question and the documentation of attr_readonly the following should be possible:
According to this question ( How should I handle product upgrades in a WiX
According to my requirement. Suppose I have below files abc.h //used for C file
According to Hibernate documentation : After observing that arrays cannot be lazy , you
According to docs at http://code.google.com/p/minify/wiki/UriRewriting $min_serveOptions['rewriteCssUris'] = false; I should be able to add
I put together a WiX 3.0 package, utilizing the DIFx extensions, with the intentions
According to the official documentation, when there is a new RawContact inserted to the
According to this post In order to create a Scala compiler plugin, one needs
I have a Wix installer which should be allowed to run on Windows Server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.