Details
-
Bug
-
Resolution: Done
-
P2: Important
-
2.0.1
-
Windows
-
eb574d77b0ab9a92b61e7738d089cd4ea4304e51
Description
When an empty string is passed as a parameter to an addOperation call then it will end up being null when processed and not see it as a valid argument. For example:
component.addOperation("GlobalConfig", "HKEY_CURRENT_USER\\Software\\Classes\\myclass", "URL Protocol", ""); component.addOperation("GlobalConfig", "HKEY_CURRENT_USER\\Software\\Classes\\myclass", "DefaultIcon", "BeeCore.exe,1", ""); component.addOperation("GlobalConfig", "HKEY_CURRENT_USER\\Software\\Classes\\myclass\\shell\\open\\command", "", "@TargetDir@/@Name@.exe \%1", "");
will cause this to say:
"Error during installation process (MyClient): Invalid arguments in GlobalConfig: 2 arguments given, 3 to 5 arguments expected."