Solved

how do you get the setup to make other directories?

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Suggested Courses
Course of the Month4 days, 2 hours left to enroll

630 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