Installer still wipes PATH environment variable
Blur Studio APIs, Libraries and Tools
Brought to you by:
hendew,
thebeeland
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: hen...@gmail.com
Can you verify the path problem? Is it removing, clearing, corrupting the System environment variable PATH? I'm not sure what the problem is and will have to look into it more.
What operating system?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: instinctvfx@gmail.com
Sorry, should have been more specific in the first post. This has been reported before (i mentioned it here for example https://code.google.com/p/blur-dev/issues/detail?id=1&q=path). I am not sure what causes this exactly. The Variable still exists, the value is empty. I cannot check right now. I will try to do so later to day to get you the exact installer causing this (I can tell be saving the contents of the variable and running the individual installers). This could be an issue with a different locale being set? Either that or some escape issue or alike.
This is Windows 7 x64, German and targeting Max2011
Related
Tickets:
#1View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: instinctvfx@gmail.com
Quickly checked back at this. So the culprit is this installer: qt_64.exe
It also hangs a bit when modifying the path. Attached is a screenshot. I don't know why it breaks, but should give a hint.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: hen...@gmail.com
I am unable to reproduce the problem on my VMWare systems. I did however find some suspect code when we were updating the system path.
I've uploaded a updated version of the qt 64bit installer. Can you install it and let me know if it still has the problem. I also added a message box if it detects a problem with modifying the path. Let me know if you get the message box.
Google wouldn't allow me to attach it, so i added a deprecated download. Test build of QT 64bit
http://code.google.com/p/blur-dev/downloads/detail?name=qt_install_4.8.3-0_win32-msvc2008_64.exe&can=4
Owner: hen...@gmail.com
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: instinctvfx@gmail.com
Hey again,
so i tried the new installer. I got the popup saying i should add the paths manually. The error message said that the current path length was too long to be modified by NSIS (0). 0 does not seem that long tho ;)
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: hen...@gmail.com
The reason for that message is because your path is or was longer than 1024 characters, or is empty. Its a bug in the library we are using in NSIS to update the path variable.
I just tested the qt installer with a path larger than 1024 and it cleared my path variable, so I can reproduce the error now. WooHoo!
The changes I made in the installer I had you use will prevent it from emptying the path variable. For the time being I will make the installer display that message telling the user they need to set the path variable themselves. But I will look into compiling NSIS with large string support (8192 characters max length instead of 1024). And failing that I can probably use a python script to edit the path variable.