/bundles/itninjaweb/img/Breadcrumb_cap_w.png
I've been using SMS for almost 2 years now. I thought I finally got the hang of it, but today its totally baffling me again!

I'm trying to install some testing software. It's in MSI format, but I need to run multiple MSIs. So, I've put it into a batch script. My code is shown below:

xcopy \\Server\Share\Sleep\SLEEP.EXE c:\windows\system32 /y
msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2005-P-ABC 2215\KS3ICT-2005-P-ABC 2215.msi" /qb
Sleep 5
msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2005-P-FMA 3084\KS3ICT-2005-P-FMA 3084.msi" /qb
Sleep 5
msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2005-P-FMB 3084\KS3ICT-2005-P-FMB 3084.msi" /qb
Sleep 5
msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2005-S-PRE 1431\KS3ICT-2005-S-PRE 1431.msi" /qb
Sleep 5
msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2006-P-ABC 2292\KS3ICT-2006-P-ABC 2292.msi" /qb
Sleep 5
msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2006-P-PFM 1614\KS3ICT-2006-P-PFM 1614.msi" /qb
Sleep 5
msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2006-P-TSF 1021\KS3ICT-2006-P-TSF 1021.msi" /qb
Sleep 5
msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2006-P-SUP 1727\KS3ICT-2006-P-SUP 1727.msi" /qb


Now, whats baffling me is the script works totally fine when I run it manually! I have no problems whatsoever, and the package is fully installed and I have tested to see that this is the case.

The problem is, when I try to deploy it using SMS, I get an Exit Code of 1. Does anyone know what might be causing it to fail when I deploy it with SMS?

Zoom7000
0 Comments   [ - ] Hide Comments

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

Answers

0
Does your softare installation account have rights to the e$ share on your server?
Answered 04/28/2006 by: Bladerun
Green Belt

Please log in to comment
0
Yes it does. That's not the only problem. Older packages that I created using batch scripts work fine and newer packages that I put in the same location as the newer packages just won't work! So it's not a rights issue.
Answered 04/28/2006 by: Zoom7000
Yellow Belt

Please log in to comment