Thanks for the suggestions.  We had an existing custom action that set the
LogEventOnRecycle, I left it in place.  I was hoping I could remove it and
make use a native WiX capability.



On Fri, Nov 22, 2013 at 5:20 PM, John Cooper <jocoo...@jackhenry.com> wrote:

> And for all that appcmd.exe, to achieve the result in my example, you
> would be better off using:
>
>         <iis:WebVirtualDir Id="WCFVDir" Alias="[WCFAlias]"
> Directory="WCFFolder" WebSite="TargetWebSite">
>           <iis:WebDirProperties Id="WCFWebProp" AnonymousAccess="yes"
> BasicAuthentication="yes" WindowsAuthentication="yes" Read="yes"
> Write="yes" Execute="no" Script="yes" AccessSSL="no" AccessSSL128="no" />
>           <iis:WebApplication Id="WCFWebApp" Name="[WCFAlias]"
> WebAppPool="WCFAppPool" />
>         </iis:WebVirtualDir>
>
> The important attributes are "AccessSSL" and "AcessSSL128".
>
> --
> John Merryweather Cooper
> Build & Install Engineer -- ESA
> Jack Henry & Associates, Inc.(r)
> Shawnee Mission, KS  66227
> Office:  913-341-3434 x791011
> jocoo...@jackhenry.com
> www.jackhenry.com
>
>
>
>
> -----Original Message-----
> From: John Cooper
> Sent: Friday, November 22, 2013 3:31 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] Enable/Disable IIS AppPool's LogEventOnRecycle
> using WiX
>
> I hate appcmd.exe.  That being said, CAQuietExec64 is usually a much
> better choice.  For example:
>
> <SetProperty Id="SetVdir.WCFService"
> Value="&quot;[System64Folder]inetsrv\appcmd.exe&quot; set config
> &quot;[WEBSITE_NAME]/Product/Contract/WCFService/&quot; -section:access
> -sslFlags:None -commit:apphost" Sequence="execute"
> Before="SetVdir.WCFService" />
>   <CustomAction Id="SetVdir.WCFService" BinaryKey="WixCA"
> DllEntry="CAQuietExec64" Execute="commit" Return="ignore" />
>
>   <UI>
>     <ProgressText Action="SetVdir.WCFService">
>       <![CDATA[Disable SSL for VDir
> [WEBSITE_NAME]/Product/Contract/WCFService/ in IIS.]]>
>     </ProgressText>
>   </UI>
>
>   <!-- Schedule VDir Configuration -->
>   <InstallExecuteSequence>
>     <Custom Action="SetVdir.WCFService" Before="InstallFinalize">
>       <![CDATA[NOT SKIPCONFIGUREIIS AND NOT REMOVE ~= "All"]]>
>     </Custom>
>   </InstallExecuteSequence>
>
> I have the commit bit instead of the deferred bit set for a reason.
>  There's no good way to rollback out of appcmd.exe calls.  So I execute
> them dead last.  Violates the ability to rollback changes to the system.
>  But this would be a defect of the previous example too.
>
> --
> John Merryweather Cooper
> Build & Install Engineer -- ESA
> Jack Henry & Associates, Inc.(r)
> Shawnee Mission, KS  66227
> Office:  913-341-3434 x791011
> jocoo...@jackhenry.com
> www.jackhenry.com
>
>
>
>
> -----Original Message-----
> From: Chad Petersen [mailto:chad.peter...@harlandfs.com]
> Sent: Friday, November 22, 2013 3:12 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] Enable/Disable IIS AppPool's LogEventOnRecycle
> using WiX
>
> For things IIS related not directly authored in WiX code I've found
> APPCMD.EXE to be a useful substitute in a custom action for those sorts of
> things. These are older and may be supported natively now, but some
> examples.
>
> <CustomAction Id="ConfigureHiddenSegments" Execute="deferred"
> Impersonate="no" Return="ignore" Directory="TARGETDIR"
> ExeCommand="[SystemFolder]inetsrv\appcmd set config
> &quot;[SITE_ID]/Container&quot;
> -section:system.webServer/security/requestFiltering
> /-hiddenSegments.[\[]segment='bin'[\]]" />
>         <CustomAction Id="ConfigureISAPICGI" Execute="deferred"
> Impersonate="no" Return="check" Directory="TARGETDIR"
> ExeCommand="[SystemFolder]inetsrv\appcmd set config
> /section:isapiCgiRestriction
> /[\[]path='[WindowsFolder]Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll'[\]].allowed:True"
> />
>
> -----Original Message-----
> From: Tony [mailto:yellowjacketl...@gmail.com]
> Sent: Friday, November 22, 2013 1:05 PM
> To: WiX Users
> Subject: [WiX-users] Enable/Disable IIS AppPool's LogEventOnRecycle using
> WiX
>
> Is it possible to set an AppPool's LogEventOnRecycle bitmask using WiX?  I
> don't see it, but maybe missed it.
>
> --
> Tony
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription Software experts and
> developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription Software experts and
> developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> NOTICE: This electronic mail message and any files transmitted with it are
> intended exclusively for the individual or entity to which it is addressed.
> The message, together with any attachment, may contain confidential and/or
> privileged information.
> Any unauthorized review, use, printing, saving, copying, disclosure or
> distribution is strictly prohibited. If you have received this message in
> error, please immediately advise the sender by reply email and delete all
> copies.
>
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription Software experts and
> developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> NOTICE: This electronic mail message and any files transmitted with it are
> intended
> exclusively for the individual or entity to which it is addressed. The
> message,
> together with any attachment, may contain confidential and/or privileged
> information.
> Any unauthorized review, use, printing, saving, copying, disclosure or
> distribution
> is strictly prohibited. If you have received this message in error, please
> immediately advise the sender by reply email and delete all copies.
>
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up
> now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Tony
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to