Ticket #2179 (closed bug: fixed)
Bug in setup-parrot-3.6.0.exe broke PATH
Reported by: | "mzoppet@…> | Owned by: | fperrad |
---|---|---|---|
Priority: | normal | Milestone: | 3.7 |
Component: | install | Version: | 3.6.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
Dear team, I downloaded for my first time a Parrot setup for Windows, and tested it on my Windows 7 environment. After the installation I had a lot of problems because I lost the capacity to run quite every command. I discovered that the installer changed the type of the PATH environment variable stored in the registry. Since NT 3.1 this key value must be of type "REG_EXPAND_SZ". I retrieved the source and the broken file should be "\tools\dev\mk_inno.pl" at line 89, where it is used: ValueType: string; instead of ValueType: expandsz; This setting is OS version dependent. If your target is to support only Windows versions officially supported by Microsoft (currently XP SP3 or newer) simply change the ValueType to "expandsz". Otherwise you must do some deep checks on the OS version in use at installation time. Best regards, Mario Zoppetti http://support.microsoft.com/kb/102985 http://www.jrsoftware.org/ishelp/index.php?topic=registrysection How do I modify the PATH environment variable when running an Inno Setup Installer? http://stackoverflow.com/questions/3304463/how-do-i-modify-the-path-environment-variable-when-running-an-inno-setup-installe
Attachments
Change History
Note: See
TracTickets for help on using
tickets.