cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gvoozz
Level 3

Dynamic path to ini file

Good afternoon! I use (Basic MSI) with an installation file.ini In GetProfString (szFileName, szSectionName, szKeyName, svResult); the fixed way to a file szFileName is used. How to define dynamics a way with an adjusting file setup.exe
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Could you give an example of what you want to change dynamically? If you're trying to get the path to setup.exe, there are SourceDir and SETUPEXEDIR...
0 Kudos
gvoozz
Level 3

RobertDickau wrote:
Could you give an example of what you want to change dynamically? If you're trying to get the path to setup.exe, there are SourceDir and SETUPEXEDIR...

Yes, I trying to get path to setup.exe in GetProfString (szFileName, szSectionName, szKeyName, svResult);
Please give an example of the implementation of SETUPEXEDIR in the GetProfString
0 Kudos