Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to force a rollback?

0 views
Skip to first unread message

alan sinclair

unread,
Jun 13, 2001, 5:28:13 PM6/13/01
to
we need to use a dll custom action to verify that the target machine can be
installed onto ... the dll sets a property to tell if there is a problem.
How do I force a rollback, if we decide the install cannot proceed?

thanks
alan


Phil Wilson

unread,
Jun 13, 2001, 8:05:10 PM6/13/01
to
After you call the CA Dll which sets the property, you should be able to add
a CA type 19 conditioned on the value of that property you set.

"alan sinclair" <al...@nospam.deterministicnetworks.com> wrote in message
news:etNhB$E9AHA.2112@tkmsftngp05...

Andrew Naiden

unread,
Jun 19, 2001, 7:07:19 AM6/19/01
to
> > installed onto ... the dll sets a property to tell if there is a problem.
> > How do I force a rollback, if we decide the install cannot proceed?

Your custom action simply has to return ERROR_INSTALL_FAILURE and all
previuos setup operations will be rollback'ed automatically.

0 new messages