Hello,
I need to support Longhorn Server and not Vista. The exe in question is
generally a server side component however it has to be installed on XP
and Win2k (non server). The decision has been made to not support Vista
at this point.
The MsiNtProductType property looks exactly like what I need. On Vista
it evaluates to 1 and Longhorn it evaluates to 3 (at least on the Vista
and Longhorn install types I've tried).
The new problem I'm running into is MsiNtProductType is not defined when
the action InstallFiles runs so MsiNtProductType acts as a logical false
when my components' condition is evaluated. I know this is more of a
Windows Installer question but I was wondering if anyone has any
thoughts on getting around this type of issue?
Thanks,
Tom
________________________________
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 09, 2006 4:47 PM
To: Thomas Svare
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] conditional install
Thomas Svare wrote:
I've got to install a component on Windows 2000 and greater with the
exception of Vista. The component needs to install on Longhorn. I know
Longhorn isn't completed yet and is subject to change but I have to try
to make it work with what's available today. The following condition
works great but excludes Longhorn:
<Condition >VersionNT < 600</Condition>
You mean you want to support Vista but exclude Longhorn Server? If so,
take a look at the MsiNTProductType property in the MSI SDK doc. You
can check a verbose log to see the value MSI sets on Longhorn Server?
--
sig://boB
http://bobs.org
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users