Zoom7000 Posted May 2, 2006 Posted May 2, 2006 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 /ymsiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2005-P-ABC 2215\KS3ICT-2005-P-ABC 2215.msi" /qbSleep 5msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2005-P-FMA 3084\KS3ICT-2005-P-FMA 3084.msi" /qbSleep 5msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2005-P-FMB 3084\KS3ICT-2005-P-FMB 3084.msi" /qbSleep 5msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2005-S-PRE 1431\KS3ICT-2005-S-PRE 1431.msi" /qbSleep 5msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2006-P-ABC 2292\KS3ICT-2006-P-ABC 2292.msi" /qbSleep 5msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2006-P-PFM 1614\KS3ICT-2006-P-PFM 1614.msi" /qbSleep 5msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2006-P-TSF 1021\KS3ICT-2006-P-TSF 1021.msi" /qbSleep 5msiexec /i "\\Server\e$\QCA Testing\Admin Point System\FILE_STORE\TPS\KS3ICT-2006-P-SUP 1727\KS3ICT-2006-P-SUP 1727.msi" /qbNow, 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. It's never had problems running batch scripts I created before, only up until recently. So Does anyone know what might be causing it to fail when I deploy it with SMS? I've had this issue with quite a few different batch scripts now.Zoom7000
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now