Results 1 to 5 of 5

Thread: write protected files

  1. #1

    Thread Starter
    Hyperactive Member PJB's Avatar
    Join Date
    Aug 2000
    Location
    dunno at the moment
    Posts
    302
    I'm running into a problem on an installation, when my setup file goes to install the run time files oleaut32.dll(sometimes others to) is write protected on the end user's PC, i know you can just change the read only property of the .dll itself and then re-run the setup but i don't want the end user to have to do this, is there any way to have it overwrite the older version anyway???

    The .dll versions i'm installing are more recent than the existing ones in the couple of PC's i've ran into this problem on
    VB6.0 SP4
    Windows 2000
    I'm thinking of a number between

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    If you knew the file names you could of course..
    Code:
    SetAttr yourfilepath, int(getattr(yourfilepath)/2)*2
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3

    Thread Starter
    Hyperactive Member PJB's Avatar
    Join Date
    Aug 2000
    Location
    dunno at the moment
    Posts
    302
    I know the filenames but i won't know the file versions in advance, will it still overwrite??

    Odd thing to the only PC's i've ran into the run time files being write protected on are ones with AOL installed on them, wonder if there's any relationship...
    VB6.0 SP4
    Windows 2000
    I'm thinking of a number between

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    I haven't checked it out but oleaut32.dll may be a component of Aol, and if the installed version is old, or if there's no automatic upgrade to oleaut32 then it may be old. But i'm almost sure the problem is that oleaut32 isn't readonly but instead running?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  5. #5

    Thread Starter
    Hyperactive Member PJB's Avatar
    Join Date
    Aug 2000
    Location
    dunno at the moment
    Posts
    302
    well the thing is, for the rest of the runtime files it will reboot the computer and update them, other times there's no problem and all of them are updated with the new versions after re-boot, the only thing i could think of is AOL possibly customized the run-time files to be read only when installed(that's just me guessing). I'm buying Installshield Express 3.0 within the next day or 2 and i'm hoping that will help with some of the problems.


    I have run into instances where some of the files were running, and of course woke up and shutdown any programs that were running at the time...

    [Edited by PJB on 09-18-2000 at 08:14 AM]
    VB6.0 SP4
    Windows 2000
    I'm thinking of a number between

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width