Solved

creating an installation routine

Posted on 2002-04-14
7
178 Views
Last Modified: 2010-05-02
Hi,

I have written a small program in VB 6 the program works as it should with no problems - Until I try to run it on certain  operating systems such as win 95 98 etc.  An error message appears saying that it can't find a missing dll file.

This is not a problem as it can easilly be copied over.

I would like to be able to put the compiled program, the dll file and an icon onto disk - and have an installation routine do the following:

1.  autorun

2.  install the program into a directory such          c:\programfiles\mark1

3. copy the missing dll file over to the required directory

4.  Create a shortcut on the desktop with an icon

I would like the source code of this if possible, and or any recomendation as to a program that will do it for me, such as vise etc.

Any help much appreciated

0
Comment
Question by:m_durnell
[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
  • 3
  • 3
7 Comments
 
LVL 3

Expert Comment

by:Bahnass
ID: 6939960
visual studio has a tool called

Package and deployment wizard Just for that
0
 
LVL 3

Expert Comment

by:Bahnass
ID: 6939962
it also has source code for setup1 that U can modify to customize setup

Hope U look on them this will simplify Ur task

But if U have some definite problem EE's will be glad 2 help
0
 
LVL 1

Author Comment

by:m_durnell
ID: 7090586
Hi,

I cannot find the Package and deployment wizard.  I am using VB 6 professional edition.  

Will this tool enable me to do everything I stated earlier easilly or is it a little fiddly?

Regards

Mark
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

Expert Comment

by:nermeen
ID: 7092186
it is simply under

Microsoft visual studio 6.0 tools

( start -> programs  ->
0
 
LVL 3

Accepted Solution

by:
Bahnass earned 100 total points
ID: 7094067
Wellcome back

( 2 monthes are enough for wedding )  
:-)
0
 
LVL 1

Author Comment

by:m_durnell
ID: 7094323
Hi,

The package & deployment wizard worked well, apart from if I save a file to a folder ( for example c:\mark\picture1.jpeg

When the program is installed it will look for this path - How can I save all files and install through the wizard putting all files where I need them to go so that they are accessed correctly.

(PS I was looking out for you at my wedding :-)  )

Regards

Mark
0
 
LVL 1

Author Comment

by:m_durnell
ID: 7139119
Bahnass

Thanks for your help.  I eventually found the package and development wizard (Talk about things right under your nose!!).

Cheers and all the best

Mark
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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

691 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