Hi,
Can't you just do somthing similar to ...
<util:XmlFile Id="ModifyAppPoolPipelineType"
Action="setValue"
ElementPath="//configuration/system.applicationHost/applicationPools/add[...@name='YOUR_APP_POOL_NAME'[\]]/@enable32BitAppOnWin64"
File="[WindowsFolder]System32\inetsrv\config\applicationHost.config"
Value="true"/>
We use this to set pipline mode from wix 3.0.
Dave
-----Original Message-----
From: Anthony Nelson [mailto:[email protected]]
Sent: 22 April 2010 15:16
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Create 32-bit application pool
Does anyone have any thoughts on this?
Thanks!
Anthony Nelson
http://www.ademero.com/
o: 863 937-0272 x242
f: 863 582-9438
-----Original Message-----
From: Anthony Nelson [mailto:[email protected]]
Sent: Tuesday, April 20, 2010 12:39 PM
To: [email protected]
Subject: [WiX-users] Create 32-bit application pool
I'm creating an app pool using Wix IIsExtension on Windows 7. I'm trying to
change the app pool to 32 bit using
<Product ...>
....
<CustomAction Id="CA.ConfigureAppPool" Return="check"
Directory="WEBINSTALLLOCATION"
ExeCommand="[SystemFolder]inetsrv\appcmd set apppool
/apppool.name:"ProductAppPool" /enable32BitAppOnWin64:true" />
<InstallExecuteSequence>
...
<Custom Action="CA.ConfigureAppPool"
After="InstallFinalize"><![CDATA[NOT Installed AND VersionNT64 >=
600]]></Custom>
</InstallExecuteSequence>
</Product>
but it fails and I get the following...
MSI (s) (64:60) [12:23:17:092]: Doing action: CA.ConfigureAppPool
Action 12:23:17: CA.ConfigureAppPool.
Action start 12:23:17: CA.ConfigureAppPool.
CustomAction CA.ConfigureAppPool returned actual error code 1168 (note this may
not be 100% accurate if translation happened inside sandbox)
MSI (s) (64:60) [12:23:17:373]: Note: 1: 1722 2: CA.ConfigureAppPool 3:
C:\Program Files (x86)\Company\Product\WebSite\ 4:
C:\Windows\SysWOW64\inetsrv\appcmd set apppool /apppool.name:"ProductAppPool"
/enable32BitAppOnWin64:true
Error 1722. There is a problem with this Windows Installer package. A program
run as part of the setup did not finish as expected. Contact your support
personnel or package vendor. Action CA.ConfigureAppPool,
location: C:\Program Files (x86)\Company \Product\WebSite\, command:
C:\Windows\SysWOW64\inetsrv\appcmd set apppool /apppool.name:"ProductAppPool"
/enable32BitAppOnWin64:true
MSI (s) (64:60) [12:23:19:920]: Product: Company Product v1.0.2.0 -- Error
1722. There is a problem with this Windows Installer package. A program run as
part of the setup did not finish as expected. Contact your support personnel or
package vendor. Action CA.ConfigureAppPool,
location: C:\Program Files (x86)\Company\Product\WebSite\, command:
C:\Windows\SysWOW64\inetsrv\appcmd set apppool /apppool.name:"ProductAppPool"
/enable32BitAppOnWin64:true
Action ended 12:23:19: CA.ConfigureAppPool. Return value 3.
If I run the full command as logged it works fine.
(C:\Windows\SysWOW64\inetsrv\appcmd set apppool /apppool.name:"ProductAppPool"
/enable32BitAppOnWin64:true)
Anyone have any ideas? Thanks.
--Anthony
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
</pre>
<BR style="font-size:4px;">
<a href = "http://www.sdl.com"><img src="http://www.sdl.com/images/email
logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a>
<BR>
<font face="arial" size="2" "><a href = "http://www.sdl.com"
style="color:005740; font-weight: bold">www.sdl.com</a>
<BR>
<BR>
<font face="arial" size="1" color="#736F6E">
<b>SDL PLC confidential, all rights reserved.</b>
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and we
further request that you advise us.<BR>
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY,
UK.
</font>
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users