How to run external process after update?

Topics: Updater Application Block
Jan 8, 2005 at 1:27 AM
originally posted by: Mikkelbm

Hi

I'm trying from within my application to do an update wich download a zipfile and a small program to unzip the zipfile.
All the files is downloaded, but it seems like the ApplicationProcess not working properly.

My manifest:

<manifest manifestID="{311085F7-9320-4318-9A67-9BE32F04E933}" action="Deploy" mandatory="False"
xmlns="urn:schemas-microsoft-com:PAG:updater-application-block:v2:manifest">
<description>a description for this manifest</description>
<application applicationID="6472d4a6-9c10-4e33-b893-fa36adc2abe4">
<entryPoint file="RunUpdate.exe" parameters="" />
<location>.</location>
</application>
<files base="http://localhost/ServerTest/">
<file source="ChilkatDotNet.dll" />
<file source="DelayedResume.exe" />
<file source="RunUpdate.exe" />
<file source="update.zip" />
</files>
<activation>
<tasks>
<task name="ApplicationDeployProcessor" type="Microsoft.ApplicationBlocks.Updater.ActivationProcessors.ApplicationDeployProcessor, Microsoft.ApplicationBlocks.Updater.ActivationProcessors"/>
</tasks>
</activation>
</manifest>


RunUpdate.exe is the program to unzip the zipfile and start the application again.
Normally when I just want to replace my application I get a 'blah blah.... Need to restart...' from the ActivationProcessor, but in this case I don't.

NB: I'm pretty new with this Updater stuff


Print from my events:

DownloadStarted for manifest: 311085f7-9320-4318-9a67-9be32f04e933
DownloadProgress for manifest: 311085f7-9320-4318-9a67-9be32f04e933- Files: 0/4 - Bytes: 2920448/2953686
DownloadProgress for manifest: 311085f7-9320-4318-9a67-9be32f04e933- Files: 0/4 - Bytes: 2920448/2953686
DownloadProgress for manifest: 311085f7-9320-4318-9a67-9be32f04e933- Files: 0/4 - Bytes: 2920448/2953686
DownloadCompleted for manifest: 311085f7-9320-4318-9a67-9be32f04e933
ActivationInitializing for manifest: 311085f7-9320-4318-9a67-9be32f04e933
ActivationStarted for manifest: 311085f7-9320-4318-9a67-9be32f04e933
ActivationCompleted for manifest: 311085f7-9320-4318-9a67-9be32f04e933

And then it stops...?
Jan 9, 2005 at 7:54 AM
originally posted by: figuerres2

which quickstart are you using as a sample?

inproc Manual ?

inproc Auto ?

Simple App Start?

each works a bit different....