Hi Andre,
> I took the registry setting command out of the script and it trashed a
> per-user setting. I crapped the project and rebuilt it with the exact
> same settings and it did not trash the settings. The only difference is
> the new project is a .sbp project and the old one is a version 7
> project. I will send you the old one.
See attached screenshot. You have added the "Create/update Registry Key and
Value" script command in Line 2. You can do this, sure. But you set the
real value for %_SB_INSTALLDIR% later in Line 30. So your write action in
Line 2 makes use of an empty %_SB_INSTALLDIR% value.
And another quick note: you are writing a "per-user" setting from an
elevated "per-machine" running application (the installer). Per-user
settings should never be done from an elevated running app!
Does this help?
Friedrich