My goal is to use AP to automatically update a machine in one click of a button, including automatically installing remaining updates after every reboot.
I tried creating a basic startup script that simply says:
autopatcher.exe /answerfile:answer.aaf /unattend /minimal /logBut after the first reboot the same script runs meaning the same answer file will be processed.
Is there a way to tell AP to run a script before reboot every time the update process is completed?
This will allow me to set up a different answer file for every reboot stage so that the correct settings are processed at every specific stage.
This example gives a scenario where a different answer file is processed after each reboot:
Stage 1 (answer file 1) =
-Select Security Updates parent checkbox
-Select Adobe Reader checkbox
(AP will install the selected components, run a script to replace answerfile1 with answerfile2 in the startup folder and then reboot)
Stage 2 (answer file 2) =
-Select Security Updates parent checkbox
If I run answer file 1 at stage 2, the Adobe Reader installer will ask if I want to uninstall Adobe Reader, and that is not desirable...
Thanks for this amazing project!
Edited by Gantlett, 17 November 2009 - 03:49 AM.











