Click Once app Update

  • Thread starter Thread starter Looch
  • Start date Start date
L

Looch

Hi All,

When using the Publish wizard in C# express I'd like to designate a
directory that the application will look to for updates. My question
is, what files need to be in the update directory? Updated source
code? Updated setup.exe with the associated files?

Thanks in advance.
 
Hi All,

When using the Publish wizard in C# express I'd like to designate a
directory that the application will look to for updates. My question
is, what files need to be in the update directory? Updated source
code? Updated setup.exe with the associated files?

Thanks in advance.

Are you using Click Once? If it is click once, all new files will be
created under new version folder except 3 files (they will be in the
root). .application file and .application file with new version.
 
Hi All,

When using the Publish wizard in C# express I'd like to designate a
directory that the application will look to for updates. My question
is, what files need to be in the update directory? Updated source
code? Updated setup.exe with the associated files?

Thanks in advance.

If you are using click once. Every time you publish, the publish
process will create at the destination folder setup.exe,
name.application and name.application.version where name is your
application name. This also create new folder with version number with
all the files that is required for that particular version. When you
make a change to the code and republish, this will recreate
name.application and name.application.newversion and a new folder with
new version number and all the files.

If you set your program to check for update automatically and when you
check for update (before application start or after ending), based on
the setup the program knows where to check for update (your publish
location) and update automatically. Also you can do this
programmatically as well. Hope this answers your question.
 

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

Back
Top