all groups > dotnet setup > august 2003 >
You're in the

dotnet setup

group:

Aborting a C# Install Custom Action


Aborting a C# Install Custom Action Paul Stefancyk
8/22/2003 11:40:48 AM
dotnet setup:
I've got a custom action written in C#. If something goes
awry in this action, I wish to abort the installation and
have my Rollback custom action called.

How do I do the aborting?

I've seen C++ examples that return ERROR_INSTALL_FAILURE
from an Install method that reurns an int.

However, the .NET Framework Install methods are void.

Re: Aborting a C# Install Custom Action Kallely Sajan
8/22/2003 6:01:39 PM
Try using using the InstallException
--

Regards,
Sajan.

PS: Please don't send me direct emails, use the newsroom.

[quoted text, click to view]

AddThis Social Bookmark Button