?
Solved

Package & deployment wizard problem

Posted on 2003-12-09
3
Medium Priority
?
680 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 150 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

752 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