Jump to content


SCCMalfunction

Application deployment with Bat file dependency

Recommended Posts

Trying to deploy a new version of a software via an msi but I have to remove the previous version of the software via a bat file. The previous versions can't be upgraded so have a bat file that will remove all previous versions.

 

My problem comes with trying to deploy the bat file as an application and selecting a detection method. I tried to xcopy or even create a txt file on the system with the uninstall bat file but it fails. I have seen some people recommend using packages for deploying bat files but I can't set the application dependency on the package. Any advice will be greatly appreciated.

Share this post


Link to post
Share on other sites

...a detection method. I tried to xcopy or even create a txt file on the system with the uninstall bat file but it fails...

 

I'm not following exactly what you mean. Dropping the marker file fails, or your detection logic fails to see the marker file?

 

If it's failing to drop the marker, make sure you're trying to put it somewhere that's actually accessible to the process running the uninstall routine.

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
Reply to this topic...

×   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.