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

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
0 Kudos
(4) Replies
Lenwin
Level 10

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
0 Kudos
marc
Level 3

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
0 Kudos
Lenwin
Level 10

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
0 Kudos
RobertDickau
Flexera Alumni

MsiGetUserInfo might also be of use.
0 Kudos