Try throwing an InstallException. That should do it.

Signature
Phil Wilson
[Microsoft MVP Windows Installer]
Unfortunately that doesn't appear to have the desired effect.
It throws up an exception message and says that installation will
continue but the application will not function as you might expect.
Any more ideas would be very welcome, I just need to figure out how to
abort the installation and rollback (from a Custom Installer Class)
Regards
Jon
> Try throwing an InstallException. That should do it.
> --
[quoted text clipped - 14 lines]
> > Regards
> > Jon
Phil Wilson - 02 Jan 2007 21:36 GMT
It's because you're in the Commit method - that means the installation
transaction is finished. That's what Commit means. If you want it to roll
back you need to be in the Install method.

Signature
Phil Wilson
[Microsoft MVP Windows Installer]
> Unfortunately that doesn't appear to have the desired effect.
>
[quoted text clipped - 25 lines]
>> > Regards
>> > Jon
MrTea - 05 Jan 2007 17:17 GMT
You're right! That sorted it
Thanks
On Jan 2, 9:36 pm, "Phil Wilson" <phil.wil...@wonderware.something.com>
wrote:
> It's because you're in the Commit method - that means the installation
> transaction is finished. That's what Commit means. If you want it to roll
[quoted text clipped - 31 lines]
> >> > Regards
> >> > Jon