cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vijeshmahi
Level 2

How to read end user's username after installation

I used Installshield to create setup for my windows application (vs 2012).

a) On installing time, it will prompt the user to provide their username and company name. After installation, where I can get(read) this information?.

b) It made changes in registry (HKEY_CURRENT_USER) of the destination computer. But the application is not running automatically once the user logged in again.

Please reply, it's urgent.

Regards,
Vijesh
Labels (1)
0 Kudos
(1) Reply
Kelter
Level 10

a) The fields into which the user enters his user information are associated with properties. Use those properties to access the information. You should create registry entries and use the properties in the value fields of your registry entries. This will put the information entered during installation into the registry where your application can access it.

b) If you want the program to run automatically on startup, then you should add a shortcut to the startup folder or add a command line under SOFTWARE\Microsoft\Windows\CurrentVersion\Run.
0 Kudos