8

I want to register my controls at user level, kindly guide me how can I achive this with regsvr32.

If its not possible with regsvr32 please tell any alternative way to achive this.

Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
Siddiqui
  • 321

2 Answers2

6

Like this:

regsvr32 /n /i:user name.dll
Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
sune
  • 69
4

There is a tool named RegSvrEx out on Code Project which seems to allow you just what you want.

The syntax is:

RegSvrEx [/u] [/c] servername

With

/u - Unregister server
/c - Register or unregister (if /u is also specified) only for the current user
servername - Full path of the server .exe or .dll

See the comments on the article's page on how to change the code for using with Windows Vista and above.

Uwe Keim
  • 2,112