This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How can I get Setup file name with MsiGetProperty() ?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 18, 2007
03:16 AM
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.
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 18, 2007
03:30 AM
hai,
please check productname property. will it help you
-praveen
please check productname property. will it help you
-praveen
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 18, 2007
09:45 PM
Thanks for your suggestion, but the ProductName will return another string rather than "Package.exe" which I want.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)