skywind3000 / skywind3000/PyStand
WinRar 制作自解压程序在 win7 解压运行时找不到 Py_Main
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
32位 sp1 win7
WinRar设置解压后运行那个编译后的exe
制作的自解压程序在win10/win11 上可以正常使用,
在win7 上自解压后就报错找不到 Py_Main, 我找到自解压的路径,然后直接双击运行exe,也是可以正常运行的
然后,我把自解压后运行的程序改成了runtime中的python.exe,测试发现是可以运行的
看了PyStand中的代码,都已经找到了动态库,咋找不到Py_Main,但是手动解压或者自解压结束点击exe运行又是能正常运行的
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the WinRAR self-extraction flow on 32-bit Windows 7 SP1, comparing automatic execution with manual execution and with runtime/python.exe. Inspect the PyStand code that locates dynamic libraries and resolves Py_Main. Done means the self-extracted executable launches on Windows 7 without the missing Py_Main error while retaining the reported Windows 10/11 behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- devtools, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100