Solved

creating an installation routine

Posted on 2002-04-14
7
174 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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 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…
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…

932 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

18 Experts available now in Live!

Get 1:1 Help Now