Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SMS server to rollout a package using .cmd (batch file)

Featured Replies

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 ?


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.

  • Author

Mhhh seems that we can't get all the cmd based packages to work.

Example of .cmd from ExamDiff Pro

@echo off
set INSTALLPATH=\\SMS1\packages$\Examdiff Pro
set TARGETPATH=c:\program files\ExamDiff Pro
"%INSTALLPATH%\setup.exe" /sp- /silent /dir="%TARGETPATH%"
copy "%INSTALLPATH%\password.bin" "%TARGETPATH%" /y

As Command Line in the package (SMS) I use

C:\WINDOWS\system32\cmd.exe /c "E:\Packages\Examdiff Pro\setup.cmd"

Also tried to use

C:\WINDOWS\system32\cmd.exe /c setup.cmd

We run SMS on Server 2003

But it gives a error code 1

Also with a simple copy and mkdir command we get a error

%comspec% /c mkdir "c:\program files\frhed"

Edited by Post

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

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

Yeah that :)

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.