Successful registration should be followed by deletion of the original library ( -.dll or -.ax ) file.ĭon't worry about copies made to the system folder ( C:\Windows\System32 or C:\Windows\SysWOW64 ) by previous passes-they will be overwritten every time you run the batch file. I chose COPY instead of MOVE to prevent the failure of any UAC-related follow-up attempt(s). Drag-and-drop your -.dll or -.ax file on top of the new shortcut instead of the batch file.Check the box labeled Run this program as administrator.If UAC doesn't give you the opportunity to run the batch file as an Administrator, you may need to manually elevate privileges (instructions are for Windows 7): Save your new text file as a batch ( -.bat) file then simply drag-and-drop your -.dll or -.ax file on top of the batch file. In the folder that contains the library ( -.dll or -.ax) file you wish to register, open a new text file and paste in ONE of the routines below : echo BEGIN DRAG-AND-DROP %n1 REGISTRAR FOR 64-BIT SYSTEMSĮcho BEGIN DRAG-AND-DROP %n1 REGISTRAR FOR 32-BIT SYSTEMS It also leaves it up to Windows to apply the proper version of Regsvr32. The following batch file relieves the user of the need to move files in/out of system folders. I just tested this extremely simple method and it works perfectly-but I use the built-in Administrator account, so I don't have to jump through hoops for elevated privileges.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |