Possible to use of multiple post processors?

Topics: Updater Application Block
Feb 5, 2004 at 6:57 AM
originally posted by: danpbarnes

Does anyone know how you might be able to run multiple post processors during an update?

My scenario:
Created a windows service that implements the UAB to update a client application and another windows service. I would like to be able to implement a post processor that uninstalls the old windows service and then a second post processor to install the new one. I need to uninstall the service because I will be relocating the updated service to a different directory and this seems to be the easiest way. However, when I try to accomplish this task in one post processor I am able to uninstall the service, but until the process that I am running in complete the service is locked (marked 'disabled'). Thus, I cannot install the new service unless I change it's name (a possibility for me). If I could run multiple post processor (in a specific order) then I believe I could get around this problem...

Thanks for any input you might have...