[wix-users] Copied File (Existed) is not getting uninstalled

John Cooper JoCooper at jackhenry.com
Wed Jul 27 17:44:20 PDT 2016


By design.  The target of the CopyFile is unmanaged.

--
John Merryweather Cooper
Senior Software Engineer -- Integration Development Group -- Enterprise Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Office:  913-341-3434x431050
JoCooper at jackhenry.com





-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Anna Flyam | Landtech
Sent: Wednesday, July 27, 2016 7:00 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Copied File (Existed) is not getting uninstalled

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

First of all I would like to express my gratitude to this amazing support group. Most of the time I am able to find the answers to my questions, but if I can't, it's great to be able to ask here and receive almost immediate response. Many thanks to Phill, Rob, and Jacob.
Below is my next issue.

In order to copy existing files during the install, I nested the CopyFile element inside its own component element. The component element that hols the CopyFile has its KeyPath set to "yes":

<ComponentGroup Id="ExistingDataComponents" Directory="ProgramD">
      <Component Id="CMP_ExistingDataCopy"
Guid="{0B18339C-36E2-40AA-BDAF-E70A4E6C27AC}" KeyPath="yes">
        <CopyFile Id="ExisingData" DestinationDirectory="ProgramD"
SourceProperty="NONMSIINSTALLPATH" SourceName="Myfile.dat" />
      </Component>
 </ComponentGroup>

CopyFile works, but this file is not getting uninstalled.
The KeyPath for this component is blank. What am I missing?

Thanks in advance,
Anna

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

NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.



More information about the wix-users mailing list