473,811 Members | 3,719 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Publish, but not ClickOnce

Hi,

my application uses some configuration files. Since I could not find a way
to have VS 2005 include these files into the generated Setup program once I
publish the ClickOnce application (not even when I have these external
config files on my resources tab) I'm going to publish my application as a
"normal" program. This way it is easier for the user to find the application
installation path (like c:\program files\the program name\config)

How can I achieve this?

Is there a way to have the final setup program also install (just copy) any
config files to the destination machine?

Thank you very much in advance,
Kurt
Apr 4 '06 #1
2 2334
Kurt,
I'm going to publish my application as a "normal" program. This way it is
easier for the user to find the application installation path (like
c:\program files\the program name\config)

How can I achieve this?


You can just 'build' the program to \bin\release in the project directory,
and then use something like the Nullsoft installer (nsis.sourcefor ge.net) to
create your config file.

Hope this works.
Apr 4 '06 #2
Hi,

"Jonathan Rothwell" <fr************ **@ntlworld.com > schrieb im Newsbeitrag
news:cp******** **********@news fe3-win.ntli.net...
You can just 'build' the program to \bin\release in the project directory,
and then use something like the Nullsoft installer (nsis.sourcefor ge.net)
to create your config file.


I tried the suggested installer software and it seems to work just fine.
Thanks for the advice!
Kurt
Apr 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1110
by: dave | last post by:
For some reason in my visual C# 2005 express installation, when ever i publish even a simple app, in the properties, the "sign the clickonce manifest" and the "enable the clickonce security setting" get checked automatically . Even if I uncheck it, it gets rechecked when I try to publish it. (with a temporary certificate) I have the app not check for updates and just install from CD, is there any global setting that is causing it get...
21
3872
by: Al Christoph | last post by:
I posted this last week end in the MSDN forums. No luck there. Let's see what the experts here have to say:-)))) I have a rather convoluted project. The distributable will come in eight different flavors, each with its main program, libraries, datafiles, doco, etc. Each flavor will also have one or more standalone executables that can be called as tools from within the main program.
4
1158
by: AMP | last post by:
Hello, I am trying to publish a program and I want to include some files, Readme....ect. I tried putting them in the Resourses but that doesnt publish them. How do I make sure they are included and the path to put them? Thanks Mike
0
1250
by: jayrooney07 | last post by:
Hi, I'm working on a C# project in which there's a conflict between two dll-files (office automation dll's, version 2.1 & version 2.4), forcing me to manually copy the second dll to the "bin/Debug" folder instead of referencing to it in the solution. The problem is that the project needs to be distributed using the ClickOnce publish feature in Visual Studio 2005, and the second dll is not added to the distributed version of the project. ...
10
6596
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...
4
4829
by: Paul Engel | last post by:
I have an app that published fine to our network. We just moved to a new server and I am trying to publish my app to the new server. It fails and I get the following messages: Error 1 Cannot publish because a project failed to build. 1 1 TextFileConverter Error 2 SignTool reported an error 'Failed to sign bin\Release\TextFileConverter.publish\\setup.exe. SignTool Error: ISignedCode::Sign returned error: 0x80880253
2
1669
by: Pieter | last post by:
Hi, We're using ClickOnce alreaddy more than a year for a given applicaiton, doing more than 50 publishes without any problem. Yesterday we made a minor change to one of our components (let's say with the name MyAssembly), and incremented it's version (AssemblyVersion: from 0.1.7.0 to 0.1.7.1). We did the Publish with ClickOnce, but when the users know want to run the application they get this error: "Unable to install or run the...
3
2045
by: Ryan Liu | last post by:
hi, I like the Publish function comes with VS2008. But 3 questions remain: how to make update path to be flexiable? Because I will give those updates to my cutomers, and different cutomer will use differnt server/shard path. And after install on client machine, where does it copy all files? Because I have a configure file need user to modify it. Each cutomer has hundrends
3
5863
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi all, I am working on a windows forms app. I do my development in a development environment, and I have certain settings in my app.config like connection to WCF services that point to my development WCF Services.
0
10651
Oralloy
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...
0
10393
jinu1996
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...
0
10136
tracyyun
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...
0
9208
agi2029
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...
1
7671
isladogs
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...
0
6893
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();...
0
5697
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3871
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3020
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.