[wix-users] Directory getting created in different drive

Hoover, Jacob Jacob.Hoover at greenheck.com
Thu Jan 18 08:40:07 PST 2018

Provide the authoring of your directory and it's parents.  Also are you using a SetProperty on the testDir anywhere?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Ven H via wix-users
Sent: Thursday, January 18, 2018 10:37 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Ven H <venh.123 at gmail.com>
Subject: [wix-users] Directory getting created in different drive

I have a Directory element in my Product.wxs file. It has an Id and Name attribute specified. Id="testDir" and Name="Test". I also have a component for this directory with KeyPath=yes and the component has a CreateFolder element wrapped in it, so that the directory gets created even if it is empty. This is being used in Virtual Directory for IIS. Now, when the directory gets provisioned as part of MSI installation, it gets created in D or E (a drive other than C), even though I didn't specify it anywhere.
The other components of the installation (files) are actually getting installed in C drive inside Program Files(x86), as expected. Can anyone please help me understand this?


WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list