Solved

Nagging problems with the Package and Deployment Wizard

Posted on 2002-06-23
4
260 Views
Last Modified: 2013-11-23
I am using VB6PRO to generate shareware programs. I have
some nagging problems with the Package and Deployment
Wizard.
1. The wizard cannot find all the files in the program.  
   Each time I run the wizard it shows the Missing Files
   screen, and lists some files but not others. There
   doesn't seem to be any structure on how the wizard
   selects the missing files. For instance, from a
   particular subdirectory containing 10 files it chooses
   4 files as missing.
2. One of my programs uses the Grid32.ocx file. The
   wizard recognizes this and puts it on the Included
   Files list.
   When I run the program and then uninstall it, it
   erases the Grid32.ocx file from the Windows\System
   directory. Since the wizard doesn't put this file on
   the Shared Files list, I cannot declare it as a shared
   file.
What can be done?
0
Comment
Question by:Ursi
[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
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
marconovaro earned 200 total points
ID: 7101896

For both points you should have a look to the .DEP file. The PDW has a .DEP file for each OCX and DLL it shall install. In that file, it can find the information it needs about the dependencies of the file.
For the second point, in particular, you should have a look to the SETUP.LST file. In the line containing Grid32.ocx you can add "shared", create the installation again, and that works.
You could also save your PDW configuration, to avoid doing this each time.

Let me know if you need more information.
Marco.

0
 

Author Comment

by:Ursi
ID: 7102179
Thanks Marco,
Yes, I revised the SETUP.LST, and added at the line
containing Grid32.ocx the
following: "$(DLLSelfRegister),$(Shared)". This works.
However, when I make some changes on my program using VB6,
and then use the batch file that PDW provided for updating
the setup program, "$(DLLSelfRegister),$(Shared)" is
erased on the Grid32.ocx line of the SETUP.LST.
Any idea why?
0
 
LVL 8

Expert Comment

by:glass_cookie
ID: 7102542
Hi!

Not very sure if this helps, but this is what I normally do:

This would only work if your app doesn't use any third party ocx files that doesn't come with VB and that you didn't use any calls from any 3rd party dll files.

Zip up all your vb exe file, together with all your ocx files that you've used, and create a self-extracting exe file that would unzip ALL the files into the SAME folder.

Ie. Your VB app will have all the required ocx files in the same folder.

Your app should work fine from there.

That's it!

glass cookie : )
0
 
LVL 6

Expert Comment

by:marconovaro
ID: 7106656
Hi Ursi,

thanks for accepting my answer. You may have a look to this

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q190978

article, that explains how the PDW uses the .DEP files. Have a look also to the links you can find at the end of the article itself.

About your question, I think you can create a .DEP file for the grid32.ocx to include $(Shared) as a default. The PDW should then use it for subsequent installs....
Another suggestion: I used the PDW for a while, and I found out a lot of problems with it (especially on the client's PC...). So, I found another good install creator here:

http://www.jrsoftware.org/

(sorry for this little advertisment :) )
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

688 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