?
Solved

Package & Deployment Wizard

Posted on 2000-04-25
11
Medium Priority
?
158 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 800 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

Technology Partners: 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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

762 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