Hi all,
I have a really strange situation, but I believe that there is someone else
who has already experinced the same, and is willing to help me!
I made an application using VS 2005 in C#, which uses one setting from
*.exe.config file with 'user' scope. That is a server address, for example.
I wanted to setup that parameter during installation. So, I included one
additonal step during installation which collects a server address from the
user. I added additional user interface step, made a custom action, include
installer class in the project which saves a server address in the
user.config file, and everything else what is needed for it.
But, when I start the installation of the application, it appears that the
application uses the old, default
value for a server address! I tried to figure out what was happening, and
finally found out that user.config file is not stored in the proper place.
Insted of storing in:
"c:\documents and settings\user\local settings\application
settings\company_name\assembly_name\etc...",
it is stored in:
"c:\documents and settings\user\local settings\application
settings\microsoft_company\assembly_name\etc.."
Obviosly, installer uses it own company name (ie. Microsoft!) during
installation for storing
user.config file, instead of my_company name!
So, can anyone help me to solve this problem, please?
Thank you!
Nenad Dobrilovic