Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Adding dependency on another program (http://forums.winamp.com/showthread.php?t=379612)

zewari 23rd October 2014 19:19

Adding dependency on another program
 
Hey folks, I'm not sure what the technically appropriate way to define this behavior is, so please bare with me. Some programs have a way of establishing a dependency with other programs such that if one attempts to uninstall the required program, a pop-up appears that would inform the user about the dependent programs that would not be able to function properly.

For example, assume program A requires program B to be installed. If the user attempts to uninstall B while A is still installed, a notice advises the user to either uninstall A first or at least lets them know that A will no longer work. If possible, I would like the uninstallation of B to force the uninstallation of A prior to B's removal. Is this doable, NSIS gurus?

Anders 23rd October 2014 20:05

There is nothing in the system you can hook to detect this and it is probably not possible unless program B is under your control and you can change the way its uninstaller works.

See also: http://blogs.msdn.com/b/oldnewthing/.../10546017.aspx


All times are GMT. The time now is 17:17.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.