January 9, 200719 yr 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 ?
January 9, 200719 yr 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
January 9, 200719 yr 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.
January 10, 200719 yr Author 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, 200719 yr by Post
January 10, 200719 yr 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
January 10, 200719 yr 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
Create an account or sign in to comment