<div dir="ltr">Hello John,<div><br><div class="gmail_extra"><div class="gmail_quote">On 14 August 2013 11:33,  <span dir="ltr"><<a href="mailto:john@webwrite.eclipse.co.uk" target="_blank">john@webwrite.eclipse.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>Hi Kevin,<br>Thank you for your reply. I have been posting in the Fusion Forum - Fusion Inventory for GLPI English with username 'johna'<br>
</div></blockquote><div><br></div><div>OK, i'll look to your post and i'll reply to it like i'm doing with your email ;-) .</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>My setup consists of GLPI version 0.83.31 on clean install of Debian Wheezy. The agent is 2.2.7-4.<br>I have installed the agent as a service and added appropriate proxy information.<br><br>I can succesfully download the packages onto the target computers but fails when trying to install. I have been using the RUNAS command and here is where my knowledge fails as I am unsure of the correct syntax to use. I have got as far as the target requesting manual input of the password which is obviously not appropriate. The code that I was using is:-  <br>
RUNAS /user:$MyUsername /password:MyPassword picasa39-setup.exe  
<br><br></div></blockquote><div><br></div><div>Unfortunately, you can't pass any password parameter to runas. The only way to do this eventually is to use some vbs script which will handle the password typing [1].</div>
<div><br></div><div>From what i understand from this command, you are trying to install picasa as a local user but from your last forum post i also understand that you want to install with administrator privileges. If you want to install with administrator privileges, then there is no need to use RUNAS since FusionInventory-Agent is run as a SYSTEM service, therefore it has been privileged to install anything like an Administrator.</div>
<div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>I mainly intend to install .exe or msi files<br>
<br></div></blockquote><div> </div><div>Unlike MSI, you should keep in mind that EXE installers are made from various installer frameworks (like NSIS, INSTALLSHIELD,...) .</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>Having just tried again while writing this email it has come back as 'Status OK' (the first ever time). But software is not installed. I have attached the part of the Agent log as a text file.<br><br></div></blockquote>
<div><br></div><div>Fusioninventory-agent seems to work correctly on your setup and the only blocker is the runas command asking for a password interactively.</div><div><br></div><div>[1] <a href="http://gallery.technet.microsoft.com/scriptcenter/9bda53d7-ec2e-4bc2-8e97-4487233bc55b">http://gallery.technet.microsoft.com/scriptcenter/9bda53d7-ec2e-4bc2-8e97-4487233bc55b</a></div>
<div>--</div><div>Kevin 'kiniou' Roy</div></div></div></div></div>