PDA

View Full Version : How can AMS uninstall a program in Windows



ph4824
07-30-2001, 02:18 AM
I've tried creating a link in AMS so that the user can uninstall a program in windows through AMS but can't find out how to do it.

Can it be done? If so how?

Thanks

Adam
07-30-2001, 09:03 AM
It is possible to uninstall programs using AutoPlay Menu Studio. You must call the uninstall executable then pass it the proper INI file that it needs. But not all uninstalls are called the exact same way. Here is a couple of examples of how to call an uninstall.

To uninstall AutoPlay Menu studio:

Action = execute program
File Name = %WinDir%\iun506.exe
Arguments = C:\Program Files\AutoPlay Menu Studio 3.0\irunin.ini
Working Dir = %WinDir%
Wait for Return = checked
.
.
.

Here is how you would uninstall Real Player:

Action = execute program
File Name = C:\Program Files\Common Files\Real\Update\rnuninst.exe
Arguments = RealNetworks|RealPlayer|6.
Working Dir = C:\Program Files\Common Files\Real\Update
Wait for Return = checked

So it is possible but you need some information about the software that you plan to uninstall. I hope that this will help you to solve your problem.



------------------
Adam Kapilik
Indigo Rose Corporation

ph4824
07-31-2001, 01:08 PM
Well your advise has helped me and it works for most accept for one of my programs.

When I go to Uninstall this program I keep getting "Unable to locate the uninstallation log file ". Uninstallation will not continue". I have tried to locate this so called log file and can't find it. The Uninstaller carries the brand of "UninstallShield".

Have you come accros this one before? and Is there a way around this problem?

Thank you.