Solved

Package & Deployment Wizard

Posted on 2000-04-25
11
153 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
  • 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
 
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now