<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3229035</guid>
        <pubDate>Wed, 31 Oct 2012 15:18:56 +0000</pubDate>
        <title>WIX: создать RegistryValue в HKLM</title>
        <link>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3229035</link>
        <description><![CDATA[Fester: пишешь код на С++, JS или VB и говоришь инстраллятору исполнить этот код.]]></description>
        <author>Fester</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3228946</guid>
        <pubDate>Wed, 31 Oct 2012 13:45:47 +0000</pubDate>
        <title>WIX: создать RegistryValue в HKLM</title>
        <link>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3228946</link>
        <description><![CDATA[0.0: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=361285&view=findpost&p=3181943'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>Fester &#064; <time class="tag-quote__quoted-time" datetime="2012-08-01T06:56:33+00:00">01.08.12, 06:56</time></span><div class='quote '>сделай тогда еще один кастом экшен, который будет удалять этот ключ</div></div><br>
а как это делается с помощью кастом экшена? Имею в виду удаление ключа...]]></description>
        <author>0.0</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3181943</guid>
        <pubDate>Wed, 01 Aug 2012 06:56:33 +0000</pubDate>
        <title>WIX: создать RegistryValue в HKLM</title>
        <link>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3181943</link>
        <description><![CDATA[Fester: ну можно конечно перекрутить всю стандартную последовательность экшенов... но это наверное не очень хорошо.<br>сделай тогда еще один кастом экшен, который будет удалять этот ключ.]]></description>
        <author>Fester</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3181703</guid>
        <pubDate>Tue, 31 Jul 2012 16:08:55 +0000</pubDate>
        <title>WIX: создать RegistryValue в HKLM</title>
        <link>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3181703</link>
        <description><![CDATA[0.0: Я попробовал удалить весь ключ через<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#60;Component Id=&#39;RegistryHKLM&#39; DiskId=&#39;1&#39; Guid=&#39;3339405D-3E8A-4C29-A7E7-AD23A59388A6&#39; KeyPath=&#39;yes&#39;&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;RemoveRegistryKey Id=&#39;Remove.sdb&#39; Action=&quot;removeOnInstall&quot; Root=&quot;HKLM&quot; Key=&quot;SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fcd580c2-b5f1-4a44-b6da-77f38813bfdd}.sdb&quot;/&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;/Component&#62;</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script><br>
Но removeOnInstall не работает, видимо он срабатывает раньше, чем кастом экшн, устанавливающий sdb. Потому что если использовать removeOnUninstall то после удаления оно сносит ключ нормально. Может есть какой-то ивент, к какому можно привязать кастом экшн, который ставит sdb, чтобы установка происходила ДО попытки удалить ключ с реестра?]]></description>
        <author>0.0</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3178154</guid>
        <pubDate>Thu, 26 Jul 2012 06:11:28 +0000</pubDate>
        <title>WIX: создать RegistryValue в HKLM</title>
        <link>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3178154</link>
        <description><![CDATA[Fester: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=361285&view=findpost&p=3177925'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>0.0 &#064; <time class="tag-quote__quoted-time" datetime="2012-07-25T16:01:18+00:00">25.07.12, 16:01</time></span><div class='quote '>Так вот эту запись мне желательно сделать системной, чтобы скрыть от нежелательного вмешательства </div></div><br>
Ну удали просто запись из реестра и дело в шляпе :) Если надо удалять при деинсталляции, то придется немного усложнить, но тоже ничего сверхсложного.<br>
<br>
про sbd ничего не могу рассказать, т.к. не сталкивался :)]]></description>
        <author>Fester</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3177925</guid>
        <pubDate>Wed, 25 Jul 2012 16:01:18 +0000</pubDate>
        <title>WIX: создать RegistryValue в HKLM</title>
        <link>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3177925</link>
        <description><![CDATA[0.0: Я правлю инсталл, в котором есть такой вот кастом экшн<br> &lt;CustomAction Id=&quot;InstallSDB&quot; Directory=&quot;INSTALLDIR&quot; ExeCommand=&quot;sdbinst -q MyDB.sdb&quot; Return=&#39;ignore&#39; Execute=&#39;commit&#39;/&gt;<br><br>После установки появляется сама инсталлируемая программа в ARP и ещё одна запись там же для MyDB. Она запускает следующее<br>%windir%&#092;system32&#092;sdbinst.exe -u &quot;C:&#092;Windows&#092;AppPatch&#092;Custom&#092;{fcd580c2-b5f1-4a44-b6da-77f38813bfdd}.sdb&quot;<br>Так вот эту запись мне желательно сделать системной, чтобы скрыть от нежелательного вмешательства  :)]]></description>
        <author>0.0</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3177899</guid>
        <pubDate>Wed, 25 Jul 2012 14:37:55 +0000</pubDate>
        <title>WIX: создать RegistryValue в HKLM</title>
        <link>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3177899</link>
        <description><![CDATA[Fester: Ты скажи, в чем проблема :)<br><br>Если ты не хочешь, чтобы твоя программа показывалась в Add/Remove Programs (ARP), то да ARPSYSTEMCOMPONENT - решение проблемы.<br>Если что-то другое, то опиши проблему :)]]></description>
        <author>Fester</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3177604</guid>
        <pubDate>Wed, 25 Jul 2012 08:32:37 +0000</pubDate>
        <title>WIX: создать RegistryValue в HKLM</title>
        <link>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3177604</link>
        <description><![CDATA[0.0: сорри если туплю, но ARPSYSTEMCOMPONENT property - это решение проблемы?]]></description>
        <author>0.0</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3176489</guid>
        <pubDate>Mon, 23 Jul 2012 16:08:12 +0000</pubDate>
        <title>WIX: создать RegistryValue в HKLM</title>
        <link>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3176489</link>
        <description><![CDATA[0.0: да, видимо это - оно.]]></description>
        <author>0.0</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3176406</guid>
        <pubDate>Mon, 23 Jul 2012 12:57:22 +0000</pubDate>
        <title>WIX: создать RegistryValue в HKLM</title>
        <link>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3176406</link>
        <description><![CDATA[Fester: Не совсем понятно, о каком ярлыке идет речь? О <a class='tag-url' href='http://msdn.microsoft.com/en-us/library/windows/desktop/aa367750%28v=vs.85%29.aspx' target='_blank'>ARPSYSTEMCOMPONENT property</a>?]]></description>
        <author>Fester</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3175523</guid>
        <pubDate>Fri, 20 Jul 2012 15:06:14 +0000</pubDate>
        <title>WIX: создать RegistryValue в HKLM</title>
        <link>https://forum.sources.ru/index.php?showtopic=361285&amp;view=findpost&amp;p=3175523</link>
        <description><![CDATA[0.0: Необходимо скрыть ярлык в Установке/удалении программ. Нашел, что можно это сделать так<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;RegistryKey Root=&quot;HKLM&quot; Key=&quot;Software\Microsoft\Windows\CurrentVersion\Uninstall\{fcd580c2-b5f1-4a44-b6da-77f38813bfdd}.sdb&quot; &#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;RegistryValue Name=&quot;SystemComponent&quot; Type=&quot;integer&quot; Value=&quot;1&quot; KeyPath=&quot;yes&quot; /&#62; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#60;/RegistryKey&#62;</div></ol></div></div></div></div><br>
Но RegistryValue не создается(( Подозреваю, что проблема в правах. Как это можно обойти?]]></description>
        <author>0.0</author>
        <category>Инсталляторы</category>
      </item>
	
      </channel>
      </rss>
	