The registry key is just so that I can use * as my component guid, its the 
component keypath. 

Its just where I store installer settings for this app.

-----Original Message-----
From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] 
Sent: 11 May 2010 20:11
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] FW: Custom Action

What is the Registry Path?

--
Carolina Zuqueto Amaral

tel: +55 21 2494-5476
cel: +55 21 9524-7186
email: carolina.ama...@conv.com.br
-----Original Message-----
From: David Watson [mailto:dwat...@sdl.com]
Sent: terça-feira, 11 de maio de 2010 13:48
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom Action


Hi,
I use XMLConfig for this from wix 3.0 from a 32bit MSI. Try:-

      <Component Id="Platform.Website.Config.IIS7.x64" Guid="*"
Win64="yes">
        <!-- IIS 7 config file alterations to complete the web app pool config 
-->
        <Condition>IISVERSION="#7" AND VersionNT64</Condition>
        <RegistryValue Action="write" Root="HKLM"
Key="$(var.RegistryPath)" Name="Platform.Website.Config.IIS7.x64"
Value="1" Type="string" KeyPath="yes" />

            <util:XmlConfig Id="enable32BitAppOnWin64"
                     Action="create"

ElementPath="//configuration/system.applicationHost/applicationPools/add
[...@name='Conv_AssetHealth'[\]]"

File="[WindowsFolder]System32\inetsrv\config\applicationHost.config"
                     Node="value"
                     On="install"
                     Value="true"
                     Name ="enable32BitAppOnWin64"
                     />

      </Component>

Its working fine so far for me.

Dave

-----Original Message-----
From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br]
Sent: 11 May 2010 17:06
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Custom Action

Custom Action:

  <CustomAction Id="ConfigureAppPools" Return="asyncWait"
ExeCommand="[WindowsFolder]system32\inetsrv\appcmd.exe set apppool 
/apppool.name:Conv_AssetHealth /enable32BitAppOnWin64:True"
Directory="TARGETDIR" /> ...
<InstallExecuteSequence>
      <Custom Action="ConfigureAppPools" After="InstallFinalize">NOT 
Installed</Custom> </InstallExecuteSequence>


The appcmd is run, but the configure of the AppPool not is made.
What Do I do?


Thanks,

Carolina Zuqueto Amaral
carolina.ama...@conv.com.br<mailto:carolina.ama...@conv.com.br>
tel +55 21 2494-5476
cel +55 21 9524-7186



________________________________
Confidencialidade: A informa??o contida nesta mensagem de e-mail, incluindo 
quaisquer anexos, ? confidencial e est? reservada apenas ?
pessoa ou entidade para a qual foi endere?ada. Se voc? n?o ? o destinat?rio ou 
a pessoa respons?vel por encaminhar esta mensagem ao destinat?rio, voc? est?, 
por meio desta, notificado que n?o dever?
rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de 
e-mail ou quaisquer anexos. Caso voc? tenha recebido esta mensagem por engano, 
por favor, contate o remetente imediatamente e apague esta mensagem de seu 
computador ou de qualquer outro banco de dados. Grato.

Confidentiality Notice: The information contained in this email message, 
including any attachment, is confidential and is intended only for the person 
or entity to which it is addressed. If you are neither the intended recipient 
nor the employee or agent responsible for delivering this message to the 
intended recipient, you are hereby notified that you may not review, 
retransmit, convert to hard copy, copy, use or distribute this email message or 
any attachments to it. If you have received this email in error, please contact 
the sender immediately and delete this message from any computer or other data 
bank. Thank you.
------------------------------------------------------------------------
------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Confidencialidade: A informação contida nesta mensagem de e-mail, incluindo 
quaisquer anexos, é confidencial e está reservada apenas à pessoa ou entidade 
para a qual foi endereçada. Se você não é o destinatário ou a pessoa 
responsável por encaminhar esta mensagem ao destinatário, você está, por meio 
desta, notificado que não deverá rever, retransmitir, imprimir, copiar, usar ou 
distribuir esta mensagem de e-mail ou quaisquer anexos. Caso você tenha 
recebido esta mensagem por engano, por favor, contate o remetente imediatamente 
e apague esta mensagem de seu computador ou de qualquer outro banco de dados. 
Grato.

Confidentiality Notice: The information contained in this email message, 
including any attachment, is confidential and is intended only for the person 
or entity to which it is addressed. If you are neither the intended recipient 
nor the employee or agent responsible for delivering this message to the 
intended recipient, you are hereby notified that you may not review, 
retransmit, convert to hard copy, copy, use or distribute this email message or 
any attachments to it. If you have received this email in error, please contact 
the sender immediately and delete this message from any computer or other data 
bank. Thank you.

------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to