Re: Initiate Rollback from Custom Installation Class
- From: "MrTea" <hilton.jon@xxxxxxxxx>
- Date: 2 Jan 2007 09:28:07 -0800
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
On Dec 22 2006, 12:20 am, "Phil Wilson"
<phil.wil...@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Try throwing an InstallException. That should do it.
--
Phil Wilson
[Microsoft MVP Windows Installer]"MrTea" <hilton....@xxxxxxxxx> wrote in messagenews: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
.
- Follow-Ups:
- Re: Initiate Rollback from Custom Installation Class
- From: Phil Wilson
- Re: Initiate Rollback from Custom Installation Class
- Next by Date: Re: 3.0: cannot setup
- Next by thread: Re: Initiate Rollback from Custom Installation Class
- Index(es):
Relevant Pages
|
Loading