>From the documentation:
The folder must be specified in the Property attribute as the name of a
property that will have a value that resolves to the full path of the folder
before the CostInitialize action. Note that Directory ids cannot be used. For
more details, see the Remarks.
Before CostInitialize is critical. If it is defined only after CostInitialize,
you will get exactly the behavior you are experiencing.
Note also that:
<Property Id="INSTALLATIONPATHPROPERTY"
Secure="yes"
Value="[INSTALLATIONPATH]" />
won't work. The Property element does not handle formatted entities. So, what
you have done is set INSTALLATIONPATHPROPERTY literally to "[INSTALLATIONPATH]"
which will never work.
--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Enterprise
Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050
|[email protected]
-----Original Message-----
From: ronif [mailto:[email protected]]
Sent: Wednesday, May 6, 2015 8:41 AM
To: [email protected]
Subject: [WiX-users] Uninstall and util:RemoveFolderEx - not working
Hi,
util:RemoveFolderEx - doesn't seem to work..
I'm trying to delete the installation folder and its contents upon uninstall
(the contents were created after installation by the app so they are left on
the drive after uninstall).
What am I doing wrong?
code:
<Property Id="INSTALLATIONPATHPROPERTY"
Secure="yes"
Value="[INSTALLATIONPATH]" />
<Feature>..
<Component Id="InstalladtionPathCleanup"
Directory="InstallationPath"
Guid="897CEC8C-2633-4019-A1BA-15038A4FFBDE">
<Condition>
</Condition>
<CreateFolder Directory="InstallationPath" />
<util:RemoveFolderEx On="uninstall"
Property="INSTALLATIONPATHPROPERTY" />
</Component>
remarks:
1. SHOULDDELETEINSTALLATIONFOLDER - is a parameter I pass inside from my
managed bootstrapper application.
2. InstallationPath is defined like this:
<SetDirectory Id="InstallationPath"
Value="[INSTALLATIONPATH]" /> and is also passed from managed
bootstrapper application
anyone?
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Uninstall-and-util-RemoveFolderEx-not-working-tp7600191.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud Widest
out-of-the-box monitoring support with 50+ applications Performance metrics,
stats and reports that give you Actionable Insights Deep dive visibility with
transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
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.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users