Silent updates not working
Posted: Fri Jun 19, 2015 1:33 pm
We have a product that uses the updating feature of IA (version X2 studio manager), and I am having issues with the silent part. If the user asks to be prompted for download and prompted for install, it updates just fine, from version 1 to version 2. But if the users selects 'do not prompt' for both of those - making it a silent install, nothing happens when I run the scheduled task to check for updates.
I troubleshot it down to running the EXE with the /update switch, which does nothing.
C:\Windows\system32>"C:\ProgramData\{F54426AC-8062-44EC-9698-A94E6C01A400}\setup.exe" /update /l=c:\install.log
The install log is blank:
<InstallAware>
<SupportDir>
</SupportDir>
<SetupSplash>
<StubSize>
</StubSize>
<StubData>
</StubData>
<GlobalLists>
</GlobalLists>
<ExtractArchive>
</ExtractArchive>
<ResourcePath>
</ResourcePath>
<Dialogs>
</Dialogs>
</SetupSplash>
<RunScript>
<Variables>
</Variables>
<CompileScript>
</CompileScript>
<BootStrap>
</BootStrap>
<myah>
</myah>
<ExitScript>
</ExitScript>
</RunScript>
<Free>
</Free>
<CachedSupportDir>
</CachedSupportDir>
</InstallAware>
I am not sure how to troubleshoot it further. I ran wireshark and confirmed the installer was doing an HTTP GET and retrieving the update.ini, but beyond that I am not sure what is going on. In programs and features it's stuck on version 1 (whereas when the user selects 'prompt for ..' it successfully updates to version 2 and does a bunch of things showing the installer is running, modifying files and so forth.
So, i'm pretty clueless. Any ideas?
I troubleshot it down to running the EXE with the /update switch, which does nothing.
C:\Windows\system32>"C:\ProgramData\{F54426AC-8062-44EC-9698-A94E6C01A400}\setup.exe" /update /l=c:\install.log
The install log is blank:
<InstallAware>
<SupportDir>
</SupportDir>
<SetupSplash>
<StubSize>
</StubSize>
<StubData>
</StubData>
<GlobalLists>
</GlobalLists>
<ExtractArchive>
</ExtractArchive>
<ResourcePath>
</ResourcePath>
<Dialogs>
</Dialogs>
</SetupSplash>
<RunScript>
<Variables>
</Variables>
<CompileScript>
</CompileScript>
<BootStrap>
</BootStrap>
<myah>
</myah>
<ExitScript>
</ExitScript>
</RunScript>
<Free>
</Free>
<CachedSupportDir>
</CachedSupportDir>
</InstallAware>
I am not sure how to troubleshoot it further. I ran wireshark and confirmed the installer was doing an HTTP GET and retrieving the update.ini, but beyond that I am not sure what is going on. In programs and features it's stuck on version 1 (whereas when the user selects 'prompt for ..' it successfully updates to version 2 and does a bunch of things showing the installer is running, modifying files and so forth.
So, i'm pretty clueless. Any ideas?