Why not include both logos in your new msi and install only one
conditionally. 

Dave

-----Original Message-----
From: MeCoco [mailto:vcotirl...@hotmail.com] 
Sent: 23 November 2010 13:04
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] If file exists, don't update another file

Hi all,

I have to do the following: if in the installation folder there is a 
specific file, eg file.txt, then a specific file, eg mylogo.jpg should 
_not_ be updated.
The installer is doing always major upgrades.

My question is: assuming that the request can be done by using a 
conditional component (not yet sure how, but this is another story) 
could I do that if in the installer I have:
<RemoveExistingProducts After="InstallInitialize"/>? Or this won't work 
because the product is first completely removed and only then the new 
version installed, so basically the mylogo.jpg is gone as part of 
removing old products, so it won't be preserved, so the new one, the one

from the package will be installed?

If what I wrote above is correct, is there any other way to implement 
the above request (if in the installation folder there is a specific 
file, eg file.txt, then a specific file, eg mylogo.jpg should _not_ be 
updated) without changing the:
<RemoveExistingProducts After="InstallInitialize"/>? (I'm not allowed to

change the place of the removing old products)

Thank you in advance,
Mecoco

------------------------------------------------------------------------
------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for
grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to