Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Updating INI Files
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 10th March 07:47
jateen
External User
 
Posts: 1
Default Updating INI Files



I run an app on the terminal server that has an ini file.
This ini is copied to each users' profile. Once in a
while when I update the app, it puts a new ini in the main
winnt folder. Then when users log on, the old ini is
deleted and the new one copied to their profiles.

I don't want the old ini deleted but instead updated
only. I read there is a registry flag that can be created
under "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Windows
NT\CurrentVersion\Terminal Server\
Compatibility\Applications\app_name" that will add new
entries but not delete any existing entries.

How do I set up this key...Do I just name the key "FLAGS"
and enter value of 0x00000040.

What happens to entries that have been modified only?

I found info on registry flags in termsrv.chm under
Managing Terminal Services > Program installation >
Installing programs for use with Terminal Services in
application server mode > Program compatibility . Program
compatibility flags
  Reply With Quote


  sponsored links


2 10th March 07:47
matthew harris [mvp]
External User
 
Posts: 1
Default Updating INI Files



Thought I would also mention that setting the value to 40
(hex)...

"If the "Synchronize user .ini file to system version" bit
is set, it adds new entries from the system master .ini
file when the application is started, but it does not
delete any existing data in the user's .ini file. If this
bit is not set, it overwrites the user's .ini file if it
is older than the system master .ini file."

Quoted from here:
support.microsoft.com/default.aspx?scid=kb;EN-US;186499

-M


key "FLAGS"


Program
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666