On 12/02/2011 06:29 AM, Tracy Pearson wrote:
> Kent Belan<[email protected]>  wrote:
>
>> Happy Friday,
>>
>> I am trying to build an update routine for an existing VFP9 app that is
>> already installed.
>>
>> I can not hard code the install folder, so I need to ask the user for
>> the
>> folder to install.
>>
>> I have searched, but can't find the answer, so I will ask here and hope
>> someone knows.
>>
>> Is there a way in Inno setup to allow the user to change the default
>> path
>> where the install will occur ?
>>
>> Something like a Browse button to change the install path would be
>> great.
>>
>> Thanks,
>> Kent
> If you use the same guid key, the installer grabs the last install location 
> from the registry.
>
> There should also be a screen allowing the user to change the directory by 
> default.
>
> The DestDir should use the {app} constant.


DefaultDirName=C:\recommended folder
AppendDefaultDirName=yes
UsePreviousAppDir=no

The last line allows you to change the app directory in my setups

Jeff

---------------

Jeff Johnson
[email protected]
(623) 582-0323

www.san-dc.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to