Re: [WiX-users] Enabling platform features during install

2014-01-20 Thread Loïc Delambre
Hi,

I used a command line tool embedded in my burn package like a prerequisite, 
this tool calls pkgmgr.exe in order to enable Windows features.

ExePackage Id=IISRoleOcsSetupServer
DisplayName=Web Server (IIS) and Print roles
Cache=no
Compressed=no
PerMachine=yes
Permanent=yes
Vital=yes
Name=redist\WRFI45.exe
SourceFile=\\server\GIT\Redist\WRFI45.exe

InstallCommand=IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-ConfigurationAPI;IIS-ISAPIExtensions;IIS-ASP;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-WebServerManagementTools;IIS-Metabase;IIS-IIS6ManagementCompatibility;IIS-HttpRedirect;IIS-ManagementConsole;Printing-Server-Role
InstallCondition=(VersionNT gt;= v6.0 AND 
MsiNTProductType gt; 1)
DetectCondition=iis7www AND iis7asp AND iis7static AND 
iis7winauth AND iis7console AND iis7metabase
ExitCode Value =3010 Behavior=forceReboot 
/
/ExePackage

Regards,
Loïc Delambre

-Message d'origine-
De : Stephen I. Woolhead [mailto:s...@gtl.biz] 
Envoyé : vendredi 17 janvier 2014 19:11
À : General discussion about the WiX toolset.
Objet : [WiX-users] Enabling platform features during install

Hi, following up on an issue that came up in another thread, we have the need 
to enable platform features such as MSMQ during our install.  At the moment we 
do this during install with dism.exe in a custom action.  This so far has 
worked well for us but it was hinted this was not ideal.

Does anyone have any guidance about enabling platform features during install 
that they could share?

Cheers,

Stephen.
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical 
Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Development proposal for WixNetFxExtension

2013-10-16 Thread Loïc DELAMBRE
Hi,

In my bootstrapper, I use my proper Package Group in order to Install .Net 
Framework like this :

util:RegistrySearchRef Id=NETFRAMEWORK45 /
WixVariable Id=WixMbaPrereqPackageId Value=NetFx45Redist /
WixVariable Id=WixMbaPrereqLicenseUrl 
Value=http://go.microsoft.com/fwlink/?LinkID=260867; /
PackageGroup Id=NetFx45Dox
  ExePackage InstallCommand=/q /norestart /ChainingPackage 
quot;[WixBundleName]quot; /log [NetFx45FullLog].html 
  RepairCommand=/q /norestart /repair 
/ChainingPackage quot;[WixBundleName]quot; /log [NetFx45FullLog].html 
  UninstallCommand=/uninstall /q /norestart 
/ChainingPackage quot;[WixBundleName]quot; /log [NetFx45FullLog].html 
  PerMachine=yes 
  DetectCondition=(NETFRAMEWORK45 gt;= 
378389)
  InstallCondition=VersionNT gt; v5.2
  Id=NetFx45Redist 
  Vital=yes 
  Permanent=yes 
  Protocol=netfx4 
  
DownloadUrl=http://go.microsoft.com/fwlink/?LinkId=225702; 
  LogPathVariable=NetFx45FullLog 
  Compressed=no 
  Name=redist\dotNetFx45_Full_x86_x64.exe
RemotePayload 
CertificatePublicKey=BE931A1B869E4BB989C2B32D0C105204ECBEFB3D 
CertificateThumbprint=8363887511B4835B79C383ECF06FC055B5839255 
Description=Microsoft .NET Framework 4.5 Setup 
Hash=B2FF712CA0947040CA0B8E9BD7436A3C3524BB5D ProductName=Microsoft .NET 
Framework 4.5 Size=50352408 Version=4.5.50709.17929 /
  /ExePackage
/PackageGroup

So, you could change the path of the exe file with the attribute Name of the 
Exepackage node. Here, i use the redist folder too, but you can put 
Name=dotNetFx45_Full_x86_x64.exe if you want both exe at the same level.

Best regards,
Loïc DELAMBRE

-Message d'origine-
De : Veli-Matti Visuri [mailto:veli-matti.vis...@futuremark.com] 
Envoyé : mercredi 16 octobre 2013 13:51
À : General discussion for Windows Installer XML toolset.
Objet : [WiX-users] Development proposal for WixNetFxExtension

Hi,

Is there any particular reason why WixNetFxExtension searches .NET bundles from 
redist folder?

Its quite confusing to make an offline capable installer. Lets say I have this 
kind of bootstrapper:

Chain
  PackageGroupRef Id=NetFx45Redist/
  MsiPackage SourceFile=Installer.msi/ /Chain

So I have to have the following structure in my deploy package e.g. .zip file

zip:
 bootstrapper.exe
 redist\dotNetFx45_Full_x86_x64.exe

It would be so much easier and less confusing to just make it like this:

zip:
 bootstrapper.exe
 dotNetFx45_Full_x86_x64.exe

Note that my bootstrapper uses .NET framework 4.5 and I don't want to make my 
own build from WiX source code.


Best regards,
Veli-Matti Visuri
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register  
http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn : SQL Express 2008 R2 certificate problem

2013-07-11 Thread Loïc DELAMBRE
Dear Tobias, Dear Rob,

Thank you for the tip, I removed the remotePayload node, added SourceFile 
attribute and it is working now. 

Best regards,
Loïc

-Message d'origine-
De : Rob Mensching [mailto:r...@robmensching.com] 
Envoyé : jeudi 11 juillet 2013 15:26
À : General discussion for Windows Installer XML toolset.
Objet : Re: [WiX-users] Burn : SQL Express 2008 R2 certificate problem

Since you're using a RemotePayload element, the SuppressSignatureVerification 
isn't going to do anything. You will want to remove the certificate information 
from the RemotePayload and populate the Hash instead.


