Program fails on system deployment
I'm having a problem when i try to deploy a new computer with Task Sequence, some of the programs fail eventhou the same programs install succesfully when i run them on task sequenses after the computer has been deployed.. usually it gives error code 1603, which doesn't tell anything :)
I only have a few programs that do this, but it's kinda annoying because i have to create a new collection for the failed programs and add the computers to this collection as well to get all the needed programs installed.
Has anyone else had this problem?
Jake
I only have a few programs that do this, but it's kinda annoying because i have to create a new collection for the failed programs and add the computers to this collection as well to get all the needed programs installed.
Has anyone else had this problem?
Jake
0 Comments
[ + ] Show comments
Answers (14)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
Posted by:
dunnpy
14 years ago
Jake,
Just be aware - I believe that if you call a program from a deployment task sequence the 'run this program first' settings are ignored.
If you have any programs with dependencies like this you need to specifiy them in the task sequence, in the correct order - this could be why your program is failing.
Hope this helps,
Dunnpy
Just be aware - I believe that if you call a program from a deployment task sequence the 'run this program first' settings are ignored.
If you have any programs with dependencies like this you need to specifiy them in the task sequence, in the correct order - this could be why your program is failing.
Hope this helps,
Dunnpy
Posted by:
kapil.kathuria
14 years ago
You may want to look at Windows installer return code 1603 if your package installs msi:
http://support.microsoft.com/kb/834484
http://support.microsoft.com/kb/834484
Posted by:
JakeTM
14 years ago
ORIGINAL: VBScab
Does any part of the TS reboot? You can't use TS if it does. You can set up the different parts separately and have them "cascade" by setting an advertisement to 'Run this program first'. It's a pain but the only fool-proof way I've found to deploy dependencies.
TS reboots a couple of times, i've run this program as the last in the TS stack, after i made TS reboot, althou this program doesn't require boot. I don't know any dependencies, but maybe it has something to do with windows if it doesn't install in deployment TS.. 'run this program first' doesn't work on TS's, so i can't use that, or maybe i didn't understand what you ment..?
I looked at that kb article and the problem is not there, unless some rights are granted after the deployment task, because the program installs from TS if it's not included in the deployment TS.
Posted by:
anonymous_9363
14 years ago
'run this program first' doesn't work on TS's, so i can't use that, or maybe i didn't understand what you ment..?Correct, you didn't :)
Change tactic from TS to using a set of Packages and Programs containing the "master" app and its dependencies (let's call them). For example, I have an advertisement called 'Polaris' set up for my current client. It advertises a package called 'ProductWriter 19.11'. That package's program is set to run the program within 'ProductWriter 19.10' first which in turn is set to run the program within 'IBM DB2 Express Edition 9.1' first. Thus, DB2 gets installed first, then PW 19.10, then PW 19.11. Job done.
Posted by:
dunnpy
14 years ago
If you have a program that has dependencies, you just need to add the dependencies to the TS.
E.G.
AutoCAD Map 3D 2010 has a pre-req of .NET Framework 3.5, the .NET program you'd normally set as 'run this program first' in the Advanced tab of the AutoCAD program.
In your task sequence you'd need to specify .NET in the list:
Install Software - .NET Framework 3.5
Install Software - AutoCAD Map 3D 2010
It's just that the task sequence can't do the 'run this program first', so you have to set that manaully in the task sequence by adding the pre-reqs in yourself.
Or you could do what Ian suggests...
Hope this helps,
Dunnpy
E.G.
AutoCAD Map 3D 2010 has a pre-req of .NET Framework 3.5, the .NET program you'd normally set as 'run this program first' in the Advanced tab of the AutoCAD program.
In your task sequence you'd need to specify .NET in the list:
Install Software - .NET Framework 3.5
Install Software - AutoCAD Map 3D 2010
It's just that the task sequence can't do the 'run this program first', so you have to set that manaully in the task sequence by adding the pre-reqs in yourself.
Or you could do what Ian suggests...
Hope this helps,
Dunnpy
Posted by:
JakeTM
14 years ago
Posted by:
JakeTM
14 years ago
ORIGINAL: dunnpy
If you have a program that has dependencies, you just need to add the dependencies to the TS.
E.G.
AutoCAD Map 3D 2010 has a pre-req of .NET Framework 3.5, the .NET program you'd normally set as 'run this program first' in the Advanced tab of the AutoCAD program.
In your task sequence you'd need to specify .NET in the list:
Install Software - .NET Framework 3.5
Install Software - AutoCAD Map 3D 2010
It's just that the task sequence can't do the 'run this program first', so you have to set that manaully in the task sequence by adding the pre-reqs in yourself.
Or you could do what Ian suggests...
Hope this helps,
Dunnpy
I don't know any dependencies for this program, and i've put it as the last program to run on TS just to be sure
Posted by:
anonymous_9363
14 years ago
Posted by:
JakeTM
14 years ago
Posted by:
langa100
14 years ago
Jake
When u install the app normally does it bring up any command prompts or message boxes as I have issues with these eg when a vb script is run or a cacls command???? If this is the case then the problem is there as TS doesn't like it. As for the reboots I have a number of apps in the TS that force reboots and doesn't cause any problems eg IE 7.0 and SP3
When u install the app normally does it bring up any command prompts or message boxes as I have issues with these eg when a vb script is run or a cacls command???? If this is the case then the problem is there as TS doesn't like it. As for the reboots I have a number of apps in the TS that force reboots and doesn't cause any problems eg IE 7.0 and SP3
Posted by:
JakeTM
14 years ago
ORIGINAL: langa100
Jake
When u install the app normally does it bring up any command prompts or message boxes as I have issues with these eg when a vb script is run or a cacls command???? If this is the case then the problem is there as TS doesn't like it. As for the reboots I have a number of apps in the TS that force reboots and doesn't cause any problems eg IE 7.0 and SP3
No messages, i have supressed them all. But as i said, if i run it in TS that has no deployment it works
Posted by:
langa100
14 years ago
Posted by:
JakeTM
14 years ago
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.