?
Solved

Installation Problem!

Posted on 2003-03-20
5
Medium Priority
?
147 Views
Last Modified: 2010-05-01
I want to create a setup program using the Package and Deployment Wizard. As a result, a setup.exe is generated. After running the setup, the program is installed. It actually copies the MyProgram.exe to the pre-defined folder. Normally, C:\Program Files\My Program\MyProgram.exe.

My program will access db which is expected to be located in C:\Program Files\My Program\DBfolder\.

However, the PDW do not create the folder \DBfolder for me. So what should I do?
0
Comment
Question by:chpchai
[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
5 Comments
 

Expert Comment

by:itzme
ID: 8172824
You could get one of the installation wizards free on the net and add the setup files and the db to that installation with the only addition the db.
0
 

Author Comment

by:chpchai
ID: 8172868
Any installation wizard recommended? And where to get it?
Does the Visual Studio installer work?
0
 
LVL 2

Expert Comment

by:saurabhgupta
ID: 8173081
Hi itzme,
I would highly recommend Inno Setup (http://www.jrsoftware.org/isinfo.php). It has got quite a lot of advanced features like expensive installers and its Free! Inno setup also has many third party extensions(mostly free), enabling you to have additional functionality in your setups.
It has a very powerful and flexible scripting. You can easily create installation scripts for it with another free GUI tool ISTool (http://www.istool.org/).


Regards
Saurabh
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 8173091
PDW will create the \DBFolder iff you place a file (even a dummy one) into it. When you specify the installation path, you can tell ($AppPath)\DBFolder

Another method is to have your applicationi create the folder at runtime if the folder is missing.
0
 
LVL 48

Accepted Solution

by:
AlexFM earned 60 total points
ID: 8173094
In one if the PDW steps (third from the end) it shows full list of the package files in list:
Name  Source   Install Location.

Edit Install Location for your database:
instead of  $(AppPath) type $(AppPath)\DBFolder
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month12 days, 17 hours left to enroll

777 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