Solved

Package & deployment wizard problem

Posted on 2003-12-09
3
676 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
[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
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

688 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