Solved

VB6 Setup Package

Posted on 2011-09-07
19
283 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
  • 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
 
LVL 45

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 45

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 45

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
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 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 45

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

707 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

20 Experts available now in Live!

Get 1:1 Help Now