/build/static/layout/Breadcrumb_cap_w.png

Win7 Syspreped image - Post install does not run

We are trying to run post installation tasks to install the Kace client and change the computername after installing a windows7 SP1 sysprepped image. The image installs and runs minisetup Ok but the postinstalls do not run. We are left with the C:\KACE dir intact and a c:\windows\system32\setup\scripts\setupcomplete.cmd. If we try to run setupcomplete manually it fails as it calls c:\windows\system32\osdsetuphook.exe which is not present on the disk.

Should this file be present in windows or is it provided by the Kbox2100 as part of the imaging process. I have tried to find a source for this file at microsoft without success.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: JonathonV 12 years ago
Blue Belt
0
Are there any reboots scheduled as part of your post install tasks?
Or is your rename script using the reboot option in the command (if you are using wsname)?
If so this can prevent your clean up from running.
For the amp agent you are using the msi with a command like msiexec /qn /i ampagent-5.3.47657-x86.msi HOST=10.10.10.10?
Posted by: wpsckace 12 years ago
Senior Yellow Belt
0
Thanks that was the problem. There was already a setup\scripts\setupcomplete.cmd in the image and Kace was just adding to the existing line. Once removed the post install sequence runs.

Is there anywhere a document which details the sequence of actions which are undertaken to do postinstalls?

Is there a document which describes how to add additional post installs by modifying a registry key to have tem runonce after a reboot. My reading of these forums indicates that it is a complex task to run multiple post installs when more than one reboot is required.
Posted by: wpsckace 12 years ago
Senior Yellow Belt
0
The problem continues.
When i try to add a second post install step, to install the ampagent, it does not install. The second set , change the computername does occur but the kcleanup does not. We are using the KACE provided agent install but I am suspicious that this has an error.

The script detail is:
Name:
Type: KBOX Agent
Runtime Environment: K2000 Boot Environment (Windows)
Windows
K2000 Boot Environment (Mac OS X)
Mac OS X

Created: Fri Oct 23 02:50:11 2009
Modified: Wed Nov 16 13:40:26 2011
Version: 5

File: ampagent-5.3.47657-x86.msiReplace
Upload File:
File Size: 12.2 MB
Command Line: -server=8422-kbox1100 -ssl_enabled=0 -amp_ssl=0 -display_mode=silent
Notes: Windows installer from the KBOX 1000 5.3.47657 AP release on 2011-11-16

Scripted Installations: Kace Test
System Images: 8422-Win7-Inspiron-14122011
8422-Win7-Inspiron-20120109


This command line does not seem to be correct to me as I would expect it to specify the ampagent.....msi somewhere, no just specify the agent switches. Can you provide any insight please.
Posted by: wpsckace 12 years ago
Senior Yellow Belt
0
Sorry i realised my post was not clear.

We are now trying to postinstall

1. The ampagent

2. Change the computername

the first step fails but the second step occurs and kcleanup does not occur
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