Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2005
    Posts
    8

    Finding the folder location

    Hi all,
    I am running into a little bother with trying to get a setup file built in SUF6.0. I am creating a setup file that needs to look for the existence of a file prior to installing a newer version. I want the install to be able to look for the old executable file, and depending on which directory it is under, I want to be able to assign a variable to the folder it finds it under, so that I can create a backup of that folder, by renaming the folder?

    I searched on the site and found some handy info, but I can't quite make it work.

    Would someone tell me how I could use the "search for file" option?
    Eg: Say the file is located at e:\fred\test.exe, how would I enter that information in the Search for File, and how would I specify that in the custom directory?

    Thanks in advance

    David

  2. #2
    Join Date
    Oct 2005
    Posts
    8
    Okay, I think I figured that out by using the Parse Path.
    Now I have another problem, once I've renamed the directory, I want to move all files from the previous directory to this other one. I used the command:

    Move Files (%PrevDir%\*.* -> %olddir%)

    But I get an Error. Is the simple syntax I'm missing out here?

  3. #3
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    It really depends on what you have those variables set to. You seem to have the right idea though.

    Also keep in mind that you must create the folder to copy the files into before the Copy Files action takes place.

    Adam Kapilik

Similar Threads

  1. cookies
    By goukilord10 in forum AutoPlay Media Studio 5.0
    Replies: 6
    Last Post: 05-20-2005, 04:08 PM
  2. Finding a folder by file
    By GTi in forum Setup Factory 7.0
    Replies: 3
    Last Post: 04-04-2005, 10:51 AM
  3. Copy Folder to new location every day at midnight?
    By ianhull in forum AutoPlay Media Studio 5.0
    Replies: 14
    Last Post: 02-26-2005, 01:54 PM
  4. INFO: The Explore Button on the Distribution Folder Dialog
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-11-2002, 12:06 PM
  5. HOWTO: Locate Internet Explorer's Favorites Folder
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-11-2002, 09:12 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