Community Forums
Results 1 to 2 of 2

Thread: How To Use A User Entered Property Value As the Destination Directory For Files?

  1. #1
    Join Date
    Jan 2018
    Posts
    1

    Question How To Use A User Entered Property Value As the Destination Directory For Files?

    Hello all,

    I have created a basic MSI. It contains prompts for the user to enter a specific directory where files are to be installed. This entered value is stored as a property _PXPInsLoc. How can I use this property as the destination of a component that was defined that has the files to be installed?

    I have attached a PDF with screen snapshots.

    FlexeraCommunityForums.pdf


    Thanks,

    AJB

  2. #2
    Join Date
    Nov 2016
    Posts
    15
    I'm assuming all the Directory Name properties are created in the Fils and Folders view with default values. What you can then do is create separate "Set Directory" custom actions for each directory, I'm not sure if you should use different names for the entries or the same name but you could schedule the custom actoins when clicking the Next button.

    Custom Action -> New Set Directory

    Directory Name = DIRECTORY_NAME
    Directory Value = [NEW_DIRECTORY_NAME]

    DIRECTORY_NAME needs to exist in Directory table, can be created in Application Data - Files and Folders.

Posting Permissions

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