Solved

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

Posted on 2013-12-12
10
785 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
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Gridview selected row 9 49
I need help converting a bitmap to an image in VB.Net 1 44
Very Large data in MYSQL 7 73
VB.net Open video relating to control 2 20
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 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