Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
wix heat不生成注册表输出_Wix_Registry_Heat - Fatal编程技术网

wix heat不生成注册表输出

wix heat不生成注册表输出,wix,registry,heat,Wix,Registry,Heat,我是WIX的新手(由于VS2013不再支持我的安装项目而被移动) 我使用的是:Windows Installer XML工具集工具集Harvester版本3.8.1128.0 我想从.reg文件生成WIX片段,但什么时候可以: 热注册MyApp.reg-v-o MyApp.wxs MyApp.wxs的内容很简单: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix

我是WIX的新手(由于VS2013不再支持我的安装项目而被移动)

我使用的是:Windows Installer XML工具集工具集Harvester版本3.8.1128.0

我想从.reg文件生成WIX片段,但什么时候可以:

热注册MyApp.reg-v-o MyApp.wxs

MyApp.wxs的内容很简单:

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" />

谢谢。

我从未见过像你帖子中那样的注册表文件。使用regedit的默认导出格式,
heat
可以完美地工作。例如,这里是从regedit导出的:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Event Viewer]
"MicrosoftRedirectionProgram"=hex(2):00,00
"MicrosoftRedirectionProgramCommandLineParameters"=""
"MicrosoftRedirectionURL"="http://go.microsoft.com/fwlink/events.asp"
这里是一个使用Win9x/WinNT格式的:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Event Viewer]
"MicrosoftRedirectionProgram"=hex(2):00
"MicrosoftRedirectionProgramCommandLineParameters"=""
"MicrosoftRedirectionURL"="http://go.microsoft.com/fwlink/events.asp"

对于您来说,最简单的解决方案可能是在已安装注册表项的系统上运行regedit,然后导出这些注册表项(通过右键单击注册表配置单元并从关联菜单中选择
export
)然后将生成的.reg文件用作热运行的源。

本文中程序生成的输出与热应用程序的输出匹配,但reg文件可以工作(以管理权限运行MyApp也是如此)。
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Event Viewer]
"MicrosoftRedirectionProgram"=hex(2):00
"MicrosoftRedirectionProgramCommandLineParameters"=""
"MicrosoftRedirectionURL"="http://go.microsoft.com/fwlink/events.asp"