Is anyone aware of how to cancel an installation using a custom action?
The only way I can do it at the moment is to throw an exception in the custom action module which causes a pretty ungraceful roll back saying that there is a problem with the Windows Installer package.
We need to temporarily hard code an expiry date (don't ask...management decisions) so on top of a date check in the application I need a date check on installation. So I've set up a custom action that checks the date but can't rollback properly if the date is bad.
Any better ideas?...a Launch Condition would be ideal but after some trawling am under the impression this is not possible (taking into account different date formats also)
The only way I can do it at the moment is to throw an exception in the custom action module which causes a pretty ungraceful roll back saying that there is a problem with the Windows Installer package.
We need to temporarily hard code an expiry date (don't ask...management decisions) so on top of a date check in the application I need a date check on installation. So I've set up a custom action that checks the date but can't rollback properly if the date is bad.
Any better ideas?...a Launch Condition would be ideal but after some trawling am under the impression this is not possible (taking into account different date formats also)