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\" 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

How do I modify the PATH environment variable when running an Inno Setup Installer?