[wix-users] Empty Folders

KONDURU Pavan Pavan.KONDURU at 3ds.com
Wed Nov 11 16:12:41 PST 2015


Hi Edward,

Harvest does create an empty folder but that component cannot have a '*' as the GUID, hence the process fails.

I had this issue at one point from what I remember.

--Pavan

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Edwin Castro
Sent: Wednesday, November 11, 2015 3:12 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Empty Folders

On Wed, Nov 11, 2015 at 1:27 PM, George Legge <george at haglis.co.uk> wrote:

> I know this subject has been raised many times but I am interested to
> know why Windows Installer doesn't like creating empty folders when
> its done via a Harvest, even using the KeepEmptyFolders parameter, but
> creating them using the <CreateFolder /> element in a Component is fine ?
>

What do you mean by "Windows Installer doesn't like creating empty folders when its done via a Harvest, even using the KeepEmptyFolders parameter"?

The Windows Installer creates folders as needed in order to install files in the File table associated with a selected component in the Component table. To create an empty folder you must associate the folder in the Directory table with a component in the Component table by using the CreateFolder table. The way this is done in WiX is to use <CreateFolder/> inside a <Component/>.

Are you saying the Harvest with the KeepEmptyFolders parameter (this is done by heat.exe -ke) is generating a .wxs that does not have <CreateFolder/> elements inside of <Component/> elements for your empty folders?

--
Edwin G. Castro

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer



More information about the wix-users mailing list