1

We need to add new folders and files to existing release.

We know that adding new files is possible through patch [msp].

[For process related reasons they do not want to go minor upgrade]

But is it possible to add new folders also via msp?

Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230

1 Answers1

3

Sure. You can add components to a feature during a patch and that component can have a CreateFolder element.

Christopher Painter
  • 54,556
  • 6
  • 63
  • 100
  • Thanks . i have referred the wix book and did it. your answer was starting point – Samselvaprabu Aug 14 '12 at 06:12
  • But adding new components to a feature requires reinstallation of that (whole)feature when patching and so requires the original source msi file. See Community Additions section of [http://msdn.microsoft.com/en-us/library/windows/desktop/aa367850%28v=vs.85%29.aspx](http://msdn.microsoft.com/en-us/library/windows/desktop/aa367850%28v=vs.85%29.aspx) – David Johns Aug 14 '13 at 01:05
  • So cache the original MSI when you first install it. He asked if it is possible and it is. The other rule to be aware of is to design and test your servicing strategy *BEFORE* you ship your product. There are also other tricks out there such as creating a new feature. – Christopher Painter Aug 14 '13 at 13:27