/build/static/layout/Breadcrumb_cap_w.png

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?

0 Comments   [ + ] Show comments

Answers (4)

Posted by: cserrins 14 years ago
Red Belt
0
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
Posted by: acmccoppin 14 years ago
Senior Yellow Belt
0
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.
Posted by: sarjent 14 years ago
Senior Yellow Belt
0
Windows 7 scripted installation. So, I might have to set the number of boots to 2 in my XML file. During the first phase, call out my installers that work, make a reg change for run once, reboot, then autologin again and a final reboot.
Posted by: cserrins 14 years ago
Red Belt
0
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