views:

162

answers:

3

Is it possible to uninstall an application in windows using a Perl script?

+4  A: 

I dont think there is any standard Perl module which accepts the application name and uninstall it. To uninstall an application you need to know its uninstaller application name/path. You can launch the uninstaller application from the Perl script by calling it in the System function.

GJ
Also if unuinstaller does not support silent uninstalling, you'd have to click buttons it wants then.
n0rd
A: 

You need to know every step you did in the installation process like inserting registry keys and which files and directories were generated in the installation proccess.

dan
A: 

I don't know much about perl, but you might be able to use Msiexec

chame1eon