You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2014-10-02.05:58:20.772>created_at=<Date2014-07-29.21:44:12.250>labels= ['type-bug', 'expert-installation']
title='bdist_wininst does not run install script'updated_at=<Date2014-10-02.05:58:20.771>user='https://github.com/mbuesch'
The bdist_wininst installer does not run the specified --install-script.
Attached is an example project foo.zip.
setup.py is invoked as follows:
py setup.py bdist_wininst --install-script foo_postinstall.py
The installer shows that it successfully ran the install script, but it did not do this. The file C:\foo.txt is not created. If I add print()s to the install script, these messages are not shown either.
I tested this on Python 3.4, 64-bit (Win7) and 32-bit (XP)
Activity
mbuesch commentedon Jul 29, 2014
The bdist_wininst installer does not run the specified --install-script.
Attached is an example project foo.zip.
setup.py is invoked as follows:
py setup.py bdist_wininst --install-script foo_postinstall.py
The installer shows that it successfully ran the install script, but it did not do this. The file C:\foo.txt is not created. If I add print()s to the install script, these messages are not shown either.
I tested this on Python 3.4, 64-bit (Win7) and 32-bit (XP)
Cybjit commentedon Sep 27, 2014
Probably caused by issue bpo-21354
Cybjit commentedon Oct 1, 2014
3f7d5c235d82 runs script, 70ea05f762a1 does not.
0c8f41ca9c94 + t.patch from bpo-21354 does not run script.
Cybjit commentedon Oct 1, 2014
Turns out I had a build problem (bpo-11598).
0c8f41ca9c94 + t.patch does actually solve the problem.