Announcement

Collapse
No announcement yet.

FILE PATH2

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • FILE PATH2

    Hi i have a simple problem:
    i need to first scan for a program say;
    HKEY_LOCAL_MACHINE\SOFTWARE\DANIEL

    if it exists i have to install my program to c:\daniel\INSTALL HERE

    if the path does not exist i have to install it to :
    c:\daniel\va\installhere

    any help would be appreciated.

    thanks a lot pit for earlier help.

    dan

    ps: thanks lorne for solving my first part,i could read from the reg and set the path as you said. But if it does not existing i have to install to a predefined directory.
    I am a **** NEWBIE. hope u wont mind about my stupid question.

  • #2
    Re: FILE PATH2

    When you say path, are you talking about the path to the file in the file system ("on the hard drive"), or the path to a subkey in the Registry?

    I'm not sure I understand your situation completely, but...you can set the default value for the Read from Registry action to any path you want.

    For example, to have your %MyInstallPath% variable (or whatever) default to "C:\daniel\va\installhere", you could replace the word "Default" in the Default value field of the Read from Registry action with "C:\daniel\va\installhere".
    --[[ Indigo Rose Software Developer ]]

    Comment

    Working...
    X