Well, actually no.

Problem solved when I mark the component as x64. Now, it works for 
[WindowsFolder]System32\inetsrv\config\administration.config as well as 
[System64Folder]inetsrv\config\administration.config .

Thanks



----- Original Message ----
From: Blair <[email protected]>
To: General discussion for Windows Installer XML toolset. 
<[email protected]>
Sent: Sat, August 7, 2010 9:15:31 PM
Subject: Re: [WiX-users] How to modify iis administration.config file

Is the component your XmlConfig is in marked as a 64-bit component?

-----Original Message-----
From: ahmet aslan [mailto:[email protected]] 
Sent: Saturday, August 07, 2010 3:52 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to modify iis administration.config file

by the way; please find the generated log for the installation below:

MSI (s) (3C:84) [13:39:30:148]: Executing op: ActionStart(Name=ExecXmlConfig,,)
Eylem 13:39:30: ExecXmlConfig. 
MSI (s) (3C:84) [13:39:30:150]: Executing op: 
CustomActionSchedule(Action=ExecXmlConfig,ActionType=3073,Source=BinaryData,Target=ExecXmlConfig,CustomActionData=1C:\Windows\system32\inetsrv\config\administration.config60//configuration/moduleProvidersadd2nameNWSGItypeNWSGI.Management.NwsgiModuleProvider,

NWSGI.Management, Version=0.6.0.0, Culture=neutral, 
PublicKeyToken=41e64ddc1bf1fc8660//configuration/locati...@path='.']/modulesadd1nameNWSGI)


MSI (s) (3C:BC) [13:39:30:173]: Invoking remote custom action. DLL: 
C:\Windows\Installer\MSI608D.tmp, Entrypoint: ExecXmlConfig
MSI (s) (3C:44) [13:39:30:173]: Generating random cookie.
MSI (s) (3C:44) [13:39:30:178]: Created Custom Action Server with PID 4512 
(0x11A0).
MSI (s) (3C:64) [13:39:30:290]: Running as a service.
MSI (s) (3C:64) [13:39:30:293]: Hello, I'm your 32bit Elevated custom action 
server.
ExecXmlConfig:  Error 0x8007006e: failed to load XML file: 
C:\Windows\system32\inetsrv\config\administration.config
MSI (s) (3C!08) [13:39:30:318]: Transforming table Error.

Hata 25541. XML dosyası 
C:\Windows\system32\inetsrv\config\administration.config 

açılamadı, sistem hatası: -2147024786
MSI (s) (3C!08) [13:39:31:418]: Transforming table Error.



It's trying to modify IIS administration.config file using a 32bit elevated 
custom action server. Is it ok for Windows 7 x64??!


----- Original Message ----
From: ahmet aslan <[email protected]>
To: General discussion for Windows Installer XML toolset. 
<[email protected]>
Sent: Sat, August 7, 2010 1:25:32 PM
Subject: Re: [WiX-users] How to modify iis administration.config file

[WindowsFolder]\system32\inetsrv\config won't work for me. Path in error 
message 


(c:\Windows\system32\inetsrv\config\administration.config) is ok, file exist; 
but got the same error message.


[SystemFolder]\inetsrv\config generates wrong path that is 
c:\Windows\SysWOW64\inetsrv\config\administration.config

I thing it's about UAC; but my installer ask me for the administrative right, 
so 


it should be ok to write file??!



----- Original Message ----
From: Chad Petersen <[email protected]>
To: General discussion for Windows Installer XML toolset. 
<[email protected]>
Sent: Fri, August 6, 2010 12:08:59 AM
Subject: Re: [WiX-users] How to modify iis administration.config file

If the error message is accurate it would seem to be dropping your
%systemroot% out of the path, which isn't too surprising. You might try
something more like

[WindowsFolder]\system32\inetsrv\config

Or

[SystemFolder]\inetsrv\config

-----Original Message-----
From: ahmet aslan [mailto:[email protected]] 
Sent: Thursday, August 05, 2010 2:02 PM
To: [email protected]
Subject: [WiX-users] How to modify iis administration.config file

Hello,
I'm trying to install my own IIS module on Windows 7 x64 system.

I did follow the steps on article 
http://jdhardy.blogspot.com/2008/10/installing-iis7-ui-extensions-with-w
ix.html 
using util:XmlConfig to modify administration.config located under 
%systemroot%\system32\inetsrv\config.

When I try to install my module using generated msi file, I got
following 
exception :


Failed to open XML file
c:\system32\inetsrv\config\administration.config, system 
error: -2147024786
what's wrong with my script?



      

------------------------------------------------------------------------
------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to