On Wed, Jul 10, 2013 at 11:58 PM, Tobias S tobias.s1...@gmail.com wrote:

 At first glance I'd say to SuppressSignatureVerification=yes but 
 that's already done. What about keeping the SQL install locally 
 without downloading and therefore modify the ExePackage definition 
 accordingly?
 (Remove everything beginning with RemotePayload... Or what about 
 re-sign the SQL setup.exe with a correct SQL certificate?


 2013/7/10 Loïc DELAMBRE delam...@doxense.com

  Hello,
 
  I'm trying to chain many prerequisites to my product : .NET 4.0 or 
  4.5, IIS and SQL Server Express which has some prerequisites too : 
  .NET 3.5, Windows Installer 4.5, Powershell. It needs to work under 
  Windows Server
  2003 SP2, 2008 SP2/2008R2 RTM and 2012 RTM.
 
  I'm near the goal, but I have a problem with SQL Express setup files :
  there are signed with a bad/expired Authenticode certificate and I 
  have
 an
  error during the bootstrapper :
  [0A58:0A90][2013-07-10T18:03:54]i338: Acquiring package:
 SQL2008R2Exprx86,
  payload: SQL2008R2Exprx86, copy from: C:\Documents and 
  Settings\Administrateur\Bureau\Debug\redist\sql2008r2\SQLEXPR_x86_EN
  U.exe
  [0A70:0A84][2013-07-10T18:03:57]e000: Error 0x800b0101: Failed 
  authenticode verification of payload: C:\Documents and Settings\All 
  Users\Application Data\Package Cache\.unverified\SQL2008R2Exprx86
  [0A70:0A84][2013-07-10T18:03:57]e000: Error 0x800b0101: Failed to 
  verify signature of payload: SQL2008R2Exprx86
  [0A70:0A84][2013-07-10T18:03:57]e310: Failed to verify payload:
  SQL2008R2Exprx86 at path: C:\Documents and Settings\All 
  Users\Application Data\Package Cache\.unverified\SQL2008R2Exprx86, error: 
  0x800b0101.
  Deleting file.
  [0A70:0A84][2013-07-10T18:03:57]e000: Error 0x800b0101: Failed to 
  cache
  payload: SQL2008R2Exprx86
  [0A58:0A90][2013-07-10T18:03:57]e314: Failed to cache payload:
  SQL2008R2Exprx86 from working path:
 
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\{f3bd1d56-bde5-4ff8-8b96-d0e4f9748f
 99}\SQL2008R2Exprx86,
  error: 0x800b0101.
  [0A58:0A90][2013-07-10T18:03:57]e349: Application requested retry of
  payload: SQL2008R2Exprx86, encountered error: 0x800b0101. Retrying...
  [0A58:0A90][2013-07-10T18:04:00]i338: Acquiring package:
 SQL2008R2Exprx86,
  payload: SQL2008R2Exprx86, copy from: C:\Documents and 
  Settings\Administrateur\Bureau\Debug\redist\sql2008r2\SQLEXPR_x86_EN
  U.exe
  [0A70:0A84][2013-07-10T18:04:04]e000: Error 0x800b0101: Failed 
  authenticode verification of payload: C:\Documents and Settings\All 
  Users\Application Data\Package Cache\.unverified\SQL2008R2Exprx86
  [0A70:0A84][2013-07-10T18:04:04]e000: Error 0x800b0101: Failed to 
  verify signature of payload: SQL2008R2Exprx86
  [0A70:0A84][2013-07-10T18:04:04]e310: Failed to verify payload:
  SQL2008R2Exprx86 at path: C:\Documents and Settings\All 
  Users\Application Data\Package Cache\.unverified\SQL2008R2Exprx86, error: 
  0x800b0101.
  Deleting file.
  [0A70:0A84][2013-07-10T18:04:04]e000: Error 0x800b0101: Failed to 
  cache
  payload: SQL2008R2Exprx86
  [0A58:0A90][2013-07-10T18:04:04]e314: Failed to cache payload:
  SQL2008R2Exprx86 from working path:
 
 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\{f3bd1d56-bde5-4ff8-8b96-d0e4f9748f
 99}\SQL2008R2Exprx86,
  error: 0x800b0101.
  [0A58:0A90][2013-07-10T18:04:04]e349: Application requested retry of
  payload: SQL2008R2Exprx86, encountered error: 0x800b0101. Retrying...
  [0A58:0A90][2013-07-10T18:04:07]i338: Acquiring package:
 SQL2008R2Exprx86,
  payload: SQL2008R2Exprx86, copy from: C:\Documents and 
  Settings\Administrateur\Bureau\Debug\redist\sql2008r2\SQLEXPR_x86_EN
  U.exe
  [0A70:0A84][2013-07-10T18:04:10]e000: Error 0x800b0101: Failed 
  authenticode verification of payload: C:\Documents and Settings\All 
  Users\Application Data\Package Cache\.unverified\SQL2008R2Exprx86
  [0A70:0A84][2013-07-10T18:04:10]e000: Error 0x800b0101: Failed to 
  verify signature of payload: SQL2008R2Exprx86
  [0A70:0A84][2013-07-10T18:04:10]e310: Failed to verify payload:
  SQL2008R2Exprx86 at path: C:\Documents and Settings\All 
  Users\Application Data\Package Cache\.unverified\SQL2008R2Exprx86, error: 
  0x800b0101.
  Deleting file.
  [0A70:0A84][2013-07-10T18:04:10]e000: Error 0x800b0101: Failed to 
  cache
  payload: SQL2008R2Exprx86
  [0A58:0A90][2013-07-10T18:04:10]e314: Failed to cache payload:
  SQL2008R2Exprx86 from

[WiX-users] Burn : SQL Express 2008 R2 certificate problem

2013-07-10 Thread Loïc DELAMBRE
 
/INSTANCENAME=quot;WATCHDOCquot; /Q
RemotePayload 
CertificatePublicKey=D37F6D0F2894D56049061A44596FFA88CBFD1B5B 
CertificateThumbprint=19F8F76F4655074509769C20349FFAECCECD217D 
Description=SQL Server 2008 R2 Express SP2 
Hash=6CE34F57A13E0DED95CAF4405FAD133E859ADE30 ProductName=SQL Server 2008 R2 
Express SP2 Size=115763632 Version=10.50.4000.0 /
/ExePackage

Is there a way to tell Burn that the package is Ok and it can install it?

Other way is to put a bal:condition that detect that KB2749655 is not installed 
and block the bootstrapper.

Best Regards,
Loïc DELAMBRE


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problem with IIS extension

2009-08-06 Thread Loïc DELAMBRE
Hi,

I' m working on a setup for our product. The setup has 2 features :

-  First feature to install our service

-  Second feature to install the web application in an existing web site
The two feature are optional : I want that users can install only the service 
or only the web application or both.

I'm testing my setup under Windows Server 2008 SP2 (x64) and I have an error 
when the Web Server role is not installed. Even if the web feature is 
unselected (level = 0), it fails. If I remove the WebApp component from setup, 
it works. I tried to put a condition on the component, but it fails too.

Here are parts of my setup :

Feature Id=web Title=Web site Level=1 ConfigurableDirectory=IISROOT 
ComponentGroupRef Id=group_web/
ComponentRef Id=WebApp/
ComponentRef Id=InstallRegistryEntries/
Condition Level=0
  ![CDATA[IIS56=#0 AND (IIS7=#0 OR IIS7ASP=#0 OR 
IIS7StaticContent=#0 OR IIS7WindowsAuthentication=#0 OR 
IIS7ManagementConsole=#0 OR IIS7Metabase=#0)]]
/Condition
  /Feature

Fragment
IIs:WebSite Id='DefaultWebSite' Description='[WEBDESCRIPTION]'
  IIs:WebAddress Id='DWSA' Port='[WEBPORT]' IP=* /
/IIs:WebSite

DirectoryRef Id='TARGETDIR'
  Component Id=WebApp Guid=3ED4CCEC-8528-4566-A573-BA24ADA43FE3
CreateFolder/
IIs:WebServiceExtension Id=ASP Allow=yes 
File=[System64Folder]inetsrv\asp.dll Description=ASP Pages /
IIs:WebAppPool Id=WatchdocAppPool Name=WatchdocPool 
Identity=localSystem/
IIs:WebVirtualDir Id=WatchdocVDir Alias=watchdoc 
Directory=dir_web_watchdoc4110_0 WebSite=DefaultWebSite
  IIs:WebApplication Id=WatchdocWebApp Name=watchdoc  
ParentPaths=yes/
/IIs:WebVirtualDir
Condition![CDATA[IIS56=#1 OR IIS7=#1]]/Condition
  /Component
/DirectoryRef
/Fragment

In the log file :
MSI (s) (88:14) [16:06:47:353]: Component: WebApp; Installed: Absent;   
Request: Null;   Action: Null
...
MSI (s) (88:14) [16:06:53:166]: Executing op: 
ActionStart(Name=StartMetabaseTransaction,Description=Starting IIS Metabase 
Transaction,)
Action 16:06:53: StartMetabaseTransaction. Starting IIS Metabase Transaction
MSI (s) (88:14) [16:06:53:182]: Executing op: 
CustomActionSchedule(Action=StartMetabaseTransaction,ActionType=11265,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (88:74) [16:06:53:182]: Invoking remote custom action. DLL: 
C:\Windows\Installer\MSIDE3.tmp, Entrypoint: StartMetabaseTransaction
StartMetabaseTransaction:  Error 0x80040154: failed to get IID_IIMSAdminBase 
object
Error 26001. Cannot connect to Internet Information Server.  (-2147221164   
  )
MSI (s) (88!74) [16:06:54:322]: Product: Watchdoc -- Error 26001. Cannot 
connect to Internet Information Server.  (-2147221164 )

Action ended 16:06:54: InstallFinalize. Return value 3.
...
Property(C): IIS56 = #0
Property(C): IIS7 = #0
Property(C): IIS7ASP = #0
Property(C): IIS7STATICCONTENT = #0
Property(C): IIS7WINDOWSAUTH = #0
Property(C): IIS7MC = #0
Property(C): IIS7METABASE = #0

How can I isolate the web part of my setup to avoid an error when Web server is 
not installed?

Thanks for the help.

Best regards,
Loïc Delambre
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with IIS extension

2009-08-06 Thread Loïc DELAMBRE
Thank you, it works now. I have found an old post about SKIPCONFIGUREIIS and 
how to set it to 1 when a feature is unselected.

Regards,
Loïc

-Message d'origine-
De : Yan Sklyarenko [mailto:y...@sitecore.net] 
Envoyé : jeudi 6 août 2009 17:25
À : General discussion for Windows Installer XML toolset.
Objet : Re: [WiX-users] Problem with IIS extension

Set the SKIPCONFIGUREIIS property to 1.

-- Yan

-Original Message-
From: Loïc DELAMBRE [mailto:delam...@doxense.com] 
Sent: Thursday, August 06, 2009 5:54 PM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Problem with IIS extension

Hi,

I' m working on a setup for our product. The setup has 2 features :

-  First feature to install our service

-  Second feature to install the web application in an existing web site
The two feature are optional : I want that users can install only the service 
or only the web application or both.

I'm testing my setup under Windows Server 2008 SP2 (x64) and I have an error 
when the Web Server role is not installed. Even if the web feature is 
unselected (level = 0), it fails. If I remove the WebApp component from setup, 
it works. I tried to put a condition on the component, but it fails too.

Here are parts of my setup :

Feature Id=web Title=Web site Level=1 ConfigurableDirectory=IISROOT 
ComponentGroupRef Id=group_web/
ComponentRef Id=WebApp/
ComponentRef Id=InstallRegistryEntries/
Condition Level=0
  ![CDATA[IIS56=#0 AND (IIS7=#0 OR IIS7ASP=#0 OR 
IIS7StaticContent=#0 OR IIS7WindowsAuthentication=#0 OR 
IIS7ManagementConsole=#0 OR IIS7Metabase=#0)]]
/Condition
  /Feature

Fragment
IIs:WebSite Id='DefaultWebSite' Description='[WEBDESCRIPTION]'
  IIs:WebAddress Id='DWSA' Port='[WEBPORT]' IP=* /
/IIs:WebSite

DirectoryRef Id='TARGETDIR'
  Component Id=WebApp Guid=3ED4CCEC-8528-4566-A573-BA24ADA43FE3
CreateFolder/
IIs:WebServiceExtension Id=ASP Allow=yes 
File=[System64Folder]inetsrv\asp.dll Description=ASP Pages /
IIs:WebAppPool Id=WatchdocAppPool Name=WatchdocPool 
Identity=localSystem/
IIs:WebVirtualDir Id=WatchdocVDir Alias=watchdoc 
Directory=dir_web_watchdoc4110_0 WebSite=DefaultWebSite
  IIs:WebApplication Id=WatchdocWebApp Name=watchdoc  
ParentPaths=yes/
/IIs:WebVirtualDir
Condition![CDATA[IIS56=#1 OR IIS7=#1]]/Condition
  /Component
/DirectoryRef
/Fragment

In the log file :
MSI (s) (88:14) [16:06:47:353]: Component: WebApp; Installed: Absent;   
Request: Null;   Action: Null
...
MSI (s) (88:14) [16:06:53:166]: Executing op: 
ActionStart(Name=StartMetabaseTransaction,Description=Starting IIS Metabase 
Transaction,)
Action 16:06:53: StartMetabaseTransaction. Starting IIS Metabase Transaction
MSI (s) (88:14) [16:06:53:182]: Executing op: 
CustomActionSchedule(Action=StartMetabaseTransaction,ActionType=11265,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (88:74) [16:06:53:182]: Invoking remote custom action. DLL: 
C:\Windows\Installer\MSIDE3.tmp, Entrypoint: StartMetabaseTransaction
StartMetabaseTransaction:  Error 0x80040154: failed to get IID_IIMSAdminBase 
object
Error 26001. Cannot connect to Internet Information Server.  (-2147221164   
  )
MSI (s) (88!74) [16:06:54:322]: Product: Watchdoc -- Error 26001. Cannot 
connect to Internet Information Server.  (-2147221164 )

Action ended 16:06:54: InstallFinalize. Return value 3.
...
Property(C): IIS56 = #0
Property(C): IIS7 = #0
Property(C): IIS7ASP = #0
Property(C): IIS7STATICCONTENT = #0
Property(C): IIS7WINDOWSAUTH = #0
Property(C): IIS7MC = #0
Property(C): IIS7METABASE = #0

How can I isolate the web part of my setup to avoid an error when Web server is 
not installed?

Thanks for the help.

Best regards,
Loïc Delambre
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Let Crystal Reports handle the reporting

Re: [WiX-users] Checking for IIS and SQL?

2009-01-30 Thread Loïc Delambre

Hi,

Here's a sample code to detect IIS 5/6 or some IIS7 components :
Property Id=IIS56 Value=#0
  RegistrySearch Id=IIS56InstalledComponents Root=HKLM
Key=SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OC
Manager\Subcomponents Type=raw Name=iis_common /
/Property

Property Id=IIS7 Value=#0
  RegistrySearch Id=IIS7W3SVC Root=HKLM
Key=SOFTWARE\Microsoft\InetStp\Components Type=raw Name=W3SVC /
/Property

Property Id=IIS7ASP Value=#0
  RegistrySearch Id=IIS7ASP Root=HKLM
Key=SOFTWARE\Microsoft\InetStp\Components Type=raw Name=ASP /
/Property

Property Id=IIS7STATICCONTENT Value=#0
  RegistrySearch Id=IIS7STATICCONTENT Root=HKLM
Key=SOFTWARE\Microsoft\InetStp\Components Type=raw Name=StaticContent
/
/Property

Property Id=IIS7WINDOWSAUTH Value=#0
  RegistrySearch Id=IIS7WINDOWSAUTH Root=HKLM
Key=SOFTWARE\Microsoft\InetStp\Components Type=raw
Name=WindowsAuthentication /
/Property

Property Id=IIS7MC Value=#0
  RegistrySearch Id=IIS7MC Root=HKLM
Key=SOFTWARE\Microsoft\InetStp\Components Type=raw
Name=ManagementConsole /
/Property

Property Id=IIS7METABASE Value=#0
  RegistrySearch Id=IIS7METABASE Root=HKLM
Key=SOFTWARE\Microsoft\InetStp\Components Type=raw Name=Metabase /
/Property

Then I use these properties to diplay or not a feature :
Feature Id=web Title=Web site Level=1 ConfigurableDirectory=IISROOT

ComponentGroupRef Id=group_web/

ComponentRef Id=WebApp/
ComponentRef Id=NewWebSite/
ComponentRef Id=InstallRegistryEntries/
Condition Level=0
  ![CDATA[IIS56=#0 AND (IIS7=#0 OR IIS7ASP=#0 OR
IIS7StaticContent=#0 OR IIS7WindowsAuthentication=#0 OR
IIS7ManagementConsole=#0 OR IIS7Metabase=#0)]]
/Condition
  /Feature

I did'nt check for SQL Server.

Regards,
Loïc Delambre 


Peter Oehlert wrote:
 
 This isn't strictly wix related but more a general setup question: 
 
  
 
 Is anyone aware of a robust check to see that SQL Server (2005, express,
 std, or ent) and IIS (6, 7 + compatibility components) are installed?
 
  
 
 Any help would be appreciated.
 
  
 
  
 
 Thanks,
 
 Peter
 
 

-- 
View this message in context: 
http://www.nabble.com/Checking-for-IIS-and-SQL--tp21731373p21743980.html
Sent from the wix-users mailing list archive at Nabble.com.


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users