Archive: New path in registry


New path in registry
Is there a way to add a new path in the registry?

I am installing multiple instances of an app and need to have the following path:

WriteRegStr HKLM "${REGKEY}\$InstanceName\Components" KeyName Value

Each instance of the app would have its instance directory and its own Components directory (in its instance directory) in the registry.

REGKEY contains the base application name and the instance information is appended to it when needed. The instance name is obtained from a custom page.

Thanks.


the command you use should just do that


Thanks. I just realised that once I restarted regedit. I was just about to reply to my message so no one needed to waste there time on it.

Thanks, Again.