>Requiring my users to identify the data paths when they first install the application seems to be too much for them to handle. I would like to programmatically set the data paths during installation so the install dialog is not called. After installation the user can move the data folders and identify the new paths but many do not have networks and will never change the data paths from:
>
>cpathlocal = “C:\ProgramData ISI\biz_local\”
>cpathshared = “C:\ProgramData ISI\biz_shared\”
>cpathcommon = “C:\ProgramData ISI\biz_common\”
>
>Setting class properties in appapplication and cmapplicationmanager has not worked. Does anyone have a suggestion on how this should be handled?
Hi Michael.
These paths are written in the registry, under HKEY_LOCAL_MACHINE\SOFTWARE\YourCompanyName\YourApplicationName\1.0\Paths
There you get Common, Local and Shared.
Maybe if you play with them you can accomplish what you are looking for.
Cheers.
Ivan