Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2008
    Posts
    29

    Hiding Source Folders

    Hi guys, I want to change my application's temprorary extract path.I have tried to change the folder with "Edit->Prefences-> Folder" but i couldn't success it. I want to hide temprorary exract folder. Could you explain me the ways?

  2. #2
    Join Date
    Aug 2008
    Posts
    29
    Help me!!

  3. #3
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014
    Quote Originally Posted by shanex252 View Post
    Hi guys, I want to change my application's temprorary extract path.I have tried to change the folder with "Edit->Prefences-> Folder" but i couldn't success it. I want to hide temprorary exract folder. Could you explain me the ways?
    No that's for your projects within your system...hummm not sure how to answer you on this one... hold on.
    (Half hour later) I don't know! That sucks... Anyone?
    Last edited by Bruce; 09-01-2008 at 02:10 PM.

  4. #4
    Join Date
    Aug 2008
    Posts
    29
    Thanks.I am waiting you...

    EDI: okay...
    Last edited by shanex252; 09-01-2008 at 02:20 PM.

  5. #5
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    The application built with AMS will always be extracted to a folder (named like ir_ext_temp_*) in your temporary folder. You can't specify the folder name to extract to, but you can easily hide the folder once it was created.

    All you have to do is, at program start, check the current folder, and set it as hidden (and maybe as system), so it isn't listed in the default configuration of Windows Explorer. This is a weak protection, but it is what you asked for.

    On the On Startup tab of your project, place these lines of code to hide the folder where your project was extracted:
    Code:
    -- get the current folder
    folder = Folder.GetCurrent();
    -- hide the current folder
    attributes = File.GetAttributes(folder);
    attributes.Hidden = true;
    attributes.System = true;
    File.SetAttributes(folder, attributes);
    Once your application is closed, the folder is deleted, as always.

    Ulrich

  6. #6
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014
    There ya go!

Similar Threads

  1. Mulitple download source folders
    By jhum in forum TrueUpdate 2.0
    Replies: 3
    Last Post: 05-31-2005, 07:47 AM
  2. Use source sub-tree as destination sub-tree on multiple files
    By roofrack in forum Setup Factory 6.0
    Replies: 1
    Last Post: 08-27-2003, 07:17 AM
  3. INFO: Finding Shell Folders in the Registry
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-10-2002, 03:52 PM

Posting Permissions

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