Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Posts
    2

    Read Only when using RunAs

    As a relative new user to VB and setup factory, I have managed to create a vb application and make a single setup file using setup factory.

    However, the problem I encounter is if I install using RunAs,either through explorer or command prompt. the Application Folder is read only, preventing the application functioning properly.

    If I log in as an administrator and install everything works fine.

    Help.


  2. #2
    Join Date
    Jan 2000
    Posts
    2,002
    That is because when you run the install as an admin the install folder is writable by the user running the setup process (the admin). Then when the user without admin privilidges tries to run the software they do not have write permissions.

    This is really an issue that you will have to address in the design of your software. Make sure that your program stores data files somewhere that limited users have modification access to like My Documents or Application Data.

  3. #3
    Join Date
    Mar 2005
    Posts
    2

    Read Only when using RunAs

    Thanks for that.

    I have amended the installation so that the files are no installed to a folder on the root of C: instead of the Program Files directory but have left others in the System32 folder.

    However the problem still occurs and the folder on the root of C: is again marked as read only.

    I don't fancy visting all the machines to log in as an administrator and installing the software.

Similar Threads

  1. Is it possible to read <meta tags> from Web1?
    By ianhull in forum AutoPlay Media Studio 5.0
    Replies: 5
    Last Post: 09-11-2006, 12:56 AM
  2. Example: Set Input Objects Read Only On or Off at Runtime
    By Worm in forum AutoPlay Media Studio 5.0 Examples
    Replies: 1
    Last Post: 07-20-2004, 04:31 PM
  3. Add "Read File Attributes" to "Read File Information"
    By Marker0077 in forum Setup Factory 6.0
    Replies: 1
    Last Post: 07-08-2003, 09:05 AM
  4. Unable to read a registry key value
    By melanie_seba in forum Setup Factory 6.0
    Replies: 8
    Last Post: 04-21-2003, 12:50 PM
  5. Read from registry or ini??
    By Michael in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 09-10-2001, 08:22 AM

Posting Permissions

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