Solved

Package & Deployment Wizard

Posted on 2000-04-25
11
154 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

803 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