Solved

how do you get the setup to make other directories?

Posted on 1999-01-08
4
130 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
[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
 

Author Comment

by:ldeutsch
ID: 1454824
Edited text of question
0
 
LVL 10

Accepted Solution

by:
caraf_g earned 50 total points
ID: 1454825
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
ID: 1454826
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
ID: 1454827
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

734 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