pre-req cmd actions before MSI is installed


  • Hi

    what's the best way to do the following:

    1. run cmd stuff like copy files, create folder, set user-rights on folder

    2. install MSI

    Should I split it into 2 applications? or is there a smarter way?

    Kindest regards, Martin

    Monday, September 30, 2013 7:22 AM

All replies

  • Hi,

    You can  create a batch file including the steps for Create files / folder and then step to call to the msi using Msiexec /I "MSI Name" /qn 

    , then create a deployment type based on the script.

    Regards, Ibrahim Hamdy

    Monday, September 30, 2013 7:58 AM
  • Hi,

    I would create an .MST file that does this instead of using a .cmd file if that is possible much easier to troubleshoot and easier to deploy.


    -- My System Center blog -- Twitter @ccmexec

    Monday, September 30, 2013 9:03 AM