Hello!
I have a little suggestion that would make a life with Advanced Installer a bit easier.
When user adds a parameter (file, property, folder, etc.) to a Command Line in Custom Action, automatic wrapping by double quotes should be done if parameter's value contain spaces.
For example:
Let final path to my_file.txt be C:\ProgramData\App with space\my_file.txt. Using [#my_file.txt] will result in passing 3 parameters instead of one, because "App with space" will be splitted in 2 places where spaces are. Instead, if there are any spaces -- wrapping should be used, resulting in "[#my_file.txt]"
After automatic wrrapping occured, small pop-up balloon or tip under Command Line edit box, or something else can be shown with text, for example:
"One or more parameters contain spaces, they were wrapped by double quotes to prevent splitting. In case you are rare masochist, please, remove quotes manually!"
Best regards,
Ivan The Coder
FOLLOW US
Get the latest news in Application Packaging