Solved

VB.NET Project with report files in a sub-folder, Problem with Deployment

Posted on 2013-12-12
10
792 Views
Last Modified: 2013-12-16
I've created a VB.NET project with a sub-folder which contains report files. When I build the exe and dependent components are placed in the Release folder and a sub-folder is created in which the report files and vb files are placed. (the build action for the report file is set to content)

When creating the deployment project, I add the Primary output form MyApp to the application folder. It does not create the sub-folder and include the report files.

Is this because of the build action of the report files?

Mark
0
Comment
Question by:etsellinc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 16

Expert Comment

by:Kalpesh Chhatrala
ID: 39715919
Hi,

Change Build action to Copy File and try to build again.

you need to add Report file separately in deployment project. create Sub Folder in Application folder (deployment project) and add reports file in that folder.
0
 

Author Comment

by:etsellinc
ID: 39717189
Well, it's more complicated than I thought. Now that I have added the installer project to the solution the project will no longer build to the "bin\Release\" folder. Can't figure out where the thing is building to.

Adding an installer project to the solution messed all kinds of things up. I will need some time to work figure out what is going on.

Mark
0
 

Author Comment

by:etsellinc
ID: 39721383
I was hoping for an automated method. There are many report files and several developers. When it comes time to the build, I don't want to check file for file to be sure they are all there.

Mark
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 16

Expert Comment

by:Kalpesh Chhatrala
ID: 39721413
Hi,

you need to try Click Once Installation. check below ClickOnce Tutorial

http://www.codeproject.com/Articles/17003/ClickOnce-Quick-steps-to-Deploy-Install-and-Update
0
 

Author Comment

by:etsellinc
ID: 39721460
Thanks kalpesh2804,

The application is distributed to multiple locations. Currently we are using a paste to add or change files for the application.

There are unique files to each location which would be the problem for Click Once. We use an INI file to pass specific information to the application which currently resides with the EXE file. Since there is no true EXE, how would I pass the INI file information?

I have considered the Click-Once but have been unable to implement.

Mark
0
 
LVL 16

Accepted Solution

by:
Kalpesh Chhatrala earned 500 total points
ID: 39721497
Hi,

you can create different installation project for different location.

Please check InstallShield Limited Edition. It's free.

http://learn.flexerasoftware.com/content/IS-EVAL-InstallShield-Limited-Edition-Visual-Studio
0
 

Author Comment

by:etsellinc
ID: 39721511
Thanks kalpesh2804,

InstallShield Limited Edition is not available for VS2008.

Mark
0
 

Author Closing Comment

by:etsellinc
ID: 39721796
Thanks kalpesh2804,

I downloaded the 2012 version and tried it. It would not attach to the project but it was easy enough to create an install.

Since the MS Installer destroys the way the build progresses and does not know how to work with sub-folders and those files within, I believe that this may be the best solution.

It's not what I was looking for. Maybe I expect too much.

Mark
0
 
LVL 16

Expert Comment

by:Kalpesh Chhatrala
ID: 39722040
use InstallShield Limited Edition in VS 2012. In InstallShield you can add Folder.
0
 

Author Comment

by:etsellinc
ID: 39722318
Thanks kalpesh2804,

I'll try that.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question