MSI properties on command line not converted to uppercase when running with Enhanced UI - Advanced Installer Community
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

MSI properties on command line not converted to uppercase when running with Enhanced UI

This is not impacting us, but I just wanted to document the issue.

Windows installer converts all command line properties to uppercase (public), as it is not possible to set private properties on the command line, as specified here:
https://msdn.microsoft.com/en-us/librar ... s.85).aspx

Only public properties can be modified using the command line. All property names on the command line are interpreted as uppercase but the value retains case sensitivity. If you enter MyProperty at a command line, the installer overrides the value of MYPROPERTY and not the value of MyProperty in the Property table. For more information, see About Properties.

This works as expected when running silently (/qn), but not with full UI, in which case the private property with lowercase characters is being set instead.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: MSI properties on command line not converted to uppercase when running with Enhanced UI

Hello,

Indeed, this seems to be an Enhanced User Interface limitation. We will investigate this issue and will try to add an improvement in a future version of Advanced Installer. We'll update this thread when a fix will be available.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: MSI properties on command line not converted to uppercase when running with Enhanced UI

Hello,

This was fixed in version 14.6 of Advanced Installer released on February 19th, 2018.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”