Hi,
how can I add files (e.g. ini-files, xml-files, pdf,..), that should be
installed with a ClickOnce deployed applications?
Christian 5 3414
Mark them as "Content", and ensure that they are selected ("Include" or
"Data File") in the dialog at:
Project Properties -Publish -Application Files...
Of course it depends on what you mean by "installed" ... ClickOnce just
places the file in the target tree - it won't make system changes, for
example.
Marc
Thank you Mark,
that is all I need.
Christian
"Marc Gravell" wrote:
Mark them as "Content", and ensure that they are selected ("Include" or
"Data File") in the dialog at:
Project Properties -Publish -Application Files...
Of course it depends on what you mean by "installed" ... ClickOnce just
places the file in the target tree - it won't make system changes, for
example.
Marc
Is it possible to install a assembly into the GAC?
Christian
"Marc Gravell" wrote:
Mark them as "Content", and ensure that they are selected ("Include" or
"Data File") in the dialog at:
Project Properties -Publish -Application Files...
Of course it depends on what you mean by "installed" ... ClickOnce just
places the file in the target tree - it won't make system changes, for
example.
Marc
Not from ClickOnce, no. The intent for ClickOnce is to be fully isolted,
enough that a non-admin can "install" a ClickOnce on a completely
locked-down desktop. Which is handy, as that is the scenario my users
use ;-p
For GAC, you ideally want an MSI-based setup. But it begs the question:
why GAC? If this is for COM->CLR interop then fine... but more standard
references I'd simpy go with bundling the dll.
Marc
You can write an installation package to do that, and deploy it as a
prerequisite to the ClickOnce installation.
What do you need to install in the GAC? We have found that we can include
most dll's locally and the application will work fine. We are even deploying
DirectX components this way.
RobinS.
"Christian Havel" <Christian Ha***@discussio ns.microsoft.co mwrote in
message news:5C******** *************** ***********@mic rosoft.com...
Is it possible to install a assembly into the GAC?
Christian
"Marc Gravell" wrote:
>Mark them as "Content", and ensure that they are selected ("Include" or "Data File") in the dialog at: Project Properties -Publish -Application Files...
Of course it depends on what you mean by "installed" ... ClickOnce just places the file in the target tree - it won't make system changes, for example.
Marc This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: moondaddy |
last post by:
I have a sample vb .net 2.0 winforms app and am using Oneclick deployment to
a remote server. All of the files (DLLs, EXEs, manifests, configs, etc.)
seem to get deployed to the target folder on the client OK and seem to work
OK, Except for some additional files I created for the client application.
For example, I have a file called myData.xml and myCustomConfix.xml which
the windows app uses. In the old 1.1 days (while working in the...
|
by: Steve Teeples |
last post by:
I have a simple application built with several DLLs that access XML files for
information. My local setup works just fine. As defined in my Install
folder, the files are copied to the "application folder" and the DLLs find
them just fine.
However, when I publish the same application to a local server for users to
use the "click once" install feature, my XML, XMS files are NOT copied to the
local machine's application folder. All other...
|
by: Andrew86 |
last post by:
I have an application which requires a number of DLLs (unmanaged ansi C dlls)
to reside in the same directory as the application. I currently have these
dlls included in the project folder and marked as "content".
When I publish the application with ClickOnce and update my application -
these dlls (along with a .chm help file that doesnt change) keep being
redownloaded. From what I've read in all of the ClickOnce marketing hype, it...
|
by: TonyJ |
last post by:
Hello!
I have VS 2003 which use .NET 1.1 but I have download and installed .NET 2.0
from MS but some files are missing.
The download and installation was successful.
The main reason for me to use .NET 2.0 is to be able to use the ClickOnce
technology that exist in VS 2005 but according to
an answer from this new group this ClickOnce feature exist in .NET 2.0 that
can be downloaded from MS.
|
by: Irfan |
last post by:
hi,
I created a setup file using the Publish Wizard in Visual Studio 2005 and
installed the software in the client machine. Now I want to update some of
the installed files in the client machine with NEW ones.
Is there anyway that it can be done automatically without i telling the user
which files to replace and which not.
Is creating a batch file a good option or their are other better options
available.
| |
by: DCDev |
last post by:
I have a solution with multiple projects. One project is a
windows forms project. I have report files (.rdlc) in a separate
project that are built as "Content" with the "Copy Always" option.
When I build the solution, these files are copied to the bin\Release
directory, as they should be. However, when I publish the Windows
Forms project, these content files are not copied. How can I make it
so that these content files from the one...
|
by: Phil |
last post by:
VB2005 Express.
I am developing a solution that involves a windows forms application and a
number of class library projects (DLLs). Some of the DLLs require extra data
files or third party dlls. I can include additional non-source files in my
projects, but these are not always automatically included when I publish the
application. It seems that files included in the main application project
are included, but any files that I add to other...
|
by: =?Utf-8?B?QXZpc2hheSBCZW4tWnZp?= |
last post by:
Hi,
I have an application that I am encrypting the connection strings on the
first run of the application. I am using clickonce to deploy the
application, so this was a good solution as the application is immediately
run and the config file is encrypted immediately. How ever, when the
application is deployed a second directory with "_none_" in the name is
created and the app.config is copied there too.The app.config in the _none_...
|
by: Claire |
last post by:
Ive written a small string resource building utility that I send out to our
translators. I have a setup project for each language we support, which
picks
out a group of 12 english resx files plus their paired "foreign" resx for
that language only and installs those resource files in a subdirectory
somewhere.
I'm trying to create a setup project in visual studio 2008. Ive got my
Application Folder set up with my executable. Im now...
|
by: =?Utf-8?B?VCFN?= |
last post by:
Hi All,
I've been successfully deploying clickOnce successfully through the 2.0 and
3.X frameworks, but now have a problem with ClickOnce updates in 3.5 SP1.
The scenario is this: I want to deploy an *offline* application that can
only be installed from behind our organizational firewall (a Win2k3 domain),
but can be updated from anywhere (hotels, etc).
To do this, the publishing folder location is set to a UNC share path:
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |