Thiha 0 Posted October 1, 2015 Share Posted October 1, 2015 Dear Sir, i edit the Agent Live Installer.bat from this link instruction. hxxp://help.eset.com/era_admin/62/en-US/index.html?agent_live_installer.htm what wrong sir, advice me.Please Agent Installer.bat and Screenshoot are i attach below ESET Live Installer.rar Link to comment Share on other sites More sharing options...
Administrators Marcos 5,288 Posted October 1, 2015 Administrators Share Posted October 1, 2015 URL is not set correctly: 1, you have a space in the folder name but you didn't bound it by speech marks 2, a unc path should start with file://\\server\... Link to comment Share on other sites More sharing options...
Thiha 0 Posted October 2, 2015 Author Share Posted October 2, 2015 Sir, I set the URL url=file://\\svr\....folder name is no space.then, i run another pc Agent Live Installer.batbut error message is appear. i attach is below:My Actual Mechine is SVR2008R2 SP1My VMware Workstation Version is 11, Guest Operating System is Windows 7Please give me advice!!!!Thanks and best regardsThiha EraAgentInstaller.rar Link to comment Share on other sites More sharing options...
Administrators Marcos 5,288 Posted October 2, 2015 Administrators Share Posted October 2, 2015 I'd try entering the URI to a browser and see if the msi installer will run then. Link to comment Share on other sites More sharing options...
Thiha 0 Posted October 2, 2015 Author Share Posted October 2, 2015 Sir, i can't understand. give me instruction. Link to comment Share on other sites More sharing options...
jimwillsher 65 Posted October 2, 2015 Share Posted October 2, 2015 Look at the URL in your agent installer file. Copy it to clipboard Paste it into a browser. Does it run? There is another post on this forum - one of mine - which says which lines to change in order to use a local installer. I'll try to find it. Link to comment Share on other sites More sharing options...
jimwillsher 65 Posted October 2, 2015 Share Posted October 2, 2015 These are the lines to change - at least, these are the ones that I change when I need to do it set url=hxxp://repository.eset.com/v1/com/eset/apps/business/era/agent/v6/6.2.171.0/Agent_x64.msiif defined IsArch_x86 ( set url=hxxp://repository.eset.com/v1/com/eset/apps/business/era/agent/v6/6.2.171.0/Agent_x86.msi) becomes set url="C:\Temp\xxxx_x64.msi"if defined IsArch_x86 ( set url="C:\Temp\xxxx_x86.msi") or for a UNC path set url="\\Server\Share\xxxx_x64.msi"if defined IsArch_x86 ( set url="\\Server\Share\xxxx_86.msi") AND then replace this: echo.On Error Resume Nextecho.packageLocation = DownloadUsingHTTPProxy^("!url!", "!http_proxy_hostname!", "!http_proxy_port!", "!http_proxy_username!", "!http_proxy_password!"^)echo.If packageLocation = "" Thenecho. packageLocation = DownloadUsingHTTPProxy^("!url!", "", "", "", ""^)echo.End If with this: echo.On Error Resume Nextecho.packageLocation = !url!echo.On Error GoTo 0 Jim PS Edit your files in something like UltraEdit. The ESET-supplied files don't have Windows-friendly line endings so it's horrible to edit. UltraEdit sorts that for you. Link to comment Share on other sites More sharing options...
Thiha 0 Posted October 2, 2015 Author Share Posted October 2, 2015 Yes, Bro i will try. Thank for your information. Link to comment Share on other sites More sharing options...
Thiha 0 Posted October 2, 2015 Author Share Posted October 2, 2015 Not fix Bro, ERA Agent Live installer.bat log file is below: ra-agent-install.log Link to comment Share on other sites More sharing options...
jimwillsher 65 Posted October 2, 2015 Share Posted October 2, 2015 Well the changes I gave above work fine on my instances. What happens if you run your modified batch file from a simple command prompt ? Link to comment Share on other sites More sharing options...
Thiha 0 Posted October 2, 2015 Author Share Posted October 2, 2015 i don't know bro. i will try the this links instrucitons hxxp://help.eset.com/era_admin/62/en-US/ nothing do. i try the you say instructions above post. not fix. I want : 1.How to Deployement ERA Agent Liveinstaller.bat for my network (without download from ERA Server for Agent_x64.msi and Agent_x86.msi) PS: my country connection is very slow. 2.How to configure Agent Live Installer.bat (local share folder) Sorry for my bad english. Thanks and best regards. Link to comment Share on other sites More sharing options...
jimwillsher 65 Posted October 2, 2015 Share Posted October 2, 2015 I'll ask again. What happens if you run your modified batch file from a simple command prompt ? Link to comment Share on other sites More sharing options...
Thiha 0 Posted October 5, 2015 Author Share Posted October 5, 2015 I run the modified batch file from a simple command prompt, i get the "Windows Installer Error Message" is appear This installation package could not be opened.Contact the application vendor to verify that this is a valid Windows Installer package. My local shared folder is full access permission on everyone. e.g : \\svr\shared\Agent_x64.msi Link to comment Share on other sites More sharing options...
Recommended Posts