Solved

creating an installation routine

Posted on 2002-04-14
7
176 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to skip loop 6 62
message box in access 4 51
How to hault or freeze parent form when a 2d form is open in vb6 3 39
clicking a shape in a frame array vb6 3 46
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…
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…

839 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