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;
procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssPostInstall then begin
DoPostInstall();
end;
not tested just editing something I use in inno setup to stop and start a
service pre and post instsll using the net command.
HTH
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of MB Software Solutions
Sent: 12 November 2007 16:12
To: [email protected]
Subject: Re: [NF] How do I make a program name generally executable?
Ed Leafe wrote:
> I am using InnoSetup, but I can't find out how to change the path. I
> found this page: (http://www.codeproject.com/tools/SetEnv.asp) that
> starts off by stating: "I recently used the excellent Inno Setup
> utility to create some install scripts for my own applications. I
> discovered that there was no way to set a system-wide environment
> variable except by using an external application. SetEnv supports
> User and System environment variables."
>
>
Ditto that answer. That's the one (and probably only) thing I really
liked about using InstallShield Express for VFP instead---it was so easy
to ask for a destination folder and then the app would automatically
adjust my INI and everything else to point to the location they had
selected.
--
Michael J. Babcock, MCP
MB Software Solutions, LLC
http://mbsoftwaresolutions.com
http://fabmate.com
"Work smarter, not harder, with MBSS custom software solutions!"
[excessive quoting removed by server]
_______________________________________________
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.