Visual Basic .NET Forums  
Click here to advertise with us

Go Back   Visual Basic .NET Forums > VB.NET > Deployment

Deployment Discussions related to installation, patching/updates, no touch deployment, etc.

VB.NET Forums Newsletter Signup:
Email address:


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2009, 8:35 AM
TyB TyB is offline
VB.NET Forum Enthusiast
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: May 2009
Age: 40
Posts: 71
Reputation: 14
TyB is on a distinguished programming path ahead
Default Issue with Deployment and MS Power Pack

I have a windows app that uses the shape control which is part of the MS power pack and requires Microsoft.VisualBasic.PowerPacks.Vs.dll.

I am using Publish to build my app and I have tried to change the dll to Include in the properties page but nothing seems to work.

I need a way to have the file included and I am unable to find a external copy and I understand that I cannot just copy the dll from my PC into the installation folder as it has some other dependencies so any help would be appreciated.

Thanks,
Ty
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-25-2009, 11:17 AM
TyB TyB is offline
VB.NET Forum Enthusiast
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: May 2009
Age: 40
Posts: 71
Reputation: 14
TyB is on a distinguished programming path ahead
Default Got It!

I finally figured it out.

I had to go into the Project Properties pages again. Select Publish from the menu on the left. Then click on the Application Files button and set the Microsoft.VisualBasic.PowerPacks.Vs.dll to Include then go into the Prerequisites and select the option to Download Prerequisites from the same place as my application.

Now when you publish the app it will create a folder for each of the Prerequisites. This will have to be installed manually from these folders on the target PC.

One caveat that I found is that one of the Prerequisites was .Net 3.5 SP 1. When I published it the first time after these changes the build failed because it could not find the .Net file even though I had included the full install package and added it as Include in the Application files area. Once I removed the check for .Net 3.5 SP 1 in the Prerequisites I was then able to publish the app and it did install on the target PC which already had .Net 3.5 installed. That may mean that I will have to manually install .Net 3.5 on any other PCs instead of it prompting to download it during the setup.

Thanks,
Ty
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 9:59 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


For advertising opportunities click here.