Solved

Package & deployment wizard problem

Posted on 2003-12-09
3
651 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

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

Suggested Solutions

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

863 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

24 Experts available now in Live!

Get 1:1 Help Now