<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Install Add-on without admin rights in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/604649#M9386</link>
    <description>&lt;P&gt;Okay I don't know why, but the key are correctly present in the registry. It actually finds the Add-on in Archicad, but when I run it it complains that it can't find the cefsimple.exe&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pagliu96_0-1716277948484.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/61118i75A0E78B1E894FCD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pagliu96_0-1716277948484.png" alt="pagliu96_0-1716277948484.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I think the issue is related to some wrong path setup in the WiX installer.&lt;/P&gt;
&lt;P&gt;Edit:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes I solved it, it was searching for the cefsimple.exe file in the wrong path, now I've moved to the LOCALAPPDATA env path and it works as before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for everything!&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2024 07:44:08 GMT</pubDate>
    <dc:creator>pagliu96</dc:creator>
    <dc:date>2024-05-23T07:44:08Z</dc:date>
    <item>
      <title>Install Add-on without admin rights</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/604475#M9380</link>
      <description>&lt;P&gt;Hello everybody, I'm developing an Add-on for Archicad in C++, and I would like to have an installer that doesn't require the admin rights (currently I'm using WiX installer).&lt;/P&gt;
&lt;P&gt;I've set the rights perUser, and using also the LocalUser registry key for the installation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've moved also the installation path to LocalAppData folder, this removes the usage of the admin rights, but now the issue is that the user has to manyally change the Adds-on folder through the Adds-on Manager. I would like to avoid this, I would like that the add-on would be accessibile right after the installation (permission-free).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to createa sort of link between the LocalAppData and Archicad?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance guys!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 10:48:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/604475#M9380</guid>
      <dc:creator>pagliu96</dc:creator>
      <dc:date>2024-09-26T10:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Install Add-on without admin rights</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/604477#M9381</link>
      <description>&lt;P&gt;Yes, it is possible. Installer should prompt your user for a target installation folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After that add a new registry string with your plugin path in HKCU\Software\GRAPHISOFT\ARCHICAD\Archicad 27.0.0 INT R1\Add-On Manager\Include&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Addon location/folder should be formatted sth like 'lan.flat:///your/install/path/yourpluginname.apx'&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 12:02:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/604477#M9381</guid>
      <dc:creator>Miha Nahtigal</dc:creator>
      <dc:date>2024-05-20T12:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Install Add-on without admin rights</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/604625#M9384</link>
      <description>&lt;P&gt;Thanks for the answer Miha!&lt;/P&gt;&lt;P&gt;This method implies that the user is selecting the instsallation path or it is possible to just use AppData folder for doing that (I would like to use that).&lt;BR /&gt;And after I've the installation folder (appdata), I've to set a registry key for linking it to the add-on manager right?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot, I'm going to give it a try &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 07:49:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/604625#M9384</guid>
      <dc:creator>pagliu96</dc:creator>
      <dc:date>2024-05-21T07:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Install Add-on without admin rights</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/604628#M9385</link>
      <description>&lt;P&gt;Yes, you can also use AppData.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 08:06:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/604628#M9385</guid>
      <dc:creator>Miha Nahtigal</dc:creator>
      <dc:date>2024-05-21T08:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Install Add-on without admin rights</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/604649#M9386</link>
      <description>&lt;P&gt;Okay I don't know why, but the key are correctly present in the registry. It actually finds the Add-on in Archicad, but when I run it it complains that it can't find the cefsimple.exe&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pagliu96_0-1716277948484.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/61118i75A0E78B1E894FCD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pagliu96_0-1716277948484.png" alt="pagliu96_0-1716277948484.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I think the issue is related to some wrong path setup in the WiX installer.&lt;/P&gt;
&lt;P&gt;Edit:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes I solved it, it was searching for the cefsimple.exe file in the wrong path, now I've moved to the LOCALAPPDATA env path and it works as before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for everything!&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 07:44:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/604649#M9386</guid>
      <dc:creator>pagliu96</dc:creator>
      <dc:date>2024-05-23T07:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Install Add-on without admin rights</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/605005#M9388</link>
      <description>&lt;P&gt;Hello again, I've to ask another thing about this topic, since I'm having some troubles.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pagliu96_0-1716469824299.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/61236i96EE2048882731AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pagliu96_0-1716469824299.png" alt="pagliu96_0-1716469824299.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I've add a new string name cointaining the &lt;EM&gt;.apx &lt;/EM&gt;plugin&amp;nbsp;file, after that I've increased the "&lt;EM&gt;Include Number&lt;/EM&gt;" string value of 1. This worked and allow me to use the plugin once Archicad runs in my current installation context of the plugin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;But&lt;/STRONG&gt; I've tried with a new Archicad installation, it creates correctly the keys "&lt;EM&gt;Add-On manager&lt;/EM&gt;" and "&lt;EM&gt;Include&lt;/EM&gt;" in the case they were missing, but this doesn't allow Archicad to find the plugin once the software runs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What solved this was manually open the Adds-On Manager &lt;STRONG&gt;dialog&lt;/STRONG&gt; from the software and and changing the "&lt;EM&gt;Actual Path&lt;/EM&gt;" (in the Registry) to the plugin path in the LocalAppData folder. Then close and re-open and change again the &lt;EM&gt;Actual Path&lt;/EM&gt; to default value (Program Files folder).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pagliu96_1-1716470326957.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/61237iC67E857CB4896389/image-size/large?v=v2&amp;amp;px=999" role="button" title="pagliu96_1-1716470326957.png" alt="pagliu96_1-1716470326957.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This "fixed" the software and now when I remove the plugin and install again it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is making me thinking that I'm missing some operations to do before setting the path. Are there any API call that I should use or something that I'm missing?&lt;BR /&gt;&lt;BR /&gt;If you want I can attach you the CustomAction code for the WiX installer that adds the Registry Key of the plugin.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 15:40:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Install-Add-on-without-admin-rights/m-p/605005#M9388</guid>
      <dc:creator>pagliu96</dc:creator>
      <dc:date>2024-05-23T15:40:21Z</dc:date>
    </item>
  </channel>
</rss>

