Hi and welcome to our forums,
First of all, let's clarify what
PseudoFormatted means.
The Advanced Installer
PseudoFormatted data type is a string which can
contain references to
Properties.
At build time the property references are replaced with the value of the respective properties. References embedded in a PseudoFormatted string must respect the following syntax:
Properties referenced by
PseudoFormatted data types are resolved
at build time while properties referenced by
Formatted data types are resolved
at runtime.
Also, you can press the
F1 keyboard's shortcut to open the context help and see if the related field is of
PseudoFormatted Type or it is of
Formatted Type.
What I assume you are asking for is the properties that give you the values mentioned above?
1) Source folder directory. Here I assume you are referring to the folder(s) from where Advanced Installer reads the files it will include inside your installer. This path is not stored in a property, Advanced Installer simply reads the source for each file from the project you configured, at build time.
You can control/switch these source locations by leveraging our
path variables support.
If you are looking for the default install path, than APPDIR is the property you're looking for. This property is set at install time by the MSI, based on information it reads from that machine.
2) Here is a more
detailed answer.
A short answer/solution is to save your MSI/EXE name in a new public property in Install Parameters page, then go to Builds page and refer those properties in the "MSI/EXE Name" fields, leveraging our pseudoformatted support. This way you can re-use those property anyway you want to. (Beware if you're using them at install time, as your users might rename the setup package, the more detailed answer linked above cand help in this case)
3) The ProductVersion property has this information, you just need to ignore/trim the rest of the values from it. There is no property that can offer you just those two values.
4) This info is not stored in the MSI database, but you can read it from the
file's properties, just as you can do with any file from your OS.
5) You have two options to access this MSI:
a) configure a post-build event that extracts it, using our
EXE command line switches
b) duplicate the build that creates your EXE and configure it to create an MSI as output
If you can give us details on how you want to use this info maybe we could provide a solution more suitable/simple.
Regards,
Bogdan