Solved

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

Posted on 2013-12-12
10
775 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
 
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now