Hi Jeff,
When we deploy an application via ClickOnce, we have two options to publish
the data file associated with the application.
One option is to mark the data file as 'Include' for its publish status.
When the application is installed, the data file will be placed in the
Application Directory, where the application's executable file resides.
The other option is to mark the data file as 'Data File' for its publish
status. When deploying this application, the data file will be put in the
Data Directory of this ClickOnce application.
When we upgrade a ClickOnce application, a new Application Directory and
Data Directory will be created and the executable and data files of the new
version application will be placed in the new Application Directory and
Data Directory, if the data file is marked as 'Data File'. After the
upgrade finishes, the client machine maintains two versions for this
application, i.e. the newly installed version and the last installed
version.
As for the end-user managed documents you mentioned, I don't think it's a
good idea to publish them along with the application. Because you can only
publish these documens to either the Application Directory or Data
Directory and each version of an application has its own Applicaion
Directory and Data Directory, which is isolated from other versions.
I suggest that you install these documents via a seperate MSI package. You
may also include the excel spreadsheet in the MSI package.
Hope this helps.
If you have anything unclear, please feel free to let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.