Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cant copy dill file while in use

Status
Not open for further replies.

DJTN

Programmer
Jul 5, 2000
121
US
during the instalation of my app I get the following error.

*** ERROR: C:\WINDOWS\SYSTEM\WININET.DLL
*** ERROR: An access violation occurred while copying the file.
*** ERROR: (User Responded with 'Abort')
*** DURING THIS ACTION: SharedFile: "C:\WINDOWS\SYSTEM\WININET.DLL"

*** WARNING: Setup is not yet complete.
*** WARNING: If you quit now, this product will not be correctly installed.
*** WARNING: Quit the setup of this product?
*** WARNING: (User Responded with 'Yes')
*** DURING THIS ACTION: SharedFile: "C:\WINDOWS\SYSTEM\WININET.DLL"

I'm getting this warning because the dill I'm trying to copy or update is in use by windows. Explorer is using the dill and I cant shut that down so how can I work arround this? The program was created in VB 6 and I used the package and deployment wizzard.I dont want the end user to have a hard time installing, I want it to be smooth.

Thanx,
Todd

[sig]<p>Todd Norris<br><a href=mailto:Todd.Norris@home.com>Todd.Norris@home.com</a><br><a href= Personal Profile 2000</a><br>Hope this helps ![/sig]
 
I believe InstallShield handles problems like this better than the VB package and deployment tools.

Simon [sig][/sig]
 
Is it possible with the VB installer though? (I've always wondered) [sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>Making mistakes, so you don't have to. &lt;grin&gt;[/sig]
 
I never found a way of doing this, which is one of the reasons we started looking at InstallShield - as well as adding messages to the install process (like MS installs).

Simon [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top