问题
I would like to add add/programs like adobe acrobat reader and other application in windows XP using Python script. Kindly looking for some help.
Thanks in advance!
Everest.
回答1:
Are you installing or uninstalling?
Installing:
Easy way: subprocess.Popen
the installer.
Nearly-as-easy way: subprocess.Popen
the installer, with some Windows hackery so that the user doesn't have to click anything.
Uninstalling:
As above.
Hard way: work out the files changed on the computer and revert them manually.
来源:https://stackoverflow.com/questions/3599213/add-remove-programs-in-windows-xp-with-python-script