MSI安装程序,64位操作系统,写信给\ WINDOWS \ SYSTEM32 \ inetsrv文件夹中 [英] MSI Installer, 64 bit OS, write to \windows\system32\inetsrv folder

查看:191
本文介绍了MSI安装程序,64位操作系统,写信给\ WINDOWS \ SYSTEM32 \ inetsrv文件夹中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows Server 2008 64位,我需要一个.msi安装程序文件写一些文件到\ WINDOWS \ SYSTEM32 \ inetsrv文件夹中。 (该文件是一些XML Schema验证文件,即C#XmlReaderSettings.Schema.Add()预计将在该文件夹)。

On Windows Server 2008 64-bit, I need an .msi installer file to write some files to \windows\system32\inetsrv folder. (The files are some XML Schema validation files, that C# XmlReaderSettings.Schema.Add() expects to be in that folder).

当安装程序运行时,该文件最终在\ WINDOWS \ Syswow64资料\ inetsrv文件夹中,而不是在他们需要的。

When the installer runs, the files end up in \windows\SysWOW64\inetsrv folder, not where they need to be.

我试图让安装程序然后写\ WINDOWS \ Sysnative文件夹,安装程序创建与确切的名字,这是我没想到的是可能的一个文件夹。请参阅<一href="http://www.tipandtrick.net/2008/how-to-sup$p$pss-and-bypass-system32-file-system-redirect-to-syswow64-folder-with-sysnative/"相对=nofollow>此页的SUP pressing SysWOW64中重定向一个很好的讨论。

I attempted to have the installer then write to \windows\Sysnative folder, and the installer created a folder with that exact name, which I didn't expect to be possible. See this page for a good discussion on suppressing SysWOW64 redirection.

我应该如何获得的.msi写我的文件复制到\ WINDOWS \ SYSTEM32 \ INETSRV在Windows文件夹中2008年64位?

How should I get the .msi to write my files to the \windows\system32\inetsrv folder on Windows 2008 64-bit?

推荐答案

下面是的系统文件夹您可以使用属性。我知道这是违反直觉的,但你尝试过 System64Folder 的?阅读上述表示的。

Here are the system folder properties you can use. I know it is counter-intuitive, but have you tried System64Folder? Read the remarks.

如果还是不行,请尝试只是套结System32下就到了的 WindowsFolder

If that doesn't work, try just tacking System32 on to the end of WindowsFolder.

编辑-1:尝试将 Win64的属性在你的组件元素,看看重定向行为更改。

Edit-1: Try setting the Win64 attribute on your Component element and see if the redirection behavior changes.

这篇关于MSI安装程序,64位操作系统,写信给\ WINDOWS \ SYSTEM32 \ inetsrv文件夹中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