post installation tasks
Can anyone detail how post installation tasks are run? Are they basicallly runonce keys set into the registry? Are they scheduled tasks? Else?
I have an application 1 out of like 25 I am loading..that when the post installation task runs it simply exits. I think the application is looking for some folder locations that have not been setup yet. When that installer fails, you can see Windows create the rest of the profile folders and customizations for the logged in user.
So I guess another question would be, if I insert a reboot will the post installation tasks pick up where they left off?
I have an application 1 out of like 25 I am loading..that when the post installation task runs it simply exits. I think the application is looking for some folder locations that have not been setup yet. When that installer fails, you can see Windows create the rest of the profile folders and customizations for the logged in user.
So I guess another question would be, if I insert a reboot will the post installation tasks pick up where they left off?
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
cserrins
14 years ago
sarjent,
This depends on what you are deploying from the kbox and what operating system you are deploying.
If XP
If scripted install
Post Installation tasks run as runonceex, this is after logging in, but before the desktop is shown and before runonce.
If an image
Post Installation tasks run as runonce (putting a tick mark in sysprep integration will append your sysprep file under GUIRUNONCE so that a post_install.bat file calls each task.
If Windows 7
Post Installation task run under Firstlogon
So the only case where inserting a reboot will help is in an xp scripted install. Otherwise you will have to script the items to run under runonce.
I hope this helps, but if you need more clarification on something, please let me know.
Thank you,
Corey
This depends on what you are deploying from the kbox and what operating system you are deploying.
If XP
If scripted install
Post Installation tasks run as runonceex, this is after logging in, but before the desktop is shown and before runonce.
If an image
Post Installation tasks run as runonce (putting a tick mark in sysprep integration will append your sysprep file under GUIRUNONCE so that a post_install.bat file calls each task.
If Windows 7
Post Installation task run under Firstlogon
So the only case where inserting a reboot will help is in an xp scripted install. Otherwise you will have to script the items to run under runonce.
I hope this helps, but if you need more clarification on something, please let me know.
Thank you,
Corey
Posted by:
acmccoppin
14 years ago
I can't answer the first part of your question because I honestly don't know.
The post installation tasks will continue to run, as long as your "Number of Boots" parameter is set properly. It may take some time to fine tune how many boots you will need for the selected deployment. More information can be found under "Setting Boot Actions" in the Administrator Guide Release 3.1, page 116 for the document and 126 for PDF reader.
Let me know if this points you in the right direction.
The post installation tasks will continue to run, as long as your "Number of Boots" parameter is set properly. It may take some time to fine tune how many boots you will need for the selected deployment. More information can be found under "Setting Boot Actions" in the Administrator Guide Release 3.1, page 116 for the document and 126 for PDF reader.
Let me know if this points you in the right direction.
Posted by:
sarjent
14 years ago
Posted by:
cserrins
14 years ago
sarjent,
Yes, this would be accurate, you can accomplish this by setting the autologon count in your unattend file, then making a script that puts an item in runonce (or whatever you need to do) and reboot. At that point the computer would autologin and finish the task. You'll want another reboot so that the finished state of the machine ends at the logon screen.
Corey
Yes, this would be accurate, you can accomplish this by setting the autologon count in your unattend file, then making a script that puts an item in runonce (or whatever you need to do) and reboot. At that point the computer would autologin and finish the task. You'll want another reboot so that the finished state of the machine ends at the logon screen.
Corey
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.