Cant install on client and instpkgs is empty

Hello,

In a test environment Im trying to test Avast! EPSP
Avast Enterprise Admnistration Build APr2016 (8.0.405)
Windows Server 2012 R2
SQL server 2016
All on the same VM.
Have a client with windows 10 and windows 7 all ports etc all open.

The problem is that there is no setup.exe file and there is also no aswResp.dat…
Here is the log:

07/12/17 15:30:48: rinstInstall begin
07/12/17 15:30:48: Init 50 60 C:\Windows\TEMP\aswCDAB.tmp C:\Program Files\AVAST Software\Enterprise Administration\InstPkgs NULL 0
07/12/17 15:30:48: Store
07/12/17 15:30:48: Domains: AVT,
07/12/17 15:30:48: Init AVT\AVT_CL2
07/12/17 15:30:48: AVT_CL2: GetAccount
07/12/17 15:30:48: AVT_CL2: Queueing
07/12/17 15:30:48: StartThread
07/12/17 15:30:48: Loop
07/12/17 15:30:48: SpawnThreads
07/12/17 15:30:48: AVT_CL2: StartSetup
07/12/17 15:30:48: AVT_CL2: Connecting
07/12/17 15:30:48: AVT_CL2: Copying files
07/12/17 15:30:48: AVT_CL2: Copying aswISvc.exe
07/12/17 15:30:48: AVT_CL2: Copying Admin.ini
07/12/17 15:30:48: AVT_CL2: aswResp.dat not present
07/12/17 15:30:48: AVT_CL2: Copying setup.exe
07/12/17 15:30:48: AVT_CL2: CopyFile C:\Program Files\AVAST Software\Enterprise Administration\InstPkgs\setup.exe \AVT_CL2\C$~AVINSTL\setup.exe error 2 (The system cannot find the file specified)
07/12/17 15:30:48: AVT_CL2: RemoveOnError
07/12/17 15:30:48: AVT_CL2: RemoveFolder \AVT_CL2\C$~AVINSTL
07/12/17 15:30:48: AVT_CL2: CloseConnection
07/12/17 15:30:48: AVT_CL2: Finished with error
07/12/17 15:30:48: TerminateAll
07/12/17 15:30:48: rinstInstall end 0

Can someone PLEASE help me or else Avast wil not be for us.

Greetings Daan

It seems like your mirror server is broken.

Please run the “C:\Program Files\AVAST Software\Enterprise Administration\mirror\mirror.exe” tool to rebuild the mirror and try again.
If the deployment fails again, attach the mirror.log from "C:\Program Files\AVAST Software\Enterprise Administration\mirror\log".

Thanks for the advice, I looked in the mirror log and saw that he couldnt get some files from avast.com, whitelisted the website and the mirror looks like this:

13.07.2017 11:09:12.000 1499969352 (null) ERROR:HttpGetWininet, catch returned 0x00002EE2 (12002)
13.07.2017 11:10:20.000 1499969420 (null) ERROR:HttpGetWininet, catch returned 0x00002EE2 (12002)
13.07.2017 11:11:25.000 1499969485 (null) Started: 13.07.2017, 11:11:25
13.07.2017 11:11:25.000 1499969485 (null) Running mirror_w32-0 (0)
13.07.2017 11:11:25.000 1499969485 (null) scr: Another instance of mirror.exe is already running.
13.07.2017 11:11:25.000 1499969485 (null) Return code: 0x2000000A [Another instance of setup is already running. Please wait until it finishes and then try to run it again.]
13.07.2017 11:11:25.000 1499969485 (null) Stopped: 13.07.2017, 11:11:25
13.07.2017 11:12:45.000 1499969565 (null) Started: 13.07.2017, 11:12:45
13.07.2017 11:12:45.000 1499969565 (null) Running mirror_w32-0 (0)
13.07.2017 11:12:45.000 1499969565 (null) Operating system: Windows 7 ver 6.2, build 9200, sp 0.0 SERVER
13.07.2017 11:12:45.000 1499969565 (null) Memory: 11% load. Phys:4194303/4194303K free, Page:4194303/4194303K free, Virt:2075088/2097024K free
13.07.2017 11:12:45.000 1499969565 (null) Computer WinName: AVT_SRV1
13.07.2017 11:12:45.000 1499969565 (null) Windows Net User: SYSTEM
13.07.2017 11:12:45.000 1499969565 (null) Operation set to INST_OP_MIRROR_MIRROR
13.07.2017 11:12:45.000 1499969565 (null) Direct delete of file: C:\Windows\TEMP_av_mirrI.tm~a00368\onefile.dld
13.07.2017 11:12:45.000 1499969565 (null) Direct delete of file: C:\Windows\TEMP_av_mirrI.tm~a00368\setup.lok
13.07.2017 11:12:45.000 1499969565 (null) Using temp: C:\Windows\TEMP_av_mirrI.tm~a02620 (36963M free)
13.07.2017 11:12:45.000 1499969565 (null) Computer DnsName: AVT_SRV1.AVT.LOCAL
13.07.2017 11:12:45.000 1499969565 (null) Computer Ip Addr: 10.100.69.147
13.07.2017 11:12:45.000 1499969565 (null) scr: mirror begin…
13.07.2017 11:12:45.000 1499969565 (null) SYNCER: Type: use IE settings
13.07.2017 11:12:45.000 1499969565 (null) SYNCER: Auth: another authentication, use WinInet
13.07.2017 11:12:45.000 1499969565 (null) GUID: 47093b1e-b666-4273-a9fd-8c02f42663cb
13.07.2017 11:12:45.000 1499969565 (null) scr: Mirroring…
13.07.2017 11:12:45.000 1499969565 (null) Server definition(s) loaded for ‘main’: 29 (maintenance:0)
13.07.2017 11:12:45.000 1499969565 (null) SelectCurrent: selected server ‘Download g8263359 AVAST5 Server’ from ‘main’
13.07.2017 11:12:45.000 1499969565 (null) scr: Using server: http://g8263359.iavs5x.u.avast.com/iavs5x
13.07.2017 11:13:48.000 1499969628 (null) ERROR:HttpGetWininet, catch returned 0x00002EE2 (12002)
13.07.2017 11:14:56.000 1499969696 (null) ERROR:HttpGetWininet, catch returned 0x00002EE2 (12002)

