none
pre-req cmd actions before MSI is installed

    Question

  • 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

    • Proposed as answer by Gerry Hampson Monday, September 30, 2013 8:25 AM
    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.

    Regards,
    Jörgen


    -- My System Center blog ccmexec.com -- Twitter @ccmexec

    Monday, September 30, 2013 9:03 AM
    Moderator