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
- :
- Re: User name and company dialog
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
‎May 29, 2010
10:13 AM
User name and company dialog
Where do the values that are entered on this dialog get stored and how are they accessed programatically?
Thanks
marc
Thanks
marc
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2010
10:54 AM
Hi Marc,
The data entered in the Customer Information dialog is stored in the Property table.
The data entered for the UserName field is stored in USERNAME property and the data entered for the Organization field is stored in the COMPANYNAME property. Since the Property Manager view is not available in InstallShield Limited Edition you are unable to view these properties.
Inorder to access these MSI properties you would have to write your own script in InstallShield Limited Edition.
These properties can be easily accessed in a Premier and Professional editions of InstallShield which are enhanced versions of InstallShield.
Thanks,
Lenwin
The data entered in the Customer Information dialog is stored in the Property table.
The data entered for the UserName field is stored in USERNAME property and the data entered for the Organization field is stored in the COMPANYNAME property. Since the Property Manager view is not available in InstallShield Limited Edition you are unable to view these properties.
Inorder to access these MSI properties you would have to write your own script in InstallShield Limited Edition.
These properties can be easily accessed in a Premier and Professional editions of InstallShield which are enhanced versions of InstallShield.
Thanks,
Lenwin
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2010
11:54 AM
Apologies, my question was from the post-install side. Now that these values have been entered during the installation process, how can my Visual Studio application access them?
Thanks
marc
Thanks
marc
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 04, 2010
03:22 AM
Hi Marc,
The data entered in the customer information dialog will be stored in the property table. In order to access these properties you would have to write your own custom action which copies these properties to a text file or to a registry key at Install time. Later you may access this data through your application. You may use the MSI API call MSIGetProperty to retrieve the properties.
Thanks,
Lenwin
The data entered in the customer information dialog will be stored in the property table. In order to access these properties you would have to write your own custom action which copies these properties to a text file or to a registry key at Install time. Later you may access this data through your application. You may use the MSI API call MSIGetProperty to retrieve the properties.
Thanks,
Lenwin
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 04, 2010
12:55 PM
MsiGetUserInfo might also be of use.