Deploymnent of MSI and MSP at the same time

Hi Friends,

I want to deploy MSI and MSP file in same program using software distribution.
Is it possible to deploy two files at the same time if yes I would like to request you what would be the command line...?

Two files are:

KB2495674-x86 Agent.msp
MOMAgent.msi

Any comments will be appreciated.

Many thanks,
Ameen.
ameenfusionAsked:
Who is Participating?
 
KezziConnect With a Mentor Commented:
Create your MOM package and add the 2 files to the same source folder.   Then within the package, create 2 programs one for each of the command lines listed above.  Open the properties of the MSP program, on the advanced tab, tick the box to run another program first, choose the package you've just created (the one you're actually busy with) and the MSI MOM program.  

When setting the Advertisment, call the program with the MSP.  This will attempt to run the MSP program and see that it needs to run the MSI program first, which it will do and then it will run the MSP.  Consider whether reboots will be necessary after the msi program runs although i doubt that install requires one.  Even if it does reboot, it will still continue on to run the MSP program.
0
 
KezziCommented:
to my knowledge, you can only run the patch with the msi if you are creating and administrative install using the /a switch.

What you can do though is create 2 programs, one for the patch and one for the msi, then set the program with the patch to call the program with the msi before running.
0
 
ameenfusionAuthor Commented:
Thanks Kezzi,
I can create two different programs but dont know what command I have to write in them
Can you please help me how to do it.
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
KezziCommented:
MSI program:
msiexec /i MOMAgent.msi /qn /l*v %temp%\MOMAgent_install.log

Patch program:
msiexec /p KB2495674-x86 Agent.msp  /qn /l*v %temp%\KB2495674-x86_patchinstall.log
0
 
ameenfusionAuthor Commented:
Thanks Kezzi,
Do I need to create two different packages for two different programs..?
0
 
ameenfusionAuthor Commented:
Can you please give me direction or overview of steps how do I go about creating programs although I understand advertisement will be done.Few questions I have are:

1.Do I need to package MSI and MSP into one..?
if yes how I will write two commands in one program..?
0
 
Nagendra Pratap SinghDesktop Applications SpecialistCommented:
0
 
KezziCommented:
npsingh123 your link is for administrative installs to a network share, not for SCCM deployments.
0
 
ameenfusionAuthor Commented:
Thank you very much for your kind comments.All I was looking was to know how can we run two programs in one package whick Kezzi has said beautifully.

Kezzi:
Your comments are very helpful .The command which you have written for MSI Program requires some additional parameters for SCOM so this is the output which I have opted and will try at later stage of the project as I am in just initial stage.

MSI program:
MOMAgent.msi /qn USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=<enter your mgmt group> MANAGEMENT_SERVER_DNS=<enter your mgmt server> ACTIONS_USE_COMPUTER_ACCOUNT=1 ALLUSERS=1 /m MSITLSWP /norestart restart=reallysuppress


Patch program:
msiexec /p KB2495674-x86 Agent.msp  /qn /l*v %temp%\KB2495674-x86_patchinstall.log


Many thanks,
Ameen.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.