views:

28

answers:

0

Well. I have a setup project with CustomActions library from where I open a WPF Form. I know this sounds crazy, but that's what it is.

And Of course I removed all crappy Setup project dialogs at Start, Progress and at the End.

Now. Installation goes alright. But. When I try to use my installation for the second time, It says... nothing. And does nothing. Because in default Welcome screen dialog it supposed to ask either to remove the app installed previously or repair it. And I removed those dialogs.

So. How can I check this condition from my custom actions library code? And how can I actually run Repair/Remove thing? Or choose one of that options by default?