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

How can I get Setup file name with MsiGetProperty() ?

Assume my setup file path is "C:\New folder\Package.exe"

I can get current path of my Setup file using
MsiGetProperty(ISMSI_HANDLE, "SETUPEXEDIR", setupexe, nBuffer);

However, this only returns "C:\New folder".
Is there any way I can get the setup file name "Package.exe" ?

Any help is appreciated.
Labels (1)
0 Kudos
(2) Replies
praveendanam
Level 5

hai,


please check productname property. will it help you

-praveen
0 Kudos
pchans
Level 3

Thanks for your suggestion, but the ProductName will return another string rather than "Package.exe" which I want.
0 Kudos