32-bit application using the Setup Factory production installation program, define the target for % % SystemFolder, drivers in Windows 7 X64 system install but always into SysWOW64 \ drivers directory file, and ask how to set up a relative path to the file into system32 \ drivers directory? thank you
CodePudding user response:
To install 32-bit Windows 7 X64 system is the default directory SysWOW64 that install 64 is the default directory of the system32 that if install the 32-bit programs in the system32 directory, when run the program there will be a mistake, so it is best not to modify the program to install the default path,
CodePudding user response:
In a 64 - bit Windows: 64 exe and DLL in the directory c: \ Windows \ sys tem32 directory. 32 bit exe and DLL in the directory c: \ Windows \ sys wow64 directory. So pay attention to: In win64 system registered under 32-bit ocx DLL to 32 ocx or copy the DLL to the c: \ Windows \ syswow64 \ directory, And registered to c: \ Windows \ syswow64 \ regsvr32 XXXXXXX ocx or DLL
CodePudding user response:
My program of 32 bit, because is to install on Windows 7 64 - bit systems, have a driver to use 64 - bit, so must be installed in the system32 \ drivers directory program is running normally, if the installation to run the program under the SysWOW64 \ drivers directory is invalid, I am using the setup factory to do the installation package, no matter how drivers are installed in Windows 7 64 - bit systems not system32 \ drivers directory, every time is pointing SysWOW64 \ drivers directory,