The custom action scans a root directory and adds the necessary
RemoveFile/RemoveFolder temporary rows to the MSI (as it is runnin) and the
Windows Installer handles deleting folders and rolling back and all that.

On Fri, Mar 2, 2012 at 2:36 PM, victorwhiskey <victorhwhis...@yahoo.com>wrote:

> I've been trying to understand this, but how would it help if you don't
> know
> what's goign to be written upfront?
>
>
> Rob Mensching-7 wrote
> >
> > Use the RemoveFile or RemoveFolder element. If you don't know everything
> > up
> > front, add temporary rows to those tables. The wix-contrib project on
> > codeplex.com has a custom action that does the latter.
> >
> > Don't try to remove files from non-logged in users. You'll just hose
> > roaming profiles.
> >
> > On Tue, Feb 28, 2012 at 8:25 AM, victorwhiskey
> > <victorhwhiskey@>wrote:
> >
> >> What's the best way of removing files/directories the installer doesn't
> >> know
> >> about then? Say, the app writes to <user>/x.log.  Also, the uninstall
> >> will
> >> only remove the user who is uninstalling the app right?
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/General-Installer-question-tp7324586p7325988.html
> >> Sent from the wix-users mailing list archive at Nabble.com.
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Keep Your Developer Skills Current with LearnDevNow!
> >> The most comprehensive online learning library for Microsoft developers
> >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> >> Metro Style Apps, more. Free future releases when you subscribe now!
> >> http://p.sf.net/sfu/learndevnow-d2d
> >> _______________________________________________
> >> WiX-users mailing list
> >> WiX-users@.sourceforge
> >> https://lists.sourceforge.net/lists/listinfo/wix-users
> >>
> >
> >
> >
> > --
> > virtually, Rob Mensching - http://RobMensching.com LLC
> >
> ------------------------------------------------------------------------------
> > Virtualization & Cloud Management Using Capacity Planning
> > Cloud computing makes use of virtualization - but cloud computing
> > also focuses on allowing computing to be delivered as a service.
> > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@.sourceforge
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/General-Installer-question-tp7324586p7338222.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to