Windows Installer tracks files by components, which usually consist of an 
executable file and possibly its shortcuts or other resources.  If a file is 
installed in a single directory by two different installers, using two 
different component codes, Windows Installer cannot recognize that the file is 
in use by two applications, and so either being uninstalled will remove it.

You might want to take a look at the Microsoft Windows Installer documentation 
on components and how they work to see how you need to install your files.  If 
you are installing files that are not yours, you may want to look into using 
merge modules or installs provided by the author, instead of including them 
with new component codes as though they were your own.

Hope this helps.

-----Original Message-----
From: Jim [mailto:jimoth...@gmail.com] 
Sent: Tuesday, April 19, 2011 6:27 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Leave files which existed before installation after 
uninstall

Hi,

I am very new to wix and I want to create an install which upon removal leaves 
behind any files which are part of my installer but existed before I installed 
my application.

I am not sure the best way of achieving this (or even if it is possible).

The files in my installer may well be identical to those that already exist. My 
experiments so far show that upon removal files that existed before the 
installation are removed and I am not sure how to prevent that (or even if you 
can)

Thanks

Jim

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- 
Increasing the use of server virtualization is a top priority.Virtualization 
can reduce costs, simplify management, and improve application availability and 
disaster protection. Learn more about boosting the value of server 
virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to