2

we have a requirement to uninstall an application from windows machine.I have created a batch file to with uninstall commands,converted the batch file into a exe and by using MSI package installer created a package. When i tried to install this other machine this was found as virus/Spyware.

Is this because of bat file in the exe?

NewUser
  • 25
  • 1
  • 3
  • Type `iexpress` in Start Run andsee if that works. – phd443322 Jun 19 '14 at 20:42
  • What are you really trying to do? – Christopher Painter Jun 19 '14 at 20:51
  • Chris is right, this needs more explanation. The requirement seems to be uninstalling an application, so the part about creating an MSI package to achieve this is confusing. It's also not clear if the install or running the app afterwards is being flagged as virus. – PhilDW Jun 20 '14 at 17:23
  • Sorry for the confusion.My requirement is create a msi package including the batch file.Once package is installed in client machine and clicking on the msi application batch file should should execute the command to uninstall the applications. – NewUser Jun 20 '14 at 18:24
  • My question is can i create a MSI package with batch file included?If yes how to proceed? – NewUser Jun 20 '14 at 18:25

1 Answers1

0

I would assume this is due to the tool you used to create the EXE file with. Other than that you can take a look at various ways to uninstall MSI files.

I don't know what kind of network you are on, but normally an uninstall like this is best done via a deployment tool, WMI, PowerShell or similar. There are many ways.

Community
  • 1
  • 1
Stein Åsmul
  • 39,960
  • 25
  • 91
  • 164