VB6 Package & Deployment Wizard 
Author Message
 VB6 Package & Deployment Wizard

Hi,

is there any way I can delete and add a file (replace) in CAB file created
by Package & Deployment Wizard of VB6, in order not to create SETUP files
again ? It seems that CAB file is locked.

The DLL I need to replace will not create any problem to the rest of files,
it just includes a corrected bug.

Thanks a lot in advance.



Sat, 14 Jul 2012 23:05:01 GMT  
 VB6 Package & Deployment Wizard
Hmm, the easy way should be to add it to the project, and rerun P&DW,
isnt there a .bat file for that already?
or for a runaround replace the dll afterwords, and NO, I havent tried
playing with the CAB so I dont know, it opens in sorts of packing
programs but there is a sid key too. some {alto-or-numbers-here}
stuff.
Why dont do it the right way?
//CY


Quote:
> Hi,

> is there any way I can delete and add a file (replace) in CAB file created
> by Package & Deployment Wizard of VB6, in order not to create SETUP files
> again ? It seems that CAB file is locked.

> The DLL I need to replace will not create any problem to the rest of files,
> it just includes a corrected bug.

> Thanks a lot in advance.



Sat, 14 Jul 2012 23:43:25 GMT  
 VB6 Package & Deployment Wizard

Quote:
> is there any way I can delete and add a file (replace) in CAB file created
> by Package & Deployment Wizard of VB6, in order not to create SETUP files
> again ? It seems that CAB file is locked.

  There are a couple of ways. You can use software that
rebuilds the CAB, but CABs store files in sequence, and
I think the setup.lst file depends on that sequence with
its file numbering. So you need to be sure to get the same
sequence.

   Another, probably easier, method is to use the provided,
but poorly documented, features of PDW itself: Look in the folder
where the package was made. You should have setup.exe,
setup.lst, the CAB, and a folder named Support.

  That folder holds copies of all your
files. There's a .DDF file in there that specifies the CAB
content. There's also a .BAT file that will rebuild the CAB,
based on the DDF file, and using the files in the Support folder.
(You can alter the CAB by editing the DDF file, if necessary.)

    So you put the new DLL in the Support folder and run
the BAT file. But before you run the BAT you also need
to edit the setup.lst file with the new size/date/version for the
replaced DLL. You can do that in Notepad. Then put the
updated file in the Support folder. (Also copy it outside the
Support folder. I don't remember offhand whether the BAT
file ops will replace that version of setup.lst with the version
in the Support folder, and the version outside is the one that
ends up getting shipped.)

   After the BAT runs you'll have an updated CAB file outside
the Support folder.

Quote:
> The DLL I need to replace will not create any problem to the rest of
files,
> it just includes a corrected bug.

> Thanks a lot in advance.



Sat, 14 Jul 2012 23:42:31 GMT  
 VB6 Package & Deployment Wizard

Quote:

> Hi,

> is there any way I can delete and add a file (replace) in CAB file
> created by Package & Deployment Wizard of VB6, in order not to create
> SETUP files again ? It seems that CAB file is locked.

> The DLL I need to replace will not create any problem to the rest of
> files, it just includes a corrected bug.

To add to the pile.

When you create a specific build you are given an opportunity to name and
save that build-script. You can then use the command line options for PDMan
to rebuild your project non-interactively and silently. (Take a close look
at what the .bat file is doing as well.) I find this just as easily done as
running the bat file.

[The next step is to place all of this in an .mak file (nmake). <g>]

-ralph



Sun, 15 Jul 2012 03:45:36 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Question about VB6 Package & Deployment Wizard

2. VB6 Package & Deployment Wizard Question

3. VB6, Package & Deployment Wizard Help

4. VB6 Package & Deployment Wizard

5. Errors from VB6 Package & Deployment Wizard

6. VB6 and Package & Deployment Wizard

7. VB6:Using Package & Deployment Wizard

8. Package & Deployment Wizard Questions (VB6)

9. Package&Deployment Wizard VB6

10. Alternatives to the VB6 Package & Deployment Wizard???

11. about the Package and Deployment Wizard (VB6)

12. VB6 (SP5): Package and Deployment Wizard Dependency File

 

 
Powered by phpBB® Forum Software