I have a property, where the default value must be the windows PC name. I saw something about using "ComputerName", but that doesn't seem to work.
Edit: I tried using [%COMPUTERNAME], as that supposedly should be the environment variable %COMPUTERNAME%. Alas, it is then set to the computername of the machine who built the installer rather than the name on the machine running the installer. Not sure in which world that makes sense. Doh....
The value field of properties does not support Formatted data type properties.
If you add the value like this, it won't work:
not correct.png (42.21KiB)Viewed 195 times
You need to add a "Set installer property" custom action to set the property to the value of another property. You can add the custom action after or before the Searches action group:
set property.png (81.75KiB)Viewed 195 times
Hope this helps! If you have any other questions, please don’t hesitate to contact us.