English 中文(简体)
Programmatically change IIS7 s ApplicationHost.config on Windows 2008 64-bit
原标题:

I need my 32-bit InstallShield installer to make a change to ApplicationHost.config (Part of IIS7). I want to set the value of overrideModeDefaults from "Deny" to "Allow" for the ipSecurity configSection.

This works fine in Windows 2008 32-bit, but not in Windows 2008 64-bit. The problem is that the installer only looks in systemWOW64 for the file, but it is actually in system32.

Is there a way for me to edit this file programmatically from my 32-bit installer? I m okay with running a script or even doing it post-install with my 32-bit configuration tool.

最佳回答

I think I ve found my own answer. Turns out you can use %windir%sysnative to access the system32 directory in a 32-bit application.

问题回答

暂无回答




相关问题
System Architecture

How do I determine whether the currently running Mac OS X system is of 32bit or 64bit machine?

Starting Assembly

I m new to assembly language, and would like to learn. I have Vista-64 (will be upgraded to Windows 7 64), and I will soon be reinstalling 32-bit Linux, but I will end up programming on both systems, ...

Does a 64-bit CruiseControl.NET exist?

Does a 64-bit CruiseControl.NET exist or do I need to install the 32-bit version? Our CI server is Server2003 64-bit. Currently I have been testing on WinXP Pro and no problems. If I do need to run ...

32bit application access to 64bit registry

I have an OS Shell written in 32bit that is replacing the Explorer.exe of a Vista machine. I run a utility which is also written in 32bit, which allows to switch between the Explorer shell and My ...

热门标签