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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- How to get the currently logged in Windows User?
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
Aug 12, 2011
04:48 AM
How to get the currently logged in Windows User?
I need to get the Windows user name of the user who is performing the installation.
I have tried this command which I found in a forum:
MsiGetProperty(ISMSI_HANDLE, "LogonUser", szLogonUser, nBuffer);
But MsiGetProperty seems to not be available for Installscript projects.
How can I do it?
Thanks,
thygesen
I have tried this command which I found in a forum:
MsiGetProperty(ISMSI_HANDLE, "LogonUser", szLogonUser, nBuffer);
But MsiGetProperty seems to not be available for Installscript projects.
How can I do it?
Thanks,
thygesen
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 12, 2011
04:49 AM
Sorry - It should have been posted in the Installscript 2009 forum