0

I have a python script where I am doing unattended installs of a bunch of apps. One of the apps itself installs specific python version 2.6-32bit, pywin32 and some other packages, then fixes the install back to 2.7. When I run this app's unattended install from python script, the python2.7 installer reports a bunch of files "c:\python27\xxx held in use" blah blah "scheduling reboot operation...Must reboot to complete operation". Makes sense but I don't want it to reboot, and I want to run it from within my python script.

The python msi installer is running with /norestart. Doesn't seem to help.

I have ability to edit the Apps installer source code (how it runs the python msi install)

1 Answer 1

0

Package your script with py2exe so that it runs with a private copy of Python, rather than with C:\python27.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.