Thanks for your replies. I just noticed I mixed it up with the
behavior of RegistryKey's Action attribute. Obviously I will go for
your solution. Thanks again!

On 4 August 2010 16:17, Pally Sandher <pally.sand...@iesve.com> wrote:
> Well as Peter & David pointed out & as the WiX 
> (http://wix.sourceforge.net/manual-wix3/wix_xsd_removefolder.htm) & MSDN 
> (http://msdn.microsoft.com/library/aa371201.aspx) documentation says, 
> RemoveFolder only removes empty directories.
>
> As I tried to point out, if someone removes the app your add-on is for first 
> it won't (shouldn't) delete the folder since your package has put extra stuff 
> in there. When the user then uninstalls your app, the empty directory would 
> be left behind because you'd suppressed the ICE warning/error instead of 
> following standard practices when using Windows Installer. An empty directory 
> isn't going to break the users system (hopefully) but when you start ignoring 
> one trivial thing here & something insignificant somewhere else, it soon adds 
> up & your users start to think about using something else because they don't 
> want a hosed system just to use your product.
>
> Palbinder Sandher
> Software Deployment & IT Administrator
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the <Virtual Environment>**
> Integrated Environmental Solutions Limited. Registered in Scotland No. 
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park, Glasgow 
> G20 0SP
> Email Disclaimer
>
> -----Original Message-----
> From: Christian Tusch [mailto:ctu...@gmail.com]
> Sent: 04 August 2010 15:03
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] ICE64, can't use RemoveFolder
>
> No, I was just assuming since I've read that RemoveFolder is often used to 
> delete folders to which the application has added files manually.
>
> On 4 August 2010 15:55, Pally Sandher <pally.sand...@iesve.com> wrote:
>> Have you actually tested it & seen that behaviour?
>>
>> Palbinder Sandher
>> Software Deployment & IT Administrator
>> T: +44 (0) 141 945 8500
>> F: +44 (0) 141 945 8501
>>
>> http://www.iesve.com
>> **Design, Simulate + Innovate with the <Virtual Environment>**
>> Integrated Environmental Solutions Limited. Registered in Scotland No.
>> SC151456 Registered Office - Helix Building, West Of Scotland Science
>> Park, Glasgow G20 0SP Email Disclaimer
>>
>> -----Original Message-----
>> From: Christian Tusch [mailto:ctu...@gmail.com]
>> Sent: 04 August 2010 14:49
>> To: General discussion for Windows Installer XML toolset.
>> Subject: Re: [WiX-users] ICE64, can't use RemoveFolder
>>
>> But then the uninstall will remove the folder even when the original 
>> application is still installed.
>>
>> On 4 August 2010 14:59, Pally Sandher <pally.sand...@iesve.com> wrote:
>>> What happens if someone uninstalls the app your add-on is for then
>>> uninstalls your add-on?
>>>
>>> Use RemoveFolder don't suppress any ICE warnings/errors.
>>>
>>> Palbinder Sandher
>>> Software Deployment & IT Administrator
>>> T: +44 (0) 141 945 8500
>>> F: +44 (0) 141 945 8501
>>>
>>> http://www.iesve.com
>>> **Design, Simulate + Innovate with the <Virtual Environment>**
>>> Integrated Environmental Solutions Limited. Registered in Scotland No.
>>> SC151456
>>> Registered Office - Helix Building, West Of Scotland Science Park,
>>> Glasgow G20 0SP Email Disclaimer
>>>
>>> -----Original Message-----
>>> From: Christian Tusch [mailto:ctu...@gmail.com]
>>> Sent: 04 August 2010 13:35
>>> To: General discussion for Windows Installer XML toolset.
>>> Subject: [WiX-users] ICE64, can't use RemoveFolder
>>>
>>> Hello,
>>>
>>> I have the following XML snippet:
>>>
>>> <Directory Id="ProgramMenuFolder">
>>>  <Directory Id="MyAppLinkDir" Name="MyApp"/> </Directory>
>>>
>>> Since I'm only putting shortcuts in there I'm receiving an ICE64. I
>>> know I could suppress this by using RemoveFolder but the thing is my
>>> setup just installs an add-on. That means I don't want to remove the folder.
>>> Is my only option to suppress ICE64?
>>>
>>> ---------------------------------------------------------------------
>>> -
>>> --
>>> ------
>>> The Palm PDK Hot Apps Program offers developers who use the Plug-In
>>> Development Kit to bring their C/C++ apps to Palm for a share of $1
>>> Million in cash or HP Products. Visit us here for more details:
>>> http://p.sf.net/sfu/dev2dev-palm
>>> _______________________________________________
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> -
>>> -------- The Palm PDK Hot Apps Program offers developers who use the
>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>>> of $1 Million in cash or HP Products. Visit us here for more details:
>>> http://p.sf.net/sfu/dev2dev-palm
>>> _______________________________________________
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>
>> ----------------------------------------------------------------------
>> -------- The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 
>> Million in cash or HP Products. Visit us here for more details:
>> http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>>
>> ----------------------------------------------------------------------
>> -------- The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>> http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the Plug-In 
> Development Kit to bring their C/C++ apps to Palm for a share of $1 Million 
> in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to