ClickOnce and Setting MSI ExitCode from a custom action Installer class

C

Clive B

Hello

I've created an MSI and wrapped it as a prerequisite package for ClickOnce
deployment, so that my ClickOnce setup.exe checks whether it needs to
install this MSI before it can install itself.

The MSI references a .Net Installer class through a Custom Action.

In this Installer class, I need to set the ExitCode so that ClickOnce can
determine whether it was successful.

E.g.: See the crystal reports pre-req package for an example of how
ClickOnce can detect the ExitCode from an MSI.

The thing is, I can't see how it can be set via managed code in an Installer
component.

Any ideas? Is this possible?

Cheers

s
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top