<?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=412629&amp;view=findpost&amp;p=3781247</guid>
        <pubDate>Mon, 22 Oct 2018 12:24:39 +0000</pubDate>
        <title>[WIX] Разрегистрация перед удалением</title>
        <link>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3781247</link>
        <description><![CDATA[wixinstaller: Спустя кучу времени багу проверили и все же это не помогло :scratch: <br>Может есть еще какие-то советы? Я уже совсем запутался...]]></description>
        <author>wixinstaller</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3773274</guid>
        <pubDate>Mon, 02 Jul 2018 17:28:09 +0000</pubDate>
        <title>[WIX] Разрегистрация перед удалением</title>
        <link>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3773274</link>
        <description><![CDATA[wixinstaller: Большое спасибо&#33; Кажется, это именно то что нужно&#33;]]></description>
        <author>wixinstaller</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3771800</guid>
        <pubDate>Tue, 12 Jun 2018 07:41:05 +0000</pubDate>
        <title>[WIX] Разрегистрация перед удалением</title>
        <link>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3771800</link>
        <description><![CDATA[Fester: У UnregExeX86 и UnregExe также должно быть Impersonate=&#39;no&#39;, чтобы эти кастом экшены запускались в повышенными правами.]]></description>
        <author>Fester</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3771773</guid>
        <pubDate>Mon, 11 Jun 2018 16:07:11 +0000</pubDate>
        <title>[WIX] Разрегистрация перед удалением</title>
        <link>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3771773</link>
        <description><![CDATA[wixinstaller: Извиняюсь, что так долго не отвечал. Увы, не помогло, результат все тот же.]]></description>
        <author>wixinstaller</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3769370</guid>
        <pubDate>Mon, 14 May 2018 15:39:47 +0000</pubDate>
        <title>[WIX] Разрегистрация перед удалением</title>
        <link>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3769370</link>
        <description><![CDATA[Fester: UnregExeX86 и UnregExe у тебя выполняются с Immediate Mode. Подозреваю, что для дерегистрации просто не хватает прав. Добавь этим кастом экшена Execute=&#39;deferred&#39;.]]></description>
        <author>Fester</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3769341</guid>
        <pubDate>Mon, 14 May 2018 11:14:27 +0000</pubDate>
        <title>[WIX] Разрегистрация перед удалением</title>
        <link>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3769341</link>
        <description><![CDATA[wixinstaller: Неужели никто не в курсе?&#33; :oops:]]></description>
        <author>wixinstaller</author>
        <category>Инсталляторы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3768872</guid>
        <pubDate>Tue, 08 May 2018 13:41:33 +0000</pubDate>
        <title>[WIX] Разрегистрация перед удалением</title>
        <link>https://forum.sources.ru/index.php?showtopic=412629&amp;view=findpost&amp;p=3768872</link>
        <description><![CDATA[wixinstaller: Мне нужно перед удалением MSI вызвать разрегистрацию EXE-шников.<br>
Перебрал немало вариантов, вот последний из них.<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;&#60;CustomAction Id=&#39;RegExeX86&#39; FileKey=&#39;ExeX86.exe&#39; ExeCommand=&#39;/regserver&#39; Return=&#39;check&#39; Execute=&#39;commit&#39; Impersonate=&#39;no&#39;/&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;CustomAction Id=&#39;RegExe&#39; FileKey=&#39;Exe.exe&#39; ExeCommand=&#39;/regserver&#39; Return=&#39;check&#39; Execute=&#39;commit&#39; Impersonate=&#39;no&#39;/&#62;</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;CustomAction Id=&#39;UnregExeX86&#39; FileKey=&#39;ExeX86.exe&#39; ExeCommand=&#39;/unregserver&#39; Return=&#39;check&#39;/&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;CustomAction Id=&#39;UnregExe&#39; FileKey=&#39;Exe.exe&#39; ExeCommand=&#39;/unregserver&#39; Return=&#39;check&#39;/&#62;</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;InstallExecuteSequence&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;&#60;RemoveExistingProducts After=&#39;InstallInitialize&#39; /&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;&#60;Custom Action=&#39;RegExeX86&#39; After=&#39;PublishProduct&#39;&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&#60;![CDATA[$ExeX86.exe&#62;2 AND UILevel&#62;3]]&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;&#60;/Custom&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;&#60;Custom Action=&#39;RegExe&#39; After=&#39;RegExeX86&#39;&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&#60;![CDATA[$Exe.exe&#62;2 AND UILevel&#62;3]]&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;&#60;/Custom&#62;</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;&#60;Custom Action=&#39;UnregExeX86&#39; After=&#39;InstallInitialize&#39;&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&#60;![CDATA[REMOVE=&quot;ALL&quot;]]&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;&#60;/Custom&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;&#60;Custom Action=&#39;UnregExe&#39; After=&#39;UnregExeX86&#39;&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&#60;![CDATA[REMOVE=&quot;ALL&quot;]]&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;&#60;/Custom&#62;</div><div class="code_line">&nbsp;&nbsp; &nbsp;&#60;/InstallExecuteSequence&#62;</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script><br>
<br>
В результате установка и регистрация проходит вроде нормально, а вот при удалении ошибка и откат. Подозреваю, что в момент попытки разрегистрации файлов уже нету, или что-то в таком духе. Пробовал вместо After=&#39;InstallInitialize&#39; - Before=&#39;RemoveFiles&#39;, но результат был такой же... :wall:]]></description>
        <author>wixinstaller</author>
        <category>Инсталляторы</category>
      </item>
	
      </channel>
      </rss>
	