Still cant deploy.

Downloading of files is working now, still dont have everything.
Getting an error, if you know the answer to my problem please respond. :slight_smile:

Little piece of the mirror log:
13.07.2017 12:57:19.000 1499975839 (null) scr: copying setup file ‘part-prg_abp-649.vpx’…
13.07.2017 12:57:19.000 1499975839 (null) scr: copying setup file ‘part-setup_abp-649.vpx’…
13.07.2017 12:57:19.000 1499975839 (null) scr: copying setup file ‘part-vps_win32-17071210.vpx’…
13.07.2017 12:57:19.000 1499975839 (null) scr: copying setup file ‘prod-abp.vpx’…
13.07.2017 12:57:19.000 1499975839 (null) scr: copying setup file ‘servers.def’…
13.07.2017 12:57:19.000 1499975839 (null) scr: copying setup file ‘servers.def.vpx’…
13.07.2017 12:57:19.000 1499975839 (null) scr: copying setup file ‘setif_abp-649.vpx’…
13.07.2017 12:57:19.000 1499975839 (null) scr: copying setup file ‘setup_abp-649.vpx’…
13.07.2017 12:57:19.000 1499975839 (null) scr: copying setup file ‘vps_32-15dd.vpx’…
13.07.2017 12:57:19.000 1499975839 (null) Error:Failure while copying setup file ‘C:\Program Files\AVAST Software\Enterprise Administration\Mirror\mirror\vps_32-15dd.vpx’ to ‘C:\Program Files\AVAST Software\Enterprise Administration\InstPkgs\vps_32-15dd.vpx’, error code 0x00000002
13.07.2017 12:57:19.000 1499975839 (null) scr: Sumarizing…
13.07.2017 12:57:21.000 1499975841 (null) scr: Setting product ‘abp’ files (725 of 730 set)
13.07.2017 12:57:21.000 1499975841 (null) scr: Setting product ‘ais’ files (726 of 730 set)
13.07.2017 12:57:21.000 1499975841 (null) Return code: 0x20000000 [Something done]
13.07.2017 12:57:21.000 1499975841 (null) Stopped: 13.07.2017, 12:57:21

Im using powershell to look at the mirror log so I can actively see whats going on, I use this command: get-content “C:\Program Files\AVAST Software\Enterprise Administration\mirror\logS\mirror.log” -wait

Downloaded vps_32-15dd.vpx’ manually because this was blocked by size restriction by one of the proxy servers. Avast is in trial version because I want to make sure it passes all of our expectations

After that set the mirror to check every 5 min and now al the files have been downloaded.
First test vm installation by deployment has succeded ;D

thanks for hte help Avosec-UK

Yes, sorry I couldn’t reply earlier.

When any deployments fail with error 2 or 3, most of the time that means that the mirror server is corrupted.
Manually running the mirror server executable will usually indicate the reason for the issue - usually external firewall / network gateway or corrupted mirror.