Hi,
As per requirements of my project, to install the software I need to accept only the drive name and not the entire installation path.
User should enter only drive name and software should get installed in Program files folder in that drive. (e.g when user enters E:\ the software should automatically get installed to E:\Program Files\Software Name).
I am using Path Edit control for the same.
I tried following : in Install Parameters -> Installation Folders -> Application Folder I entered property [WindowsVolume]
now when I run the setup, I can see default installation drive as C:\ , as per my requirement.
I used Published Event on Next button. In that I used control event SetTargetPath and argument as APPDIR (property of Path Edit). but it installs software at C:\.
Please tell me how to accomplish the task. can I use a different property instead of APPDIR ?
Please note that Browse button should not be provided to user.
FOLLOW US
Get the latest news in Application Packaging