Re: [WiX-users] Exclude some files and folders in later version installation and patch

2015-04-21 Thread David Watson
I suspect you have removed the files from the folder that you run heat on, this means that they will have been removed from the upgrade MSI. In this case windows installer will remove the files from the target pc as you have removed them from the wix. An msi describes the state of the machine

Re: [WiX-users] Exclude some files and folders in later version installation and patch

2015-04-20 Thread nithin v
Hi, I even tried to use boostrapper application as a chain msi. The bootstrapper after copying the new files, it is deleting all the files when it comes to processing previous installation. So the files are deleted, but in add/remove programs new version of the application is present without any

Re: [WiX-users] Exclude some files and folders in later version installation and patch

2015-04-19 Thread nithin v
Hi, I did the way you told but the update installation (3.2.0 to 3.2.1) just removed all my files and deleted whole folder, but if I see in the control panel the app name is present with new version number. What am I doing wrong? Keypath is yes for all the files. Is this affecting? Please help

Re: [WiX-users] Exclude some files and folders in later version installation and patch

2015-04-19 Thread Nir Bar
Read File Versioning Rules https://msdn.microsoft.com/en-us/library/aa368599%28v=vs.85%29.aspx on how Windows Installer decides to overwrite files, and follow Minor Upgrades or Small Updates rules - read Patching and Upgrades https://msdn.microsoft.com/en-us/library/aa370579(v=vs.85).aspx to

Re: [WiX-users] Exclude some files and folders in later version installation and patch

2015-04-19 Thread nithin v
I was trying the second method you suggested, but major upgrade and RemoveExistingProducts is not coexisting. I am getting error. MajorUpgrade Schedule=afterInstallValidate DowngradeErrorMessage=A later version of [ProductName] is already installed. Setup will now exit./ InstallExecuteSequence

Re: [WiX-users] Exclude some files and folders in later version installation and patch

2015-04-19 Thread Nir Bar
You should remove the explicit RemoveExistingProducts in InstallExecuteSequence. Instead put Schedule=afterInstallFinalize in MajorUpgrade http://wixtoolset.org/documentation/manual/v3/xsd/wix/majorupgrade.html element. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web:

Re: [WiX-users] Exclude some files and folders in later version installation and patch

2015-04-19 Thread Nir Bar
Can you post the components and files wxs? - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX InstallShield -- View this message in context:

Re: [WiX-users] Exclude some files and folders in later version installation and patch

2015-04-19 Thread nithin v
Below is my product.wxs file. I am still not able to get what I need. ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; ?define ProductName = temp? ?define ProductCode = {GUID1}? ?define UpgradeCode = {GUID2}? ?define ProductVersion = 3.2.1? Product

Re: [WiX-users] Exclude some files and folders in later version installation and patch

2015-04-18 Thread nithin v
Please note, I am using heat to harvest all the files so I am not specifying anything in my product.wxs file. On Sat, Apr 18, 2015 at 12:02 PM, nithin v geturnit...@gmail.com wrote: Hi, During the first installation my msi will extract all my project files, in the later version installation

[WiX-users] Exclude some files and folders in later version installation and patch

2015-04-18 Thread nithin v
Hi, During the first installation my msi will extract all my project files, in the later version installation and patches msi should not replace some folders(client files) and config and app settings file. How can I achieve this? I am using wix for my .net mvc project, which will have a regular