G
Guest
I have an application to deploy using ClickOnce, but do not have one location
for updates.
I want to dynamically change
ApplicationDeployment.CurrentDeployment.UpdateLocation at runtime.
Problem is that that property is read only!
Many of my clients do not have an internet connection, and i want to allow
them to auto update nonetheless. So i wanted to create two applications. The
first would be an updater, which would have packaged with it a zipped version
of my main app. It would unzip to a directory of the user's choice, and
client machines would install from there. This "server" app could easily be
updated by a sysadmin via CD even with no internet connection. the trick is
to get the client app to update itself from the local server which obviously
would be a different path for each of my clients. I just don't want to have
to pass around the CD to every client machine. I could make my client app
aware of the location via sql server database, but how do i tell Click Once
where to go for updates AT RUNTIME?
for updates.
I want to dynamically change
ApplicationDeployment.CurrentDeployment.UpdateLocation at runtime.
Problem is that that property is read only!
Many of my clients do not have an internet connection, and i want to allow
them to auto update nonetheless. So i wanted to create two applications. The
first would be an updater, which would have packaged with it a zipped version
of my main app. It would unzip to a directory of the user's choice, and
client machines would install from there. This "server" app could easily be
updated by a sysadmin via CD even with no internet connection. the trick is
to get the client app to update itself from the local server which obviously
would be a different path for each of my clients. I just don't want to have
to pass around the CD to every client machine. I could make my client app
aware of the location via sql server database, but how do i tell Click Once
where to go for updates AT RUNTIME?