Page 1 of 2
UpdateInstaller.exe not working

Posted:
12.03.2016, 06:17
by richardar
I successfully created an iso for windows7. When I load the iso into a virtual disk drive, and run UpdateInstaller.exe, it does nothing and just hangs in the background as a process, with no cpu activity.
Re: UpdateInstaller.exe not working

Posted:
12.03.2016, 23:38
by aker
Any AV software?
Many AV's just block AutoIt-programs. Often it helps to exclude wsusou's folder & all subfolders.
Re: UpdateInstaller.exe not working

Posted:
13.03.2016, 00:29
by richardar
Using Avast! Antivirus. I tried adding exclusions, diabling it, and UpdateInstaller still does not work. I tried running it off the iso and client folder, and still nothing happens.
Re: UpdateInstaller.exe not working

Posted:
13.03.2016, 21:43
by aker
Windows Defender is disabled?
Re: UpdateInstaller.exe not working

Posted:
14.03.2016, 21:52
by richardar
The following services are disabled: (sorry for the long list)
ActiveX Installer (AxInstSV) | Adaptive Brightness | Application Layer Gateway Service | Application Management | ASP.NET State Service | BitLocker Drive Encryption Service | Bluetooth Support Service | BranchCache | Certificate Propagation | Credential Manager | Diagnostic Service Host | Diagnostic System Host | Distributed Link Tracking Client | Encrypting File System (EFS) | Fax | Function Discovery Provider Host | Function Discovery Resource Publication | Health Key and Certificate Management | Human Interface Device Access | Interactive Services Detection | Link-Layer Topology Discovery Mapper | Microsoft iSCSI Initiator Service | Net.Msmq Listener Adapter | Net.Pipe Listener Adapter | Net.Tcp Listener Adapter | Net.Tcp Port Sharing Service | Netlogon | Network Access Protection Agent | Offline Files | Parental Controls | Peer Name Resolution Protocol | Peer Networking Grouping | Peer Networking Identity Manager | PnP-X IP Bus Enumerator | PNRP Machine Name Publication Service | Problem Reports and Solutions Control Panel Support | Quality Windows Audio Video Experience | Remote Desktop Configuration | Remote Desktop Services | Remote Desktop Services UserMode Port Redirector | Remote Registry | Routing and Remote Access | Smart Card | Smart Card Removal Policy | SNMP Trap | Tablet PC Input Service | TPM Base Services | WebClient | Windows Activation Technologies Service | Windows Biometric Service | Windows CardSpace | Windows Color System | Windows Connect Now - Config Registrar | Windows Defender | Windows Firewall | Windows Live ID Sign-in Assistant | Windows Media Player Network Sharing Service | Windows Remote Management (WS-Management) | Windows Search | WinHTTP Web Proxy Auto-Discovery Service | World Wide Web Publishing Service | WWAN AutoConfig
Re: UpdateInstaller.exe not working

Posted:
14.03.2016, 23:06
by hbuhrmester
avast! Free Antivirus has an "Automatic Sandboxing", which may put unknown applications into a sandbox. Then these applications can't make any changes to the system. In the free edition, this AutoSandbox just works automatically - there is no configuration. But there should still be a warning and the option to run the application "unprotected".
https://blog.avast.com/2012/11/16/what- ... s-it-work/http://www.pcmag.com/article2/0,2817,2401324,00.asp
Re: UpdateInstaller.exe not working

Posted:
15.03.2016, 00:12
by richardar
Even if avast puts it into a sandbox, I should still see a user interface when I run UpdateInstaller. But in my case it doesn't show an interface. I even tried to open it in SciTE4AutoIt3 and run it, and still it doesn't show a GUI. When I terminate the script, it says that it had to force terminate because it was unresponsive. I'm only a newbie to autoit programming; but, looking through the script, I couldn't see where the problem could be.
I also tried downloading previous versions of wsusoffline and running UpdateInstaller, and I still have the same issue.
Re: UpdateInstaller.exe not working

Posted:
15.03.2016, 00:53
by richardar
I've been debugging the UpdateInstaller.au3 script by putting a line
- Code: Select all
MsgBox(0, "test", "test")
under each if block to see where the problem is, and I found the problem block.
- Code: Select all
If ShowGUIInGerman() Then
$btn_donate = GUICtrlCreateButton("Spenden...", ($groupwidth - $btnwidth) / 2 + 2 * $txtxoffset, $txtypos, $btnwidth, $btnheight)
Else
$btn_donate = GUICtrlCreateButton("Donate...", ($groupwidth - $btnwidth) / 2 + 2 * $txtxoffset, $txtypos, $btnwidth, $btnheight)
EndIf
GUICtrlSetResizing(-1, $GUI_DOCKBOTTOM)
If (MyIniRead($ini_section_misc, $ini_value_showdonate, $enabled) = $disabled) OR (Ping($wou_hostname) = 0) Then
GUICtrlSetState(-1, $GUI_HIDE)
EndIf
I don't think the problem is creating the button, i think it's the MyIniRead statement. It's where it hangs and my msgbox "test" doesnt" show afterward. I tried pinging
www.wsuoffline.net in a cmd box and it hangs, so that is the problem.
Re: UpdateInstaller.exe not working

Posted:
15.03.2016, 05:40
by boco
You might have a security software interfering with the ICMP protocol. Although it should never hang.
Re: UpdateInstaller.exe not working

Posted:
15.03.2016, 12:00
by richardar
It's a windows issue that I can't find a solution for. I've tried disabling firewalls ICMP, I even unplugged the ethernet cable, the issue remains. I tried scanning my system with 2 different virus scanners and my system is secure and clean. Unless ping needs one of the services I disabled, or a port to access (which I read it doesn't need ports), I have no idea what the problem is.