I've used the following snippet to overcome this for an installer that will
work on both 2003 and 2008
<Property Id="IISWPGroupName" Value="IIS_WPG"/>
<Property Id="IISVERSIONMAJOR" Value="#0" Secure="yes">
<RegistrySearch Id="SearchRegIISVERSIONMAJOR"
Root="HKLM"
Key="Software\Microsoft\InetStp"
Name="MajorVersion"
Type="raw" />
</Property>
<SetProperty Id="IISWPGroupName" After="CostFinalize"
Value="IIS_IUSRS">IISVERSIONMAJOR="#7"</SetProperty>
<u:Group Id="IISWPGroup" Name="[IISWPGroupName]"/>
On Mon, Feb 22, 2010 at 1:49 PM, Zane Zeeh <[email protected]> wrote:
> I'm trying to add users to the IIS_WPG group. The following line works fine
> in Windows 2003 but fails in Windows 2008.
>
> <Util:Group Id="IIS_WPG" Name="IIS_WPG">
>
> I know the group does not exist on a Windows 2008 server, how can I make
> this conditional on the OS version?
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Glen Cooper
(425) 522-3013
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users