?
Solved

Package & deployment wizard problem

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

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

615 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