Package & Deployment Wizard

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?
StangLadyAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
AzraSoundConnect With a Mentor Commented:
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
 
AzraSoundCommented:
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
 
StangLadyAuthor Commented:
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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
AzraSoundCommented:
interesting...see if this article helps

http://support.microsoft.com/support/kb/articles/Q194/2/96.ASP
0
 
AzraSoundCommented:
sorry thats internet related..never mind
0
 
AzraSoundCommented:
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
 
StangLadyAuthor Commented:
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
 
AzraSoundCommented:
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
 
StangLadyAuthor Commented:
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
 
StangLadyAuthor Commented:
Thanks for your input.
0
 
AzraSoundCommented:
youre welcome.  i'm just glad its no longer a headache for you.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.