MSI Installer, 64-bit OS, writing to the \ windows \ system32 \ inetsrv folder

On a 64-bit version of Windows Server 2008, I need a .msi installation file to write some files to the \ windows \ system32 \ inetsrv folder. (Files are XML schema validation files that C # XmlReaderSettings.Schema.Add () expects to be in this folder).

When the installer runs, the files go to the \ windows \ SysWOW64 \ inetsrv folder, and not where they should be.

I tried to install the installer in the \ windows \ Sysnative folder, and the installer created a folder with such an exact name that I did not expect this to be possible. See this page for a good discussion about stopping SysWOW64 redirects.

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

+3
source share
3 answers

The following are the properties of the system folders . I know this is against intuition, but have you tried System64Folder ? Read the comments.

If this does not work, just bind System32 to the end of WindowsFolder .

Edit-1: try setting the Win64 attribute on your Component component and see if the redirection behavior has changed.

+2
source

Sysnative wxs, : Sysnative Windows System32. Sysnative CA vbscript: Windows (& H24 &) append\Sysnative. , CA.

+1

, \windows, \windows\system32. , # XmlReaderSettings.Schema.Add() \windows. system32, .

, .

0

Source: https://habr.com/ru/post/1716330/


All Articles