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 it should work deferred on other OS versions too.
Phil Wilson 949-639-1680 -----Original Message----- From: Sudripta Nandy (Sarangsoft Corporation) [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 11:27 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Changing Execute mode of customaction depending on OS version Hi, I am new to wix, so this may be a silly question. I want to execute a custom action in 'deferred' mode on Windows VISTA; and in 'immediate' mode, if the setup is run under any other OS. How can I do that? Thanks. Sudripta. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users