|
-
Sep 6th, 2006, 09:53 PM
#1
Thread Starter
Hyperactive Member
Question about PDW ?
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!
-
Sep 6th, 2006, 10:05 PM
#2
PowerPoster
Re: Question about PDW ?
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.
-
Sep 7th, 2006, 05:45 AM
#3
Re: Question about PDW ?
Moved to Application Deployment
-
Sep 7th, 2006, 10:02 AM
#4
Re: Question about PDW ?
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 8th, 2006, 10:09 AM
#5
Re: Add a new folder from PDW
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:
VB Code:
Private Sub Form_Load()
If Dir(App.Path & "\NewFolder1") = "" Then
MkDir App.Path & "\NewFolder1"
End If
End Sub
NOTE: you can also use FSO to create folders.
-
Sep 8th, 2006, 10:09 AM
#6
Re: Add a new folder from PDW
I would suggest you to move to another deployment tool, for example Inno Setup
-
Sep 8th, 2006, 10:27 AM
#7
Re: Question about PDW ?
Duplicate threads merged.
-
Sep 9th, 2006, 07:43 PM
#8
Re: Add a new folder from PDW
 Originally Posted by gavio
I would suggest you to move to another deployment tool, for example Inno Setup 
There is no need to switch packagers when this is such a simple small issue
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|