Solved

Package & deployment wizard problem

Posted on 2003-12-09
3
647 Views
Last Modified: 2008-02-01
Package & deployment wizard

When I try to make a setup file for application I encounter a few bugs.
This are the steps I make:

- I select the project for which I want a setup file.
- I choose for package

- I choose packaging script: Standard setup package 1

- I choose package type: standard setup package

- I select the folder where I want to install the package

- Then I get to choose which file I want to include in the package
These are present in that screen:
mscomctl.ocx
msvcrt.dll
myfile.exe << my file
scrrun.dll
setup.exe
setup1.exe
st6unst.exe
VB6 Runtime and Ole automation
VB6stkit.dll

- I choose for single cab

- Installation title: myfile 1.0.0.

- I choose a start menu group

- Then I can modify the install location of the files:
mscomctl.ocx
myfile.exe
scrrun.dll
(but I leave it as it is)

- I don't choose to share myfile.exe

- I save the settings of the session under standard setup package 1
- I press finish

The setup file has been created in the target directory
Along with the files:
myfile.exe
setup.lst
and a directory has been created with the name:Support

When I run the setup file I choose to install to the directory:
c:\program files\project1

It tries to install but I receive the message:
c:\windows\system\msvcrt.dll
An access Violation occured while copying the file

And the installation is aborted.

Why is the installion aborted, and why are there so many files in the package ?
(I thought it would create just one setup file)
0
Comment
Question by:saskia
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
Sethi earned 50 total points
ID: 9909930
msvcrt is Micosoft Visual C++ runtime file and is used by Windows. If you try to install some package with PDW in Windows98 you will get this error as Win98 would not allow you to do so. In higher versions the error is internally ignored by Windows. Don't package it with your application as it will be there in every Windows version. If you do package then ignoring it wont be any problem.
0
 

Author Comment

by:saskia
ID: 9910002
Thank you very much Sethi
0
 
LVL 18

Expert Comment

by:Sethi
ID: 9910242
Anytime ;-)

If you need more information on msvcrt, serach in the following link and you will get so many possible errors and situations with this dll:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;KBHOWTO
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
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 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…

757 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

22 Experts available now in Live!

Get 1:1 Help Now