install shield & python

Lori Ludick loril at mmrd.com
Thu Jul 22 11:01:15 EDT 1999


Has anyone had any experience with install shield calling python?

I have written a simple script for a co-worker to call from within
install shield.The script will return some interger value depending on
what is located in a particular file.
Basically the script looks like the following:




if __name__ == '__main__':

 retVal = versionCheck(dataPath)

 if (retVal == RUN_TEST1):
     retVal=checkVal(dataPath, retVal)

 sys.exit(retVal)



Do I need to anything special for her to read this return value other
that using sys.exit()?


Thanks,
Lori

--
--------------------------------------------------------------------
Lori Ludick                             loril at mdmgr.com
Programmer/Analyst
Medical Manager Research and Development
--------------------------------------------------------------------






More information about the Python-list mailing list