<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум Guardant &mdash; Командные ключи NwKey32.exe - 2]]></title>
	<link rel="self" href="https://forum.guardant.ru/feed/atom/topic/354/" />
	<updated>2013-11-21T12:13:56Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.guardant.ru/topic/354/</id>
		<entry>
			<title type="html"><![CDATA[Re: Командные ключи NwKey32.exe - 2]]></title>
			<link rel="alternate" href="https://forum.guardant.ru/post/1743/#p1743" />
			<content type="html"><![CDATA[<p>Здравствуйте! </p><p>Тишина вызвана не игнорированием, а подготовкой решения проблемы :). Действительно, обнаружена ошибка в парсере командной строки, приводящая к некорректной обработке относительных путей в некоторых случаях.</p><p>Сегодня мы обновили SDK 6.3 на нашем сайте, данная ошибка исправлена.</p><p>Спасибо за сигнал!</p>]]></content>
			<author>
				<name><![CDATA[AndreyStepin]]></name>
				<uri>https://forum.guardant.ru/user/8/</uri>
			</author>
			<updated>2013-11-21T12:13:56Z</updated>
			<id>https://forum.guardant.ru/post/1743/#p1743</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Командные ключи NwKey32.exe - 2]]></title>
			<link rel="alternate" href="https://forum.guardant.ru/post/1740/#p1740" />
			<content type="html"><![CDATA[<p>... и тишина :) ...</p>]]></content>
			<author>
				<name><![CDATA[Phaza7]]></name>
				<uri>https://forum.guardant.ru/user/705/</uri>
			</author>
			<updated>2013-11-21T09:21:14Z</updated>
			<id>https://forum.guardant.ru/post/1740/#p1740</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Командные ключи NwKey32.exe - 2]]></title>
			<link rel="alternate" href="https://forum.guardant.ru/post/1734/#p1734" />
			<content type="html"><![CDATA[<p>Наткнулся ещё на одну интересную особенность NwKey32.exe. Команда: </p><p>&nbsp; &nbsp; &nbsp;NwKey32.exe&nbsp; &nbsp;/GS3S=0:::9:PublicKey.bin&nbsp; &nbsp;/UV=15&nbsp; /UN=12&nbsp; /UM=0x10&nbsp; &nbsp;/T=1&nbsp; /RC=0&nbsp; /EXIT_DELAY=20&nbsp; &nbsp;^<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/V&nbsp; &nbsp;/ATR=2&nbsp; &nbsp;/MSG=NWKEY32.rus.MSG&nbsp; &nbsp;^<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<strong>%CD%\..\..\Output\XXX.exe</strong></p><p>отрабатывает без проблем, но, если добавить флаг /IMPORT_HOOK_LIST:</p><p>&nbsp; &nbsp; &nbsp;NwKey32.exe&nbsp; &nbsp;/GS3S=0:::9:PublicKey.bin&nbsp; &nbsp;/UV=15&nbsp; /UN=12&nbsp; /UM=0x10&nbsp; &nbsp;/T=1&nbsp; /RC=0&nbsp; /EXIT_DELAY=20&nbsp; &nbsp;^<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/V&nbsp; &nbsp;/ATR=2&nbsp; &nbsp;/MSG=NWKEY32.rus.MSG&nbsp; &nbsp;^<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/IMPORT_HOOK_LIST=XXX.piw&nbsp; &nbsp; ^<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<strong>%CD%\..\..\Output\XXX.exe</strong></p><p>получаем: &#039;Файл &#039;e:\x_Work\ZZZ\Install\AutoProtect\..\..\Output\XXX.exe&#039; ERROR: Неверный формат исполняемого файла&#039;<br />но если указать абсолютный путь:</p><p>&nbsp; &nbsp; &nbsp;NwKey32.exe&nbsp; &nbsp;/GS3S=0:::9:PublicKey.bin&nbsp; &nbsp;/UV=15&nbsp; /UN=12&nbsp; /UM=0x10&nbsp; &nbsp;/T=1&nbsp; /RC=0&nbsp; /EXIT_DELAY=20&nbsp; &nbsp;^<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/V&nbsp; &nbsp;/ATR=2&nbsp; &nbsp;/MSG=NWKEY32.rus.MSG&nbsp; &nbsp;^<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/IMPORT_HOOK_LIST=XXX.piw&nbsp; &nbsp; ^<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<strong>e:\x_Work\ZZZ\Output\XXX.exe</strong></p><p>то всё вновь OK</p><p>Каким-то образом указание *.piw файла влияет на восприятие пути к входному файлу. Хотя для любой Win32 API функции пути &#039;e:\x_Work\ZZZ\Install\AutoProtect\..\..\Output\XXX.exe&#039; и &#039;e:\x_Work\ZZZ\Output\XXX.exe&#039; идентичны.<br />Кстати, <strong>относительные</strong> путь к входному файлу при указании *.piw файла так же перестают восприниматься.</p>]]></content>
			<author>
				<name><![CDATA[Phaza7]]></name>
				<uri>https://forum.guardant.ru/user/705/</uri>
			</author>
			<updated>2013-11-11T18:10:27Z</updated>
			<id>https://forum.guardant.ru/post/1734/#p1734</id>
		</entry>
</feed>
