|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ClickOnce and Setting MSI ExitCode from a custom action Installer classI'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 |
|||||||||||||||||||||||