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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to