Help while deploying autoit script using SMS
Hi
I have to install adobe reader 9.4 msi on 1000 desktops and on top of it I need to install 5 msi's (adobe language packs).
I used AutoIT script to automate the installation of 6 msi's using runwait
runwait(adobe)
runwait(japanese language packs)
runwait(korean language packs)...
I am facing 2 issues.
1. while deploying the script through SMS , I noticed SMS is showing sucess eventhough adobe reader msi failed
2. the scripting is executing all msi's even adobe reader msi failed,so it should not execute the remaining msi'
Regards
Rajendra
I have to install adobe reader 9.4 msi on 1000 desktops and on top of it I need to install 5 msi's (adobe language packs).
I used AutoIT script to automate the installation of 6 msi's using runwait
runwait(adobe)
runwait(japanese language packs)
runwait(korean language packs)...
I am facing 2 issues.
1. while deploying the script through SMS , I noticed SMS is showing sucess eventhough adobe reader msi failed
2. the scripting is executing all msi's even adobe reader msi failed,so it should not execute the remaining msi'
Regards
Rajendra
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
anonymous_9363
13 years ago
Why not use SMS properly and use either a Task Sequence or a series of dependent Programs, i.e. where Product A has to have successfully run before Product Bis installed?
BTW, there is a dedicated SCCM/SMS forum here.
BTW, there is a dedicated SCCM/SMS forum here.
Posted by:
rvrajendra
13 years ago
Posted by:
dunnpy
13 years ago
Because you have wrapped your installation with AutoIT, there is no error trapping back when an installation fails.
SMS thinks that all installed correctly because AuotIT's exit code is successful.
You really should be using the method described by Ian (VBScab). SMS can handle the installers natively, so there is no need whatsoever to use AutoIT to facilitate the installation.
Add one package for Adobe Reader 9.4 and create programs under that package for each of the installers you need to run.
You can then chain the installers together (before running this program, run this program).
This way SMS will receive the correct exit codes from the installers and the reports will show the true installation state.
Hope this helps,
Dunnpy
SMS thinks that all installed correctly because AuotIT's exit code is successful.
You really should be using the method described by Ian (VBScab). SMS can handle the installers natively, so there is no need whatsoever to use AutoIT to facilitate the installation.
Add one package for Adobe Reader 9.4 and create programs under that package for each of the installers you need to run.
You can then chain the installers together (before running this program, run this program).
This way SMS will receive the correct exit codes from the installers and the reports will show the true installation state.
Hope this helps,
Dunnpy
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.