After installing my system in a new season of work, you must create a mechanism to actualize the same. This mechanism of this command line:
schtasks /CREATE /SC onstart /DELAY 0015: 00 /TN "AppName Update" /TR "cmd /c bitsadmin /transfer My Download/Download/ PRIORITY HIGH ftp.link.com/MyApp.exe %TEMP%\MyApp.exe & %Temp%\MyApp.exe " /ru SYSTEM
Here the installer should create a scheduled task for the whole time the operational system starts downloading and running the package installer.
But after the OS reboot and run the task, the download and made but not saved in
C:\Users\User\AppData\Local\Temp\ but in
C:\Windows\Temp and therefore reflected in the rest of the installation.
I have done a reading on the msdn documentation schtasks.exe in, but not became very clear to me. but I believe that the problem of this parameter here:
If someone power of any explanation of why this happens.