On Nov 12, 2007, at 11:20 AM, Chris Davis wrote:

> Erm something like this in your inno script
>
> [Code]
> procedure DoPostInstall();
>
> var
>   ResultCode: Integer;
> begin
> Exec(ExpandConstant('path'), '%path%;c:\myapppath', '', SW_HIDE,
>      ewWaitUntilTerminated, ResultCode);
>
> end;

        What does this 'Exec' function do? Does it add it permanently, or  
just for the current session?

> procedure CurStepChanged(CurStep: TSetupStep);
> begin
>   if CurStep = ssPostInstall then begin
>     DoPostInstall();
> end;

        Do you know how to make this conditional? I want to be able to  
either ask the user if they want to have their path modified, or  
create a batch file that will do that for them.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.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