[wix-users] Directory getting created in different drive
Ven H
venh.123 at gmail.com
Thu Jan 18 08:50:56 PST 2018
Here it is. No, I am not using SetProperty anywhere.
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLDIR" Name="$(var.InstallFolderName)" />
</Directory>
<Directory Id="DesktopFolder" Name="Desktop" />
<Directory Id="PhotosDir" Name="Photos" /> --> *This directory
(Photos) gets provisioned in D or E drive*
<Directory Id="CommonAppDataFolder">
<Directory Id="TestInstallerLogs" Name="TestInstallerLogs">
<Component Id="deleteFolder"
Guid="323549D2-90B7-4D5D-8A36-EEA0ACCCC35E">
<RemoveFile Id="deleteServiceFile" Name="TestWinSvcLog.txt"
On="both" Directory="TestInstallerLogs"/>
<RemoveFolder Directory="TestInstallerLogs"
Id="TestInstallerLogs" On="both"/>
</Component>
</Directory>
</Directory>
</Directory>
</Fragment>
Regards,
Venkatesh
On Thu, Jan 18, 2018 at 10:10 PM, Hoover, Jacob <Jacob.Hoover at greenheck.com>
wrote:
> 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?
>
>
> Regards,
> Venkatesh
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
More information about the wix-users
mailing list