Got a simple software I'm installing.  Only want to run the MyODBC 
setup.exe if the {App}\MyODBC\setup.exe doesn't exist yet.  (So 
basically, for future installs, I don't want to run this since it gets 
installed the first time.)

I don't see an option for this when I edit my Run line.  Here's the 
lines from my Inno script for the setup.exe (install and run):

[Files]
..other stuff..
Source: C:\dev\runtimes\mysql\Setup.exe; DestDir: {app}\MyODBC; Flags: 
ignoreversion


[Run]
Filename: {app}\MyODBC\Setup.exe; StatusMsg: Ready to install MySQL ODBC 
drivers...please choose the Typical installation.


In some way, I need a way to set a variable or condition that tells the 
Inno installer to only run the setup.exe when it just got installed this 
time, and not if it already existed.

Help!  tia,
--Mike


-- 
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16

_______________________________________________
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