It’s like I wrote: Windows Installer will first try to move files it intends on
either replacing or deleting. If that succeeds, then the directory can then be
removed (but only if empty).
Files that cannot be deleted (whether moved or not) are marked for deletion
upon the next reboot if the
Thanks for the clarification, that helps.
On 19-12-2013 14:55, Blair Murri wrote:
It’s like I wrote: Windows Installer will first try to move files it intends
on either replacing or deleting. If that succeeds, then the directory can
then be removed (but only if empty).
Files that cannot
There is no way (that I know of) to delete a directory where something
has an open handle on that. The only way is to make sure all programs
have stopped and no open programs have that as their current directory.
It's just like opening cmd.exe, cd'ing to a directory and trying to
delete that
Does it exist after a reboot? I seem to remember windows installer being smart
enough to schedule some cleanup after reboot (if it couldn't do them during
uninstall).
-Original Message-
From: David Connet [mailto:d...@agilityrecordbook.com]
Sent: Wednesday, December 18, 2013 8:25 AM
Hey David,
Thanks for the confirmation.I just checked after reboot as well, but
that does not happen. Anyways thanks again.
Regards,
SuvraJyoti
On 18-12-2013 19:54, David Connet wrote:
There is no way (that I know of) to delete a directory where something
has an open handle on that. The only
Yes it does exist after reboot as well.
On 18-12-2013 21:13, Hoover, Jacob wrote:
Does it exist after a reboot? I seem to remember windows installer being
smart enough to schedule some cleanup after reboot (if it couldn't do them
during uninstall).
-Original Message-
From: David
If a file being removed can’t be moved, then it will be marked for removal
during reboot, and unfortunately the folder will then be left behind (because
only file delete records are placed into the reboot sequence, not folders).
After reboot there isn’t an installation left to run to cleanup
Hey Blair,
The scenario you have mentioned in the first para of your response is
exactly what is happening. So is there no way that we can handle the
folder removal on uninstall even if that path is open, or this is a
known issue?
Regards,
SuvraJyoti
On 17-12-2013 14:14, Blair Murri wrote:
I just thought i needed to reiterate the issue for better clarity:
Below is the directory structure in my source .wxs file:
Directory Id='TARGETDIR' Name='SourceDir'
Directory Id='EnergySolutionsConfig' Name=Energy Solution
International
Directory Id='PFWServiceFolder'
Why not just try a RemoveFolder and see if it solves the problem? It is
the most likely solution, as suggested before.
Phil Wilson
On Tue, Dec 17, 2013 at 5:16 AM, Suvrajyoti Panda suvrajyo...@contata.co.in
wrote:
I just thought i needed to reiterate the issue for better clarity:
Below is
Hi Phil,
I modified the structure in my main WIX file as below:
Directory Id='TARGETDIR' Name='SourceDir'
Directory Id='EnergySolutionsConfig' Name=$(var.rootFolder)
Component Id=parentOfAll
Guid=22AD76A4-448E-41DB-85A0-A04E9774A466 KeyPath=yes
RemoveFolder Id=
Did you use CreateFolder to create this directory? If so I think you need to
use RemoveFolder to remove the folder. Not sure about that though.
-Original Message-
From: Suvrajyoti Panda [mailto:suvrajyo...@contata.co.in]
Sent: December-16-13 12:37 AM
To: General discussion about the
No Wesley, I have not used any create folder over here.
Regards,
SuvraJyoti
On 16-12-2013 20:03, Wesley Manning wrote:
Did you use CreateFolder to create this directory? If so I think you need to
use RemoveFolder to remove the folder. Not sure about that though.
-Original Message-
Hey Wesley,
checked it on a reboot, that does not work. The structure is still
there. Any others suggestions guys?
Regards,
SuvraJyoti
On 13-12-2013 20:13, Wesley Manning wrote:
It might be removed on a reboot. If you had folder open, then windows
installer can't uninstall it. But I think
It might be removed on a reboot. If you had folder open, then windows
installer can't uninstall it. But I think it marks it for removal. I know for
sure files have this behaviour but I'm not sure about folders.
-Original Message-
From: Suvrajyoti Panda
Hi All,
I just saw this behaviour. My installer creates the following
:C:\Energy Solutions International\PFWService\config, if this path is
open and i run the uninstall from control panel, then the path
remains(C:\Energy Solutions International\PFWService\config) although
files under it is
16 matches
Mail list logo