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   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


This content is currently hidden from public view.
Reason: Hidden by Admin
For more information, visit our FAQ's.

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.
Answered 01/10/2012 by: wpsckace
Senior Yellow Belt

Please log in to comment
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:
Type: KBOX Agent
Runtime Environment: K2000 Boot Environment (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

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.
Answered 01/10/2012 by: wpsckace
Senior Yellow Belt

Please log in to comment
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
Answered 01/10/2012 by: wpsckace
Senior Yellow Belt

Please log in to comment
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=
Answered 02/06/2012 by: JonathonV
Blue Belt

Please log in to comment