Re: [WiX-users] Changing Execute mode of customaction depending on OS version

2008-11-12 Thread Richard
In article <[EMAIL PROTECTED]>, "Wilson, Phil" <[EMAIL PROTECTED]> writes: > If it works deferred on Vista it should work deferred on other OS > versions too. I agree with this. The reason you bump into deferred vs. immediate questions is because you CA is trying to do something that requi

Re: [WiX-users] Changing Execute mode of customaction depending on OS version

2008-11-12 Thread Wilson, Phil
The semi-obvious answer is to have two custom actions and call each depending on the OS (the VersionNT property). However if you need it to be deferred on Vista (because of UAC?) I suspect the right answer is that the custom action should be deferred on every OS. If it works deferred on Vista i

Re: [WiX-users] Changing Execute mode of customaction depending on OS version

2008-11-11 Thread Michael Urman
You can't. You can create multiple nearly-identical custom actions, configured differently, and sequence them conditioned per OS, which is virtually what you're asking for. However you probably do not want to do this. I suspect you're asking because you see a failure running with UAC on Vista that