c.curtis
11-21-2016, 12:04 PM
I have 2 separate programs that I have created install scripts and updates for. Program 1 runs "wucheck.exe /C /S" and waits for a return value. If the return value is 1 then wupdate.exe runs. The user clicks next twice and everything downloads and installs fine.
The setup scripts for Program 2 are nearly identical. Program 2 runs "wucheck.exe /C /S" and waits for a return value. If the return value is 1 then wupdate.exe runs. The user clicks next twice and then instead of downloading the update the top progress bar completes very quickly then the setup ends which restarts Program 2. At this point I'm stuck in an update loop. However, if instead of running wupdate.exe I run "wucheck.exe /S" the update downloads and installs correctly (of course without the user having to make any clicks).
I might actually stick with "wucheck.exe /S", but I'm curious why wupdate isn't working for Program 2.
The setup scripts for Program 2 are nearly identical. Program 2 runs "wucheck.exe /C /S" and waits for a return value. If the return value is 1 then wupdate.exe runs. The user clicks next twice and then instead of downloading the update the top progress bar completes very quickly then the setup ends which restarts Program 2. At this point I'm stuck in an update loop. However, if instead of running wupdate.exe I run "wucheck.exe /S" the update downloads and installs correctly (of course without the user having to make any clicks).
I might actually stick with "wucheck.exe /S", but I'm curious why wupdate isn't working for Program 2.