Solved

Package & Deployment Wizard

Posted on 2000-04-25
11
157 Views
Last Modified: 2010-05-02
I am getting a Run-time error 75 when I run my application set up.  It's a Path/File Access error.  I've figured out that it happens when the setup app tries to delete cab file 9 of 10 after installing the app.  It appears that the cab is installed as a read-only file.  This seems to happen only on Win95 and Win98 machines and doesn't happen every time.  Any ideas what might cause a cab file become read-only?
0
Comment
Question by:StangLady
[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
  • 7
  • 4
11 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 2748436
try going to windows folder and bringing up properties of win.ini and system.ini and removing checks from archive, read only, and hidden. try installation again and see if you still get the errors
0
 

Author Comment

by:StangLady
ID: 2748583
the ini files do not have any checks to remove.  I found that if I physically remove the read only check from the cab file while debugging the setup app that i can rerun the Kill line and the file will be deleted.  I don't understand how just one cab file gets created with the read-only property set and the other 9 don't.
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2748694
interesting...see if this article helps

http://support.microsoft.com/support/kb/articles/Q194/2/96.ASP
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 28

Expert Comment

by:AzraSound
ID: 2748701
sorry thats internet related..never mind
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2750641
i believe this is a bug that is not addressed by ms.  to get around it i think you will need to fiddle with the pdw code a little bit.
0
 

Author Comment

by:StangLady
ID: 2751076
This is what appears to be happing.  Setup.exe is copying everything needed for the install over to the destination machine in the Windows directory.  On an NT install it looks like all cab files are copied immediately.  When I install to a Win95 machine it appears to copy 1-8 immediately and then 9 & 10 get copied later and end up being read-only. If the problem is in Setup.exe, I can't modify that program.
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2751529
actually you can...people do do it all the time.  pdw is a vb project just like anything else and you can modify its contents if you know what you are doing. i can find you the resources if you are interested.  the pdw file is somewhere in your visual studio folder called setup1.vbp
0
 

Author Comment

by:StangLady
ID: 2751612
I have been running Setup1 in debug because I can modify that program.  It appears that the problem in in Setup which does the preliminary copy of Setup1 and all of the cab files.  I did find a workaround though.  I created by cab files as 2.88 mb files rather than 1.44 cutting the number down to 5 and it appears to work just fine.
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 200 total points
ID: 2751625
http://www.teeitup.com/vbbugs.htm#p13

just for your benefit and any future references.  they address your problem there as well with a different solution, but it seems youve got it working just fine.  good job!
0
 

Author Comment

by:StangLady
ID: 2751636
Thanks for your input.
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2751648
youre welcome.  i'm just glad its no longer a headache for you.  
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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…
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…

729 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