Solved

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

Posted on 2013-12-12
10
779 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

803 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