Re: [WiX-users] General Installer question
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 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 > > wrote: > > > >> What's the best way of removing files/directories the installer doesn't > >> know > >> about then? Say, the app writes to /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
Re: [WiX-users] General Installer question
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 >wrote: > >> What's the best way of removing files/directories the installer doesn't >> know >> about then? Say, the app writes to /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
Re: [WiX-users] General Installer question
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 wrote: > What's the best way of removing files/directories the installer doesn't > know > about then? Say, the app writes to /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@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
Re: [WiX-users] General Installer question
Raymond agrees with you ;=) http://blogs.msdn.com/b/oldnewthing/archive/2007/09/17/4948130.aspx Phil W -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Tuesday, February 28, 2012 7:06 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] General Installer question Generally: Don't. If it's user data leave it. Not always the most ideal but the best option from installation point of view. On Mon, Feb 27, 2012 at 10:04 PM, victorwhiskey wrote: > What's the opinion on leaving files/directories behind on uninstall? > Applications write files/directories the installer doesn't know about, > especially user specific ones. But the installer doesn't know about the > files/directories created. > > What's the best way to go about cleaning them? Enumerating through all > users > could be a lot...? > > Thanks > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/General-Installer-question-tp7324586p7324586.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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching - http://RobMensching.com LLC -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] General Installer question
What's the best way of removing files/directories the installer doesn't know about then? Say, the app writes to /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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] General Installer question
Generally: Don't. If it's user data leave it. Not always the most ideal but the best option from installation point of view. On Mon, Feb 27, 2012 at 10:04 PM, victorwhiskey wrote: > What's the opinion on leaving files/directories behind on uninstall? > Applications write files/directories the installer doesn't know about, > especially user specific ones. But the installer doesn't know about the > files/directories created. > > What's the best way to go about cleaning them? Enumerating through all > users > could be a lot...? > > Thanks > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/General-Installer-question-tp7324586p7324586.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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching - http://RobMensching.com LLC -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] General Installer question
What's the opinion on leaving files/directories behind on uninstall? Applications write files/directories the installer doesn't know about, especially user specific ones. But the installer doesn't know about the files/directories created. What's the best way to go about cleaning them? Enumerating through all users could be a lot...? Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/General-Installer-question-tp7324586p7324586.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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users