- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to Idendify target username and organization on customer information window?
- 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
How to Idendify target username and organization on customer information window?
Hello install shield community.
I am new to this software and I noticed when I run my installation build, it does not display any username or organization on Customer Information window.
how can the Installation identify the target username and organization and display it as default on Customer Information window window?
I am using 2018 version.
Thank you!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Windows Installer has the [LogonUser] property which you can use to return the value of the user performing the installation.
With regards to the organization - you would need to determine where this information is stored on a machine. If it was stored in a registry you could use the System Search functionality to store this value in a property name of your choice and then use that as needed in your installer.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
ok, where can i find on the software this logon property?
thank you.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
The LogonUser Property is not part of Installshield - it is a Windows Installer Property that you can use in your installshield propject.
https://docs.microsoft.com/en-us/windows/win32/msi/logonuser
For example, as a test - if you add [LogonUser] as a text value to the InstallWelcome dialog box in your installer, at install time it will show the users name that is performing the install.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
it works. but i recieved the value "user" instead the name of the user of my computer - in this case its my name.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
update: the tag "[%USERDOMAIN]" solved my problem, now - how can i put this value at the customer information => user inbox window as a default?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
update: i figured it out thank you!!!