Jump to content


  • 0
NobleComputing

Run a Package that contains only a command and no files

Question

There has to be a simple answer to this and I am missing it.

 

Here is what I want to run:

MsiExec.exe /X{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00} /qn

 

Really all I need to do is run this command on a remote machine. Is there actually any files in the package? I would think no. Correct me if I am wrong. If it does not contain any files, how do I run the above command on the remote machine? Please advise...

 

Do I have to create a file something.bat and place this command in it? If so, when I the bat file is kicked off, does it execute from the ccmcache folder, the temp directory .. or somewhere else?

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You can try create a custom task sequence and add a run command line task to it with the above syntax as the command. Deploy out to collection with your systems in it.

OR

As you said create a bat file with the command in it, create a package and the program command line will be the name of the bat file, and you can run from distribution point or download first before executing whatever works best.

Share this post


Link to post
Share on other sites

  • 0

Just create a program/package with no source file. Then deploy it as any other package.

 

Tip make sure that you DON'T sent it to your DPs. This will generate an error and hold up the deployment to your end clients.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.