Share via

Create application without Detection Method

Boopathi S 3,951 Reputation points
2021-12-17T18:43:05.24+00:00

Hello,

I need to create an application for the DBUtilRemovalTool.exe. How can I create an Application without Detection Method.
Please help.

Microsoft Security | Intune | Configuration Manager | Other

4 answers

Sort by: Most helpful
  1. Shakti Singh Rathore 6 Reputation points
    2021-12-24T07:06:59.877+00:00

    Hi,
    Creating Application requires detection or else you have to create a Program.
    You can use the Registry for detection -> Simply create a registry location as mentioned in the .bat below and remove it when uninstalling the application (see examples below)

    Install.bat
    InstCommand.exe Param1 Param2 etc..
    REG ADD "HKLM\Software\MyCompany\AppInstall" /v "MyScript 1.00" /f

    Uninstall.bat
    UninstCommand.exe /uninstall
    Reg Delete "HKLM\Software\MyCompany\AppInstall" /v "MyScript 1.00" /f

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. Pavel yannara Mirochnitchenko 13,456 Reputation points MVP
    2021-12-20T08:12:43.507+00:00

    You can also create an Application and insert command to inject new (empty) txt file or registry value and use that as DT. I perfer reg values, but txt file will do it as well.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  3. AllenLiu-MSFT 49,441 Reputation points Microsoft External Staff
    2021-12-20T02:05:30.92+00:00

    Hi, @Boopathi S
    Thank you for posting in Microsoft Q&A forum.

    There really is no way to do an application deployment without a detection method since that's what triggers an installation.
    If you don't want to use a detection method than you may create a Package(program) instead. You can make it show up in Software Center if you want and in the deployment you can set the package to only rerun if the installation failed (based on the exit code).


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    Was this answer helpful?


  4. Garth Jones 1,366 Reputation points
    2021-12-17T19:17:31.38+00:00

    You can't, create a program instead.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.