Solved

VB6 Setup Package

Posted on 2011-09-07
19
287 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 46

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 46

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 46

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 46

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

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.

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

830 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