Skip to content

How can I avoid the extra install folder layer? #1210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hiccup7 opened this issue Mar 31, 2023 · 3 comments
Closed

How can I avoid the extra install folder layer? #1210

hiccup7 opened this issue Mar 31, 2023 · 3 comments
Labels

Comments

@hiccup7
Copy link

hiccup7 commented Mar 31, 2023

When I installed Winpython64-3.10.9.0rc.exe, I chose the install folder as "C:\Program Files\WinPython-3.10.9.0rc".
When I installed Winpython64-3.10.9.0.exe, I chose the install folder as "C:\Program Files\WinPython-3.10.9.0".
In both cases, the 7-Zip installer created only one folder below the install folder named "WPy64-31090", and all other folders and executables are under "WPy64-31090".
When WinPython used to use NSIS, this extra "WPy64-31090" folder layer did not exist.
How can I avoid this extra "WPy64-31090" folder layer with the 7-Zip installer? Especially because I have no control about its name.

I have both WinPython versions installed at the same time, so chosing the install folder as "C:\Program Files" wouldn't work because both would install to "C:\Program Files\WPy64-31090".

@stonebig
Copy link
Contributor

it would require to replace the command

"%SEVENZIP_EXE%" -mx5 a "%MyBinaryOutputDir%\%OutputBaseFilename%.exe" %DISTDIR% -sfx7z.sfx

per

"%SEVENZIP_EXE%" -mx5 a "%MyBinaryOutputDir%\%OutputBaseFilename%.exe" %DISTDIR%\* -sfx7z.sfx

@stonebig
Copy link
Contributor

stonebig commented Apr 25, 2023

but then there is no default directory proposed per the "basic 7zip" interactive extractor, making it easy to mess up between two installs, and that was not looking pertinent for beginners.

@stonebig
Copy link
Contributor

stonebig commented May 4, 2025

Also, winpython being just a tree of directory, you can just move everything one level upward after the standard extraction... 2 "move" dos command ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants