Home > Software engineering >  Doing system, please, I do want to install a Program in the Program Files (x86) in the directory, th
Doing system, please, I do want to install a Program in the Program Files (x86) in the directory, th

Time:09-24

Doing system, please, I do want to install a Program in the Program Files (x86) in the directory, the folder allowed to copy Files, but can't be registered Dll Files, how be to return a responsibility excuse me? What should I do? Thank you very much!

CodePudding user response:

Path contains Spaces, you put the file of "full path enclosed in double quotation marks to just go,

CodePudding user response:

Project.it is not clear, but registered in W7 need to run the C: \ Windows \ SysWOW64 of CMD exe program, and must be run as an administrator, to register success, only for your reference,

CodePudding user response:

C: \ Windows \ syswow64 \ regsvr32 "c: \ Program Files \ yourdir \ yourdll (x86). DLL." "

CodePudding user response:

reference zhao4zhong1 reply: 3/f
c: \ Windows \ syswow64 \ regsvr32 "c: \ Program Files \ (x86) yourdir \ yourdll DLL"


Is such, can pass the homemade setup Dll file copy to the specified directory (C: \ Program Files \ (x86) yourdir \), but can not be registered in the directory, this is can't use, please guide, thank you very much!

CodePudding user response:

As an administrator to run

CodePudding user response:

reference 4 floor mansohu response:
Quote: reference zhao4zhong1 reply: 3/f

C: \ Windows \ syswow64 \ regsvr32 "c: \ Program Files \ (x86) yourdir \ yourdll DLL"


Is such, can pass the homemade setup Dll file copy to the specified directory (C: \ Program Files \ (x86) yourdir \), but can not be registered in the directory, this is can't use, please guide, thank you very much!

I give you say "the path enclosed in double quotation marks," did you do?


Even if your file path is already in a variable: strFile
Want to know the value of this variable (full path to the file) contains Spaces,
You perform shell strfile without any problems (assuming strfile value here is an exe executable file, but not behind said),
But, the implementation of the shell "regsvr32" & amp; StrFile will failure,
Should be the shell "regsvr32" & amp; "" "" & amp; Strfile & amp; "" ""
Is the beginning and the end of the must "take strFile value" is attached on a double quotation marks, as the parameters of the regsvr32, such,

CodePudding user response:


In C: \ Windows \ SysWOW64 run CMD. Exe program, and must choose right click [as an administrator to run]!

This is CMD. Exe program as an administrator to run the interface, that is registered in the W7, project.it should also is such,
  • Related