Hello,

Thanks Friedrich, your demo application helped me for in debugging the error.

I had set $SB_ALLUSERSFLAG$ to 0 that is why it was not adding entry in Add/Remove programs. I commented out the line for $SB_ALLUSERSFLAG$ to 0 and then it worked fine.

Can you please elaborate on $SB_ALLUSERSFLAG$ like when should we use it, usecases or scenarios??

Thanks!!