Post Posted January 9, 2007 Posted January 9, 2007 We are trying to install a package (Examdiff pro) using SMS server.Now we have a working package wich uses a CMD file for installation (install.cmd).Local it is working and Examdiff pro gets installed and automatically registered with the license key, however when we try it using SMS we get a time out (wich is set in SMS on a max of 5 minutes).Anyone having a idea ?
jondercik Posted January 9, 2007 Posted January 9, 2007 In install.cmd where is it looking to install the package from? It might be useful to create the package as an switchless installer as described here: http://www.msfn.org/board/index.php?showtopic=39048. Then add a script at the end that will clean up all the installation files. Just an idea.Jim
snooz Posted January 9, 2007 Posted January 9, 2007 We are trying to install a package (Examdiff pro) using SMS server.Now we have a working package wich uses a CMD file for installation (install.cmd).Local it is working and Examdiff pro gets installed and automatically registered with the license key, however when we try it using SMS we get a time out (wich is set in SMS on a max of 5 minutes).Anyone having a idea ?More than likely one of the lines in your cmd has a problem. When using SMS always specify for the package to download locally then execute.Post your script and I can help you with it.
Post Posted January 10, 2007 Author Posted January 10, 2007 (edited) Mhhh seems that we can't get all the cmd based packages to work.Example of .cmd from ExamDiff Pro@echo offset INSTALLPATH=\\SMS1\packages$\Examdiff Proset TARGETPATH=c:\program files\ExamDiff Pro"%INSTALLPATH%\setup.exe" /sp- /silent /dir="%TARGETPATH%"copy "%INSTALLPATH%\password.bin" "%TARGETPATH%" /yAs Command Line in the package (SMS) I useC:\WINDOWS\system32\cmd.exe /c "E:\Packages\Examdiff Pro\setup.cmd"Also tried to useC:\WINDOWS\system32\cmd.exe /c setup.cmdWe run SMS on Server 2003But it gives a error code 1Also with a simple copy and mkdir command we get a error%comspec% /c mkdir "c:\program files\frhed" Edited January 10, 2007 by Post
jondercik Posted January 10, 2007 Posted January 10, 2007 I think your script is making itself more complicated than it has to be.Change it to this"\\SMS1\packages$\Examdiff Pro\setup.exe" /sp- /silent /dir="c:\program files\ExamDiff Pro"copy "\\SMS1\packages$\Examdiff Pro\password.bin" "c:\program files\ExamDiff Pro"Let us know how that turns out. Also, just my recommendation try testing this in a lab environment first in virtual machines so you can use trial and error to figure it out and do it as many times as you need.Also, make sure that the share and NTFS permissions on the share are set correctly.Jim
snooz Posted January 10, 2007 Posted January 10, 2007 I think your script is making itself more complicated than it has to be.Change it to this"\\SMS1\packages$\Examdiff Pro\setup.exe" /sp- /silent /dir="c:\program files\ExamDiff Pro"copy "\\SMS1\packages$\Examdiff Pro\password.bin" "c:\program files\ExamDiff Pro"Let us know how that turns out. Also, just my recommendation try testing this in a lab environment first in virtual machines so you can use trial and error to figure it out and do it as many times as you need.Also, make sure that the share and NTFS permissions on the share are set correctly.JimYeah that
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now