Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Microsoft SMS 2003 Woes!


1 reply to this topic

Zoom7000

Zoom7000
  • Members
  • 2 posts

Posted 28 April 2006 - 14:29

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:

CODE
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

chrpai

chrpai
  • Full Members
  • 26 posts

Posted 04 May 2006 - 14:10

Why not just create a package with all your files, then create a program for each MSI file and then chain all the programs together? This way you'll get detailed status MIFs from each action rather then hiding whats going on from SMS.

Christopher Painter, MCSE
Author of:
DeploymentEngineering.com
MSI Factory Provider for ADO.NET 2.0 (Work In Progress)
99 Bottles Of Beer - Windows Installer

PM for personal communication only. Please ask questions in the forums.