Re: [WiX-users] How to skip components during patching

2013-06-20 Thread Fyodor Koryazhkin
Hi, This cannot be achieved without overwriting default behavior. You may create Custom Action of Type 51 (set property) and set REINSTALL property to the feature you want to upgrade. For example: you have two features in your package: Feature1 and Feature2 that have one component attached to both

Re: [WiX-users] How to skip components during patching

2013-06-19 Thread Phil Wilson
-- From: George Fleming [mailto:gef...@microsoft.com] Sent: Wednesday, June 19, 2013 9:30 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to skip components during patching That might be acceptable if the default is to patch just one feature. How does

Re: [WiX-users] How to skip components during patching

2013-06-19 Thread George Fleming
. Subject: Re: [WiX-users] How to skip components during patching Yes, but think about what happens if someone passes REINSTALL=ALL on the command line. -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS  66227 Office:  913-

Re: [WiX-users] How to skip components during patching

2013-06-18 Thread John Cooper
Original Message- From: George Fleming [mailto:gef...@microsoft.com] Sent: Tuesday, June 18, 2013 3:17 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to skip components during patching What if I were to split my installer into two features? Is it pos

Re: [WiX-users] How to skip components during patching

2013-06-18 Thread George Fleming
: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to skip components during patching Not during a patch without some trickery. A patch is effectively a Repair of the effected feature, and if that component is in an effected feature, it's going to be reinst

Re: [WiX-users] How to skip components during patching

2013-06-18 Thread John Cooper
.@jackhenry.com] Sent: Tuesday, June 18, 2013 12:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to skip components during patching Because the condition is not re-evaluated once it is installed unless the component is marked Transitive. I would recomme

Re: [WiX-users] How to skip components during patching

2013-06-18 Thread George Fleming
sion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to skip components during patching Because the condition is not re-evaluated once it is installed unless the component is marked Transitive. I would recommend avoiding marking it Transitive and saving and restoring the propertie

Re: [WiX-users] How to skip components during patching

2013-06-18 Thread John Cooper
To: WiX-users@lists.sourceforge.net Subject: [WiX-users] How to skip components during patching I have following component that I only want to execute during a new install. When I do a patch (msp file), I don't want to run this code, since I don't have a valid default [SERVICEACCOUNT]

[WiX-users] How to skip components during patching

2013-06-18 Thread George Fleming
I have following component that I only want to execute during a new install. When I do a patch (msp file), I don't want to run this code, since I don't have a valid default [SERVICEACCOUNT] value. Still, the code executes and I get a failure at ServiceInstall. Why isn't my working?