Hi,
If I want to create two new folder under the app.path when the running the setup, how can I tell the PDW to do this in VB6?
Thanks!
Printable View
Hi,
If I want to create two new folder under the app.path when the running the setup, how can I tell the PDW to do this in VB6?
Thanks!
you would add the folders and any contents they may have to your PDW, then when PDW installs, those folders and the contents are installed along with the app. you can; however, get VB6 to create directories if they dont exist.
Moved to Application Deployment
Yes the P&D Wiz has the option to add aditional files but it will only create folders if there are files added. In other words, no blank folders will be created. You should really get your program to test for these and if not present you would create them at that time and not during the installation. ;)
You'll have to add some dummy file for that purpose.
But the simplest way is to create new folder(s) yourself when application starts:
NOTE: you can also use FSO to create folders.VB Code:
Private Sub Form_Load() If Dir(App.Path & "\NewFolder1") = "" Then MkDir App.Path & "\NewFolder1" End If End Sub
I would suggest you to move to another deployment tool, for example Inno Setup ;)
Duplicate threads merged.
There is no need to switch packagers when this is such a simple small issue ;)Quote:
Originally Posted by gavio