?
Solved

VB6 Setup Package

Posted on 2011-09-07
19
Medium Priority
?
295 Views
Last Modified: 2012-06-27
Hi,

I have developed a VB6 application, for which i have to create a package. i tried that on the package and deployment wizard which is available with Visual studio 6. there as the first step i have selected my application (VBP file) then it asked me for the package name and on the third step it asked me for the package folder. i said next but it does not proceed further. it just stops there itself. i dont know what has went wrong. please help in fixing this issue, its very urgent
0
Comment
Question by:rajeeva_nagaraj
[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
  • 10
  • 4
  • 4
  • +1
19 Comments
 
LVL 11

Expert Comment

by:kbirecki
ID: 36495935
I use this regularly.  If I understand where you are in the process, you have to set a path for it to create the package files.  I ususally use a folder right under my dev folder called "package".  So if my app is in C:\Dev\VB6\Something, I specify C:\Dev\VB6\Something\Package and PDW will create it for me the first time, and thereafter it will state that it will overwrite the existing files, which is what I usually want.

Does that help?
0
 
LVL 11

Expert Comment

by:kbirecki
ID: 36496081
Did you try a new empty folder?  Is it a local folder?  Also try creating the folder first and separately try creating a simple text file in the folder to verify you have full read/write capabilities.

Here is a sequence of the PDW screens that work for me.
Sample-PDW-sequence.pdf
0
 
LVL 11

Expert Comment

by:kbirecki
ID: 36496112
If those things don't work, has it ever worked?  Has anything changed recently?  Maybe you could try uninstalling VB6, the reinstalling along with SP6.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 49

Expert Comment

by:Martin Liss
ID: 36496752
You shouldn't be using the P&D Wizard since it hasn't been supported for several years and doesn't support Win 7, etc. You should use some other installer like Wise or InstallShield. There are also free ones that are 'modern'.
0
 
LVL 11

Expert Comment

by:kbirecki
ID: 36496854
@MartinLiss, did I miss a reference to Win7?
0
 
LVL 11

Expert Comment

by:kbirecki
ID: 36496868
@rajeeva_nagaraj, What OS are you working on?
0
 
LVL 49

Expert Comment

by:Martin Liss
ID: 36496934
"@MartinLiss, did I miss a reference to Win7?"

What are you asking?
0
 
LVL 11

Expert Comment

by:kbirecki
ID: 36497957
@MartinLiss, I interpreted your mention of Win7 to say that PDW won't work in answer to rajeeva_nagaraj's question, but maybe I'm mistaken, so I added the question to clarify what OS is being used.  I use PDW on WinXP all the time and it works great.  I've seen some people say they feel it doesn't work at all, so they swear it off and use something else.  But for straight forward build's in the right environment, it works fine.  Anyone using VB6 has to know it is old technology, but like me, they are probably using it out of convenience.  That's all.
0
 
LVL 49

Expert Comment

by:Martin Liss
ID: 36497977
The P&D Wizard itself will work on Win7 and Vista but the packages it creates may not cleanly install the app it creates in those operating systems.
0
 
LVL 22

Expert Comment

by:danaseaman
ID: 36498767
Wise and InstallShield are too expensive and complicated.
There are free installers like Inno Setup but they require learning script.

I have been using Tarma installers for years.
InstallMate is priced at $89 and it has a nice drag-drop GUI.
It supports all OS including Win7.

See www.tarma.com
0
 
LVL 49

Expert Comment

by:Martin Liss
ID: 36498869
@danaseaman: I could quibble and say that with expense comes features but as you and I say there are free alternatives. As for Inno Setup there is a front end which which sells for $25, See it at http://www.randem.com/innoscript.html
0
 
LVL 11

Expert Comment

by:kbirecki
ID: 36499555
@MartinLiss - Ahhh.  Got it!
0
 

Author Comment

by:rajeeva_nagaraj
ID: 36500917
@kbirecki,  I am using windows XP OS. for  the same vb project i had created package earlier. but few days back i just created a new folder and moved my vb file to that folder and since then the package is not happening. i think there are some references written. if so can you please let me know how can i overcome that.

0
 

Accepted Solution

by:
rajeeva_nagaraj earned 0 total points
ID: 36500993
Thanks guys i found the solution. just deleted the .pdm file and recomplied the application. created setup with new .pdm file it worked.

0
 
LVL 11

Expert Comment

by:kbirecki
ID: 36501597
Glad you got it working, but I thought this was a VB6 project.  Isn't a PDM file part of a newer Visual Studio project?
0
 

Author Closing Comment

by:rajeeva_nagaraj
ID: 36555883
Delete PDW file and re generate the setup it will work
0
 
LVL 11

Expert Comment

by:kbirecki
ID: 36535152
Can you clarify what you solution was?  Where is this PDM file you deleted and what was the source of it?
0
 

Author Comment

by:rajeeva_nagaraj
ID: 36536167
Hi,

There will be a file with .PDM extention (projectname.pdm) which will have all configuration related stuff in it. i just deleted that and re compiled my project it created another .PDM file with new set of configurations.
0
 
LVL 11

Expert Comment

by:kbirecki
ID: 36536350
OK, I see those are the Package Deployment configuration files.  Thanks for the update.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month8 days, 6 hours left to enroll

766 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