Solved

how do you get the setup to make other directories?

Posted on 1999-01-08
4
125 Views
Last Modified: 2010-05-03
I wish to burn a CD with my application on it. when the user runs the setup, apart from installing all the controls and exe's, i also want the setup to create a directory called FileDump and put an .mdb file into it that i wish to ship with the product. How do you get the setup to create the directory and copy the file across? Remeber, because the database if from a CD, the software must also change the attributes of the .mdb from read only to read and writable
0
Comment
Question by:ldeutsch
  • 2
4 Comments
 

Author Comment

by:ldeutsch
Comment Utility
Edited text of question
0
 
LVL 10

Accepted Solution

by:
caraf_g earned 50 total points
Comment Utility
VB 5:

You can modify what your setup program does by modifying project .....\VB\setupkit\setup\Setup1.vbp and recompiling it.

PS - make sure you create a backup of the original project as the modified setup1.exe will be included with ANY setup created with the VB Setup Wizard.

For VB 6, I'm sure, there is a similar VB Project that you can modify to achieve similar results, and perhaps this is event true for earlier versions of VB.
0
 
LVL 2

Expert Comment

by:PedroG
Comment Utility
caraf_g thas true, but way far for what ideutsch need, i now how you can simply do it, but you must first turn down the previsious answer so i can post mine's
0
 

Author Comment

by:ldeutsch
Comment Utility
Does anyone have an easier method? This seems very complicated for what i would have thought should be a simple job. Thank you to caraf_g also as it was at least an answer.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now