473,666 Members | 2,098 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

oneClick deployment - how to publish additional files with app?

Hello,

I have been using OneClick deployment to deploy apps at my workplace. Works
great! But now I have to deploy additional files with the app, like chms,
rtfs. How do I publish the additional files? Do I add them to the project?

I have a RichTextBox that will read the rtf's.

RichTextBox1.Lo adFile(Applicat ion.StartUpPath & "\myTest.rt f")

How can I publish "myText.rtf " along with my app so that the above code will
run correctly?

Thanks,
Rich
Jul 25 '06 #1
3 6239
I see an Appliccation files button in the Project Properties window. I am
guessing that I need to at my chm's or rtf's to that group. Anyone know how
to add additional files to the Application Files List?

Thanks,
Rich

"Rich" wrote:
Hello,

I have been using OneClick deployment to deploy apps at my workplace. Works
great! But now I have to deploy additional files with the app, like chms,
rtfs. How do I publish the additional files? Do I add them to the project?

I have a RichTextBox that will read the rtf's.

RichTextBox1.Lo adFile(Applicat ion.StartUpPath & "\myTest.rt f")

How can I publish "myText.rtf " along with my app so that the above code will
run correctly?

Thanks,
Rich

Jul 25 '06 #2
I figured this out and posting for posterity:

Here are the steps to add additional files to the application files for
deployment

1) add the rtf, chm files to the project (the main project)
2) in the properties of the file(s) added go to the build action and select
Content
3) for Copy To Output Directory select Copy Always

Then compile

Now the file(s) has/have been added to the Application files list and will
deploy with the application using OneClick Deployment.

Rich

"Rich" wrote:
I see an Appliccation files button in the Project Properties window. I am
guessing that I need to at my chm's or rtf's to that group. Anyone know how
to add additional files to the Application Files List?

Thanks,
Rich

"Rich" wrote:
Hello,

I have been using OneClick deployment to deploy apps at my workplace. Works
great! But now I have to deploy additional files with the app, like chms,
rtfs. How do I publish the additional files? Do I add them to the project?

I have a RichTextBox that will read the rtf's.

RichTextBox1.Lo adFile(Applicat ion.StartUpPath & "\myTest.rt f")

How can I publish "myText.rtf " along with my app so that the above code will
run correctly?

Thanks,
Rich
Jul 25 '06 #3
I figure out how to add additional files to the application files list for
deployment.

1) add the file (rtf, chm...) to the project
2) In the Build Action in the property sheet for the added file select
content
3) In the Copy to Output Directory option in the property sheet for the
added file select copy always.

Then compile. Now the file is added to the list of application files for
deployment (in addition to being added to the project for usage).

Rich

"Rich" wrote:
I see an Appliccation files button in the Project Properties window. I am
guessing that I need to at my chm's or rtf's to that group. Anyone know how
to add additional files to the Application Files List?

Thanks,
Rich

"Rich" wrote:
Hello,

I have been using OneClick deployment to deploy apps at my workplace. Works
great! But now I have to deploy additional files with the app, like chms,
rtfs. How do I publish the additional files? Do I add them to the project?

I have a RichTextBox that will read the rtf's.

RichTextBox1.Lo adFile(Applicat ion.StartUpPath & "\myTest.rt f")

How can I publish "myText.rtf " along with my app so that the above code will
run correctly?

Thanks,
Rich
Jul 26 '06 #4

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

Similar topics

0
865
by: Steven Wang | last post by:
Hi, I have written a electronic catalog application using vb.net. In the deployment project's file system, I created an image folder under the Application folder to store image files (10,000+) for my products. The problem is, after installing the application, a registry entry is created for each of the 10,000+ images under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\...\Compon ents. This can cause some problems...
0
921
by: Mulm3h | last post by:
Hi when I publish my application using the publish wizard in VB 2k5 Everything works fine, but after i run through the installation of the application setup.exe. There's a folder missing which required the application to run the images on. It is an external folder, when i debug application it runs fine, i guess is somehow when it got publish, it leaves out the image folder. How do i make sure the image folder get publish as well with the...
2
1289
by: GaryDean | last post by:
Regardless if I use the Publish feature of vs2005 or the addin Web Deployment Project I can't seem to get the necessary files deployed. For instance my bin directory has several .licx files but neither tool is smart enough to deploy those files so I have to copy them manually after deployment. Also, I would like to install the necessary Crystal dlls onto the target server but there seems no place to specify additional files to deploy. ...
2
1218
by: Irfan | last post by:
hi, I want to add some CAD files or Excel Templates when i publish using ClickOnce. Is there any way i can do it. Thanks irfan
0
1172
by: Irfan | last post by:
hi, When i create clickOnce deployment, i want to add MS Access files to do it. Is their anyway i can do it? thanks Irfan
0
765
by: FarooqAhmed | last post by:
When I installed deployment setup in a folder, first it removed all files before it copied the new ones. Question is, how can I create a deployment setup which will not remove any files. It should just override files and leave other files alone. Any idea?
0
1124
by: Manfred | last post by:
Hello I have an installations which I like to update. In the meantime I had to change a lot of the code and had even to create another new project to replace the old one. I like to create now a new setup which should delete old files (also the exe file which has a new name now) and shortcuts to this files. Maibe a solution would also be to delete the Application folder.
10
6582
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...
0
1289
by: ERRAD | last post by:
Hi can some body help me in my problme please? I'd like to add SQL SERVER express 2008 to my one CLick depoyment I manage that thanks to the BGM now i'd like to know how to add a sql script that why when youser end the instalion he had the SQL SERVER express installed and the database implémented, I'd like to add the sql script in the oneClick deploymentcustom action how to do that with c#? thanks
0
8449
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8360
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8876
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...
1
6198
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
5666
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
4371
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2774
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1777
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.