Skip to content

Sage Line 50 via .cmd using SCCM 2007

Featured Replies

Hello,

 

I am attempting to deploy Sage Line 50 v 7 via a .cmd file using SCCM 2007

 

Sage installs fine if I use the following command within the programs section of the package.

 

msiexec.exe /q ALLUSERS=2 /m MSIXPQVC /i "SageLine50.msi"

 

However, nothing happens on the receiving client if I set the package to run the program as a .cmd file.

 

Content of the .cmd file as below –

 

:: INSTALL SAGELINE50

 

msiexec.exe /q ALLUSERS=2 /m MSIXPQVC /i "SageLine50.msi"

 

::Copy file to the C: Drive

 

XCOPY /H /K /Y /C "%~dp0COMPANY.*" "C:\PROGRAM FILES (X86)\LINE50"

 

The content of the .cmd file looks pretty simple to me; nothing too complex there.

 

Any advice or ideas would be appreciated.

When pointing to the batch file your saying the MSI doesn't install?

 

What's in the execmgr.log file on the client around the time of the attempted installation.

First ofall don't use the /m Switch. You want to install the program and not advertise the Installation. Also use ALLUSERS=1, you dont want to install the program in the user context if the system context doesn't work for any reason.

Add a pushd %~dp0 as first line to your batch, so msiexec can actually find the msi file. (last line popd). You also might want to return an exit code of the Installation by your Batch.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

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.