Is it possible to append path variable with RegMigrate?

J

JojoS

I've tried to create a component for adding a path to the path
environment. Adding a 'simple' RegKey does not work because it gets
overwritten during FBA run. So instead I created a RegMigrate key, but
it looks like it can be used only to overwrite existing keys. I tried
the REG_EXPAND_SZ value:
%path%;%ProgramFiles%\util
but this results in a strange double entry:
Path=..org.path..;%ProgramFiles%\util;C:\Program Files\util
dropping the %path% results in a path with only the util path.
Is there a trick to append someting with the 'RegMigrate'? Or do I
have to use the 'execute regfile' or 'hack SessionManager entry'
methods?
 
D

Dan Rogers

Quite a while ago I also defined a PATH RegKey within a component to no
avail, presumably because it was overwritten as you describe. What did work
was to define this key at the project level in "Extra Registry Data" i.e.
not within a component.

DR
 
J

JojoS

Quite a while ago I also defined a PATH RegKey within a component to no
avail, presumably because it was overwritten as you describe.  What didwork
was to define this key at the project level in "Extra Registry Data" i.e.
not within a component.

thanks, this works also and I'm happy with this solution!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top