mjsc Posted December 9, 2014 Report post Posted December 9, 2014 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. Quote Share this post Link to post Share on other sites More sharing options...
0 Ath3na Posted December 9, 2014 Report post Posted December 9, 2014 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. Quote Share this post Link to post Share on other sites More sharing options...
0 Peter van der Woude Posted December 9, 2014 Report post Posted December 9, 2014 It indeed looks pretty straight forward. For error messages indeed look at the execmgr.log. Another idea would be to run the batch file with PSEXEC to test it with SYSTEM credentials. Quote Share this post Link to post Share on other sites More sharing options...
0 Peter33 Posted December 10, 2014 Report post Posted December 10, 2014 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. Quote Share this post Link to post Share on other sites More sharing options...
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.
Share this post
Link to post
Share on other sites