Re: Initiate Rollback from Custom Installation Class



Try throwing an InstallException. That should do it.
--
Phil Wilson
[Microsoft MVP Windows Installer]
"MrTea" <hilton.jon@xxxxxxxxx> wrote in message
news:1166720147.295914.17030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Folks

I have a Custom Installation Class (that inherits from
System.Configuration.Install.Installer)

Basically during a file copy, if it errors I want to roll-back the
installation.

Can I initiate the roll-back from within my custom installation class.

The error I am trying to catch is during my overridden Commit Sub.

Regards
Jon



.


Loading